comparison dbutil.h @ 225:ca7e76d981d9 agent-client

- progress towards client agent forwarding (incomplete and does not compile)
author Matt Johnston <matt@ucc.asn.au>
date Mon, 18 Jul 2005 14:32:52 +0000
parents 65585699d980
children 79bf1023cf11
comparison
equal deleted inserted replaced
224:1dbd2473482f 225:ca7e76d981d9
46 #endif 46 #endif
47 char * stripcontrol(const char * text); 47 char * stripcontrol(const char * text);
48 unsigned char * getaddrstring(struct sockaddr_storage* addr, int withport); 48 unsigned char * getaddrstring(struct sockaddr_storage* addr, int withport);
49 int dropbear_listen(const char* address, const char* port, 49 int dropbear_listen(const char* address, const char* port,
50 int *socks, unsigned int sockcount, char **errstring, int *maxfd); 50 int *socks, unsigned int sockcount, char **errstring, int *maxfd);
51 #ifdef ENABLE_CONNECT_UNIX
52 int connect_unix(const char* addr);
53 #endif
51 int connect_remote(const char* remotehost, const char* remoteport, 54 int connect_remote(const char* remotehost, const char* remoteport,
52 int nonblocking, char ** errstring); 55 int nonblocking, char ** errstring);
53 char* getaddrhostname(struct sockaddr_storage * addr); 56 char* getaddrhostname(struct sockaddr_storage * addr);
54 int buf_readfile(buffer* buf, const char* filename); 57 int buf_readfile(buffer* buf, const char* filename);
55 int buf_getline(buffer * line, FILE * authfile); 58 int buf_getline(buffer * line, FILE * authfile);