comparison dbutil.h @ 500:d588e3ea557a agent-client

propagate from branch 'au.asn.ucc.matt.dropbear' (head 4fb35083f0f46ea667e7043e7d4314aecd3df46c) to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 833d0adef6cdbf43ea75283524c665e70b0ee1ee)
author Matt Johnston <matt@ucc.asn.au>
date Tue, 23 Sep 2008 16:05:04 +0000
parents b956d6151600 c1e9c81d1d27
children 005530560594
comparison
equal deleted inserted replaced
499:f3ca5ebc319a 500:d588e3ea557a
50 int dropbear_listen(const char* address, const char* port, 50 int dropbear_listen(const char* address, const char* port,
51 int *socks, unsigned int sockcount, char **errstring, int *maxfd); 51 int *socks, unsigned int sockcount, char **errstring, int *maxfd);
52 int spawn_command(void(*exec_fn)(void *user_data), void *exec_data, 52 int spawn_command(void(*exec_fn)(void *user_data), void *exec_data,
53 int *writefd, int *readfd, int *errfd, pid_t *pid); 53 int *writefd, int *readfd, int *errfd, pid_t *pid);
54 void run_shell_command(const char* cmd, unsigned int maxfd, char* usershell); 54 void run_shell_command(const char* cmd, unsigned int maxfd, char* usershell);
55 #ifdef ENABLE_CONNECT_UNIX
56 int connect_unix(const char* addr);
57 #endif
55 int connect_remote(const char* remotehost, const char* remoteport, 58 int connect_remote(const char* remotehost, const char* remoteport,
56 int nonblocking, char ** errstring); 59 int nonblocking, char ** errstring);
57 char* getaddrhostname(struct sockaddr_storage * addr); 60 char* getaddrhostname(struct sockaddr_storage * addr);
58 int buf_readfile(buffer* buf, const char* filename); 61 int buf_readfile(buffer* buf, const char* filename);
59 int buf_getline(buffer * line, FILE * authfile); 62 int buf_getline(buffer * line, FILE * authfile);