summaryrefslogtreecommitdiff
path: root/src/src/functions.h
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2015-03-15 12:32:11 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2015-03-15 12:34:33 +0000
commit7eb6c37c5084760c1d1469bd4be652b479a8df55 (patch)
tree9d82e23bffa7a8970a8ba21c72a635414c69fa9b /src/src/functions.h
parent7c9f0469cb39055fff4096d1cb17ed72429c6b6c (diff)
SOCKS: as a client, talk SMTP via a socks5 proxy. Bug 1590
Diffstat (limited to 'src/src/functions.h')
-rw-r--r--src/src/functions.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/src/functions.h b/src/src/functions.h
index 49bb5a952..df40d6456 100644
--- a/src/src/functions.h
+++ b/src/src/functions.h
@@ -208,6 +208,7 @@ extern uschar *host_ntoa(int, const void *, uschar *, int *);
extern int host_scan_for_local_hosts(host_item *, host_item **, BOOL *);
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_connectedsocket(int, const uschar *, int, int,
@@ -358,11 +359,10 @@ extern int sieve_interpret(uschar *, int, uschar *, uschar *, uschar *,
extern void sigalrm_handler(int);
extern BOOL smtp_buffered(void);
extern void smtp_closedown(uschar *);
-extern int smtp_connect(host_item *, int, int, uschar *, int, BOOL, const uschar *
-#ifdef EXPERIMENTAL_EVENT
- , uschar *
-#endif
- );
+extern int smtp_connect(host_item *, int, int, uschar *, int,
+ transport_instance *);
+extern int smtp_sock_connect(host_item *, int, int, uschar *,
+ transport_instance * tb, int);
extern int smtp_feof(void);
extern int smtp_ferror(void);
extern uschar *smtp_get_connection_info(void);