summaryrefslogtreecommitdiffhomepage
path: root/dbutil.h
diff options
context:
space:
mode:
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);