comparison dbutil.h @ 52:c8fcd4841956

Forgot dbutil.h with the last commit (added buf_get_line)
author Matt Johnston <matt@ucc.asn.au>
date Sun, 08 Aug 2004 16:18:03 +0000
parents 0969767bca0d
children 20563735e8b5
comparison
equal deleted inserted replaced
51:095d689fed16 52:c8fcd4841956
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);