comparison dbutil.h @ 764:2202e854d187 ecc

add printmpint() for debugging
author Matt Johnston <matt@ucc.asn.au>
date Mon, 08 Apr 2013 23:12:35 +0800
parents df11cb6a3665
children 7dcb46da72d9
comparison
equal deleted inserted replaced
763:f744321ac048 764:2202e854d187
56 void fail_assert(const char* expr, const char* file, int line) ATTRIB_NORETURN; 56 void fail_assert(const char* expr, const char* file, int line) ATTRIB_NORETURN;
57 57
58 #ifdef DEBUG_TRACE 58 #ifdef DEBUG_TRACE
59 void dropbear_trace(const char* format, ...) ATTRIB_PRINTF(1,2); 59 void dropbear_trace(const char* format, ...) ATTRIB_PRINTF(1,2);
60 void printhex(const char * label, const unsigned char * buf, int len); 60 void printhex(const char * label, const unsigned char * buf, int len);
61 void printmpint(const char *label, mp_int *mp);
61 extern int debug_trace; 62 extern int debug_trace;
62 #endif 63 #endif
63 64
64 char * stripcontrol(const char * text); 65 char * stripcontrol(const char * text);
65 void get_socket_address(int fd, char **local_host, char **local_port, 66 void get_socket_address(int fd, char **local_host, char **local_port,