summaryrefslogtreecommitdiffhomepage
path: root/dbutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'dbutil.h')
-rw-r--r--dbutil.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/dbutil.h b/dbutil.h
index 3da6b2f..49b7466 100644
--- a/dbutil.h
+++ b/dbutil.h
@@ -45,6 +45,8 @@ void printhex(unsigned char* buf, int len);
#endif
char * stripcontrol(const char * text);
unsigned char * getaddrstring(struct sockaddr * addr);
+int connect_remote(const char* remotehost, const char* remoteport,
+ int nonblocking, char ** errstring);
char* getaddrhostname(struct sockaddr * addr);
int buf_readfile(buffer* buf, const char* filename);
@@ -56,4 +58,7 @@ void * m_realloc(void* ptr, size_t size);
void __m_free(void* ptr);
void m_burn(void* data, unsigned int len);
+/* Used to force mp_ints to be initialised */
+#define DEF_MP_INT(X) mp_int X = {0, 0, 0, NULL}
+
#endif /* _DBUTIL_H_ */