comparison dbutil.h @ 109:2e9d1f29c50f

merge of 50be59810e462f9f44f55e421227d6aa0b31982b and 69b007796063cb5f042be7cca2d479e90db869c3
author Matt Johnston <matt@ucc.asn.au>
date Fri, 27 Aug 2004 14:39:01 +0000
parents c85c88500ea6
children 65585699d980
comparison
equal deleted inserted replaced
108:10f4d3319780 109:2e9d1f29c50f
59 void * m_strdup(const char * str); 59 void * m_strdup(const char * str);
60 void * m_realloc(void* ptr, size_t size); 60 void * m_realloc(void* ptr, size_t size);
61 #define m_free(X) __m_free(X); (X) = NULL; 61 #define m_free(X) __m_free(X); (X) = NULL;
62 void __m_free(void* ptr); 62 void __m_free(void* ptr);
63 void m_burn(void* data, unsigned int len); 63 void m_burn(void* data, unsigned int len);
64 void setnonblocking(int fd);
64 65
65 /* Used to force mp_ints to be initialised */ 66 /* Used to force mp_ints to be initialised */
66 #define DEF_MP_INT(X) mp_int X = {0, 0, 0, NULL} 67 #define DEF_MP_INT(X) mp_int X = {0, 0, 0, NULL}
67 68
68 #endif /* _DBUTIL_H_ */ 69 #endif /* _DBUTIL_H_ */