[binoculars-ng] refactor with hspec-attoparsec
[hkl.git] / hkl / ccan / str / str_debug.h
blob92c10c41cc6150a6746f8764cb871c1b693a5d59
1 /* CC0 (Public domain) - see LICENSE file for details */
2 #ifndef CCAN_STR_DEBUG_H
3 #define CCAN_STR_DEBUG_H
5 /* #define CCAN_STR_DEBUG 1 */
7 #ifdef CCAN_STR_DEBUG
8 /* Because we mug the real ones with macros, we need our own wrappers. */
9 int str_isalnum(int i);
10 int str_isalpha(int i);
11 int str_isascii(int i);
12 #if HAVE_ISBLANK
13 int str_isblank(int i);
14 #endif
15 int str_iscntrl(int i);
16 int str_isdigit(int i);
17 int str_isgraph(int i);
18 int str_islower(int i);
19 int str_isprint(int i);
20 int str_ispunct(int i);
21 int str_isspace(int i);
22 int str_isupper(int i);
23 int str_isxdigit(int i);
25 char *str_strstr(const char *haystack, const char *needle);
26 char *str_strchr(const char *s, int c);
27 char *str_strrchr(const char *s, int c);
28 #endif /* CCAN_STR_DEBUG */
30 #endif /* CCAN_STR_DEBUG_H */