Mercurial > hg > nnchat
comparison th_string.h @ 282:3dc86d8eb0a9
Added helper functions for easier string manipulation.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 09 Jun 2011 20:48:17 +0300 |
parents | 51319822ae92 |
children | eb74097b73f5 |
comparison
equal
deleted
inserted
replaced
281:8ae649a4b738 | 282:3dc86d8eb0a9 |
---|---|
48 void th_strip_ctrlchars(char *); | 48 void th_strip_ctrlchars(char *); |
49 | 49 |
50 char *th_strdup_vprintf(const char *, va_list); | 50 char *th_strdup_vprintf(const char *, va_list); |
51 char *th_strdup_printf(const char *, ...); | 51 char *th_strdup_printf(const char *, ...); |
52 | 52 |
53 void th_pstr_vprintf(char **, const char *, va_list); | |
54 void th_pstr_printf(char **, const char *, ...); | |
55 | |
53 char *th_strdup(const char *); | 56 char *th_strdup(const char *); |
54 int th_pstrcpy(char **, const char *); | 57 int th_pstrcpy(char **, const char *); |
55 int th_pstrcat(char **, const char *); | 58 int th_pstrcat(char **, const char *); |
56 | 59 |
57 const char *th_findnext(const char *, size_t *); | 60 const char *th_findnext(const char *, size_t *); |