comparison dbutil.h @ 94:c85c88500ea6

DEBUG_TRACE now only triggers with -v on the cmdline
author Matt Johnston <matt@ucc.asn.au>
date Wed, 18 Aug 2004 15:48:25 +0000
parents 20563735e8b5
children 2e9d1f29c50f
comparison
equal deleted inserted replaced
93:5dda5a4d475c 94:c85c88500ea6
40 void dropbear_close(const char* format, ...); 40 void dropbear_close(const char* format, ...);
41 void dropbear_log(int priority, const char* format, ...); 41 void dropbear_log(int priority, const char* format, ...);
42 #ifdef DEBUG_TRACE 42 #ifdef DEBUG_TRACE
43 void dropbear_trace(const char* format, ...); 43 void dropbear_trace(const char* format, ...);
44 void printhex(unsigned char* buf, int len); 44 void printhex(unsigned char* buf, int len);
45 extern int debug_trace;
45 #endif 46 #endif
46 char * stripcontrol(const char * text); 47 char * stripcontrol(const char * text);
47 unsigned char * getaddrstring(struct sockaddr_storage* addr, int withport); 48 unsigned char * getaddrstring(struct sockaddr_storage* addr, int withport);
48 int dropbear_listen(const char* address, const char* port, 49 int dropbear_listen(const char* address, const char* port,
49 int *socks, unsigned int sockcount, char **errstring, int *maxfd); 50 int *socks, unsigned int sockcount, char **errstring, int *maxfd);