comparison th_string.h @ 443:1d2d214ac433

Rename functions th_pstrcat() and th_pstrcpy() to th_pstr_cat() and th_pstr_cpy() to be more consistent with th_pstr_*printf()
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 19 Oct 2017 17:17:09 +0300
parents 9b5a6fb05565
children 57a3472131fd
comparison
equal deleted inserted replaced
442:54081d784d75 443:1d2d214ac433
111 char *th_strdup_printf(const char *fmt, ...); 111 char *th_strdup_printf(const char *fmt, ...);
112 112
113 void th_pstr_vprintf(char **buf, const char *fmt, va_list ap); 113 void th_pstr_vprintf(char **buf, const char *fmt, va_list ap);
114 void th_pstr_printf(char **buf, const char *fmt, ...); 114 void th_pstr_printf(char **buf, const char *fmt, ...);
115 115
116 int th_pstrcpy(char **pdst, const char *src); 116 int th_pstr_cpy(char **pdst, const char *src);
117 int th_pstrcat(char **pdst, const char *src); 117 int th_pstr_cat(char **pdst, const char *src);
118 118
119 119
120 /* Parsing, matching 120 /* Parsing, matching
121 */ 121 */
122 const char *th_findnext(const char *, size_t *); 122 const char *th_findnext(const char *, size_t *);