]> git.ozlabs.org Git - ccan/blob - ccan/str/str_debug.h
tdb2: use 64 bit file offsets on 32 bit systems if available.
[ccan] / ccan / str / str_debug.h
1 #ifndef CCAN_STR_DEBUG_H
2 #define CCAN_STR_DEBUG_H
3
4 /* #define CCAN_STR_DEBUG 1 */
5
6 #ifdef CCAN_STR_DEBUG
7 /* Because we mug the real ones with macros, we need our own wrappers. */
8 int str_isalnum(int i);
9 int str_isalpha(int i);
10 int str_isascii(int i);
11 #if HAVE_ISBLANK
12 int str_isblank(int i);
13 #endif
14 int str_iscntrl(int i);
15 int str_isdigit(int i);
16 int str_isgraph(int i);
17 int str_islower(int i);
18 int str_isprint(int i);
19 int str_ispunct(int i);
20 int str_isspace(int i);
21 int str_isupper(int i);
22 int str_isxdigit(int i);
23
24 char *str_strstr(const char *haystack, const char *needle);
25 char *str_strchr(const char *s, int c);
26 char *str_strrchr(const char *s, int c);
27 #endif /* CCAN_STR_DEBUG */
28
29 #endif /* CCAN_STR_DEBUG_H */