comparison th_string.h @ 35:e9a3fe655dd9

Make th_growbuf() public.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 23 Jun 2011 11:08:35 +0300
parents 10d2dc143e4b
children 598609fb49b0
comparison
equal deleted inserted replaced
34:8dac45860fc7 35:e9a3fe655dd9
65 BOOL th_strcasematch(const char *, const char *); 65 BOOL th_strcasematch(const char *, const char *);
66 66
67 int th_get_hex_triplet(const char *); 67 int th_get_hex_triplet(const char *);
68 68
69 69
70 BOOL th_growbuf(char **buf, size_t *bufsize, size_t *len, size_t grow);
70 BOOL th_vputch(char **buf, size_t *bufsize, size_t *len, const char ch); 71 BOOL th_vputch(char **buf, size_t *bufsize, size_t *len, const char ch);
71 BOOL th_vputs(char **buf, size_t *bufsize, size_t *len, const char *str); 72 BOOL th_vputs(char **buf, size_t *bufsize, size_t *len, const char *str);
72 73
73 #define TH_BUFGROW (32) 74 #define TH_BUFGROW (32)
74 75