diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2018-02-09 21:42:32 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2018-02-09 21:42:32 +0000 |
commit | 165acdd1ea3b7399b2279f94c881f8e366efaf71 (patch) | |
tree | bb2df66fabaa11df006210ecfd2c1807047ae8f0 /src/src/functions.h | |
parent | fc45ffe558f95017461aab9ea3830cedc00551b3 (diff) |
Macros: convert to tree for speed of lookup
Diffstat (limited to 'src/src/functions.h')
-rw-r--r-- | src/src/functions.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/src/functions.h b/src/src/functions.h index d2105a7b4..d8a78e7c2 100644 --- a/src/src/functions.h +++ b/src/src/functions.h @@ -256,6 +256,10 @@ extern int log_create_as_exim(uschar *); extern void log_close_all(void); extern macro_item * macro_create(const uschar *, const uschar *, BOOL); +extern macro_item * macro_search(const uschar *); +extern macro_item * macro_search_largest_prefix(const uschar *); +extern macro_item * macro_search_prefix(const uschar *); +extern void macro_print(uschar *, uschar *, void *); extern BOOL macro_read_assignment(uschar *); extern uschar *macros_expand(int, int *, BOOL *); extern void mainlog_close(void); |