comparison dbutil.h @ 11:f76c9389e9e0

Mostly done with the listener changeover
author Matt Johnston <matt@ucc.asn.au>
date Thu, 03 Jun 2004 17:22:48 +0000
parents fe6bca95afa7
children 469950e86d0f
comparison
equal deleted inserted replaced
9:7f77962de998 11:f76c9389e9e0
49 char* getaddrhostname(struct sockaddr * addr); 49 char* getaddrhostname(struct sockaddr * addr);
50 int buf_readfile(buffer* buf, const char* filename); 50 int buf_readfile(buffer* buf, const char* filename);
51 51
52 int m_close(int fd); 52 int m_close(int fd);
53 void * m_malloc(size_t size); 53 void * m_malloc(size_t size);
54 void * m_strdup(const char * str);
54 void * m_realloc(void* ptr, size_t size); 55 void * m_realloc(void* ptr, size_t size);
55 #define m_free(X) __m_free(X); (X) = NULL; 56 #define m_free(X) __m_free(X); (X) = NULL;
56 void __m_free(void* ptr); 57 void __m_free(void* ptr);
57 void m_burn(void* data, unsigned int len); 58 void m_burn(void* data, unsigned int len);
58 59