summaryrefslogtreecommitdiffhomepage
path: root/dbutil.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2007-08-16 13:34:37 +0000
committerMatt Johnston <matt@ucc.asn.au>2007-08-16 13:34:37 +0000
commite41452afebbe0a8520ddcb2220d62f5a15845815 (patch)
tree07333ff62ba340aced17ff7bac19f661ae7cd590 /dbutil.h
parent58296a95f1c8d987a4b6834aa5998a2ba1d3f1c5 (diff)
parent1e26b86f1508b0a7586b2e9dfd2ac328b94e8c42 (diff)
propagate from branch 'au.asn.ucc.matt.dropbear' (head 8a7db1e2fdc5636abb338adb636babc32f465739)
to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head d82c25da2f7e4fb6da510d806c64344e80bb270d) --HG-- branch : agent-client extra : convert_revision : 78d02301ae8310efa2639f15da0ea62dea110e4b
Diffstat (limited to 'dbutil.h')
-rw-r--r--dbutil.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/dbutil.h b/dbutil.h
index 856978d..0b43eba 100644
--- a/dbutil.h
+++ b/dbutil.h
@@ -49,6 +49,9 @@ char * stripcontrol(const char * text);
unsigned char * getaddrstring(struct sockaddr_storage* addr, int withport);
int dropbear_listen(const char* address, const char* port,
int *socks, unsigned int sockcount, char **errstring, int *maxfd);
+#ifdef ENABLE_CONNECT_UNIX
+int connect_unix(const char* addr);
+#endif
int connect_remote(const char* remotehost, const char* remoteport,
int nonblocking, char ** errstring);
char* getaddrhostname(struct sockaddr_storage * addr);