summaryrefslogtreecommitdiffhomepage
path: root/dbutil.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2008-09-23 16:05:04 +0000
committerMatt Johnston <matt@ucc.asn.au>2008-09-23 16:05:04 +0000
commite674c73ee62c79608dc986ca4eda4d8299f2e324 (patch)
treec14f9f6bc8a5d5ffb182db4966b154943830fef4 /dbutil.h
parent90f8c1fd51ac6af033d455a775dc5a1455d7d7cb (diff)
parentbb84e33d99f5cbdb362940fc5eb7e4548df4cf23 (diff)
propagate from branch 'au.asn.ucc.matt.dropbear' (head 4fb35083f0f46ea667e7043e7d4314aecd3df46c)
to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 833d0adef6cdbf43ea75283524c665e70b0ee1ee) --HG-- branch : agent-client extra : convert_revision : 6bbab8364de17bd9ecb1dee5ffb796e48c0380d2
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 706f35e..fe08f18 100644
--- a/dbutil.h
+++ b/dbutil.h
@@ -52,6 +52,9 @@ int dropbear_listen(const char* address, const char* port,
int spawn_command(void(*exec_fn)(void *user_data), void *exec_data,
int *writefd, int *readfd, int *errfd, pid_t *pid);
void run_shell_command(const char* cmd, unsigned int maxfd, char* usershell);
+#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);