From: Jeremy Harris Date: Tue, 4 Feb 2020 11:27:12 +0000 (+0000) Subject: Docs: tweak local_scan chapter X-Git-Tag: exim-4_94_RC0~114 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/6b3e96244682c63893ff3884b06bff68104ce2c8 Docs: tweak local_scan chapter --- diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt index 43199cf7c..f7002b9fe 100644 --- a/doc/doc-docbook/spec.xfpt +++ b/doc/doc-docbook/spec.xfpt @@ -33907,13 +33907,14 @@ in &_Local/Makefile_& (see section &<>& below). .cindex &%dlfunc%& "API description" You must include this line near the start of your code: .code +#define LOCAL_SCAN #include "local_scan.h" .endd This header file defines a number of variables and other values, and the prototype for the function itself. Exim is coded to use unsigned char values almost exclusively, and one of the things this header defines is a shorthand for &`unsigned char`& called &`uschar`&. -It also contains the following macro definitions, to simplify casting character +It also makes available the following macro definitions, to simplify casting character strings and pointers to character strings: .code #define CS (char *)