diff th_string.h @ 78:2579250f2a84

Add some comments.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 28 Feb 2013 09:59:23 +0200
parents 34d58b0f2d52
children 909ae72c0763
line wrap: on
line diff
--- a/th_string.h	Sat Jan 05 13:42:09 2013 +0200
+++ b/th_string.h	Thu Feb 28 09:59:23 2013 +0200
@@ -57,6 +57,8 @@
 int     th_pstrcpy(char **, const char *);
 int     th_pstrcat(char **, const char *);
 
+/* Parsing, matching
+ */
 const char    *th_findnext(const char *, size_t *);
 const char    *th_findsep(const char *, size_t *, char);
 const char    *th_findseporspace(const char *, size_t *, char);
@@ -66,7 +68,8 @@
 
 int     th_get_hex_triplet(const char *);
 
-
+/* Growing string buffer
+ */
 BOOL    th_growbuf(char **buf, size_t *bufsize, size_t *len, size_t grow);
 BOOL    th_vputch(char **buf, size_t *bufsize, size_t *len, const char ch);
 BOOL    th_vputs(char **buf, size_t *bufsize, size_t *len, const char *str);