comparison th_string.h @ 167:7638fa9d191f

Add th_get_boolean() function.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 18 Feb 2015 21:13:44 +0200
parents 578d9298cc1e
children 1ee46a95aa8c
comparison
equal deleted inserted replaced
166:28fd04f43a95 167:7638fa9d191f
76 76
77 BOOL th_strmatch(const char *, const char *); 77 BOOL th_strmatch(const char *, const char *);
78 BOOL th_strcasematch(const char *, const char *); 78 BOOL th_strcasematch(const char *, const char *);
79 79
80 int th_get_hex_triplet(const char *); 80 int th_get_hex_triplet(const char *);
81 BOOL th_get_boolean(const char *str, BOOL *value);
81 82
82 void th_print_wrap(FILE *fh, const char *str, int spad, int rpad, int width); 83 void th_print_wrap(FILE *fh, const char *str, int spad, int rpad, int width);
83 84
84 85
85 #ifdef __cplusplus 86 #ifdef __cplusplus