comparison dbutil.h @ 58:5edf356295af

merge of 3b1edf7489e1de452e30aaaec37d647db44e4328 and 6cdb6b2c0e0e0a600eeb5975e499c9303fe2d4d4
author Matt Johnston <matt@ucc.asn.au>
date Mon, 09 Aug 2004 03:21:20 +0000
parents c8fcd4841956
children 20563735e8b5
comparison
equal deleted inserted replaced
48:aecba0e16e9c 58:5edf356295af
47 unsigned char * getaddrstring(struct sockaddr * addr); 47 unsigned char * getaddrstring(struct sockaddr * addr);
48 int connect_remote(const char* remotehost, const char* remoteport, 48 int connect_remote(const char* remotehost, const char* remoteport,
49 int nonblocking, char ** errstring); 49 int nonblocking, char ** errstring);
50 char* getaddrhostname(struct sockaddr * addr); 50 char* getaddrhostname(struct sockaddr * addr);
51 int buf_readfile(buffer* buf, const char* filename); 51 int buf_readfile(buffer* buf, const char* filename);
52 int buf_getline(buffer * line, FILE * authfile);
52 53
53 int m_close(int fd); 54 int m_close(int fd);
54 void * m_malloc(size_t size); 55 void * m_malloc(size_t size);
55 void * m_strdup(const char * str); 56 void * m_strdup(const char * str);
56 void * m_realloc(void* ptr, size_t size); 57 void * m_realloc(void* ptr, size_t size);