comparison th_string.h @ 327:fae4651d37bc

Make th_growbuf() public.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 13 Jun 2011 15:08:51 +0300
parents eb74097b73f5
children
comparison
equal deleted inserted replaced
326:2f7849e505f3 327:fae4651d37bc
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