diff 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
line wrap: on
line diff
--- a/th_string.h	Thu Jun 09 19:31:13 2011 +0300
+++ b/th_string.h	Thu Jun 09 20:48:17 2011 +0300
@@ -50,6 +50,9 @@
 char    *th_strdup_vprintf(const char *, va_list);
 char    *th_strdup_printf(const char *, ...);
 
+void    th_pstr_vprintf(char **, const char *, va_list);
+void    th_pstr_printf(char **, const char *, ...);
+
 char    *th_strdup(const char *);
 int     th_pstrcpy(char **, const char *);
 int     th_pstrcat(char **, const char *);