X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/a207d5dd20b1f295f758e79ffa3dc06cdf7e488d..87cb4a166c47b57df48c2918e47801d77639fbb0:/src/src/functions.h diff --git a/src/src/functions.h b/src/src/functions.h index 85a7e81eb..04d941034 100644 --- a/src/src/functions.h +++ b/src/src/functions.h @@ -158,7 +158,7 @@ extern BOOL dns_is_secure(const dns_answer *); extern int dns_lookup(dns_answer *, const uschar *, int, const uschar **); extern void dns_pattern_init(void); extern int dns_special_lookup(dns_answer *, const uschar *, int, const uschar **); -extern dns_record *dns_next_rr(dns_answer *, dns_scan *, int); +extern dns_record *dns_next_rr(const dns_answer *, dns_scan *, int); extern uschar *dns_text_type(int); extern void dscp_list_to_stream(FILE *); extern BOOL dscp_lookup(const uschar *, int, int *, int *, int *); @@ -226,7 +226,7 @@ extern uschar *imap_utf7_encode(uschar *, const uschar *, extern void invert_address(uschar *, uschar *); extern int ip_addr(void *, int, const uschar *, int); extern int ip_bind(int, int, uschar *, int); -extern int ip_connect(int, int, const uschar *, int, int); +extern int ip_connect(int, int, const uschar *, int, int, BOOL); extern int ip_connectedsocket(int, const uschar *, int, int, int, host_item *, uschar **); extern int ip_get_address_family(int); @@ -245,6 +245,8 @@ extern int log_create(uschar *); extern int log_create_as_exim(uschar *); extern void log_close_all(void); +extern macro_item * macro_create(const uschar *, const uschar *, BOOL, BOOL); +extern void mainlog_close(void); #ifdef WITH_CONTENT_SCAN extern int malware(const uschar *, int); extern int malware_in_file(uschar *); @@ -315,7 +317,10 @@ extern void readconf_driver_init(uschar *, driver_instance **, driver_info *, int, void *, int, optionlist *, int); extern uschar *readconf_find_option(void *); extern void readconf_main(BOOL); -extern void readconf_print(uschar *, uschar *, BOOL no_labels); +extern void readconf_options_from_list(optionlist *, unsigned, const uschar *, uschar *); +extern void readconf_options_routers(void); +extern void readconf_options_transports(void); +extern void readconf_print(uschar *, uschar *, BOOL); extern uschar *readconf_printtime(int); extern uschar *readconf_readname(uschar *, int, uschar *); extern int readconf_readtime(const uschar *, int, BOOL); @@ -409,7 +414,8 @@ extern int spam(const uschar **); extern FILE *spool_mbox(unsigned long *, const uschar *); #endif extern BOOL spool_move_message(uschar *, uschar *, uschar *, uschar *); -extern uschar *spool_fname(const uschar *, uschar *, uschar *, uschar *); +extern uschar *spool_dname(const uschar *, uschar *); +extern uschar *spool_fname(const uschar *, const uschar *, const uschar *, const uschar *); extern uschar *spool_sname(const uschar *, uschar *); extern int spool_open_datafile(uschar *); extern int spool_open_temp(uschar *);