damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

str_debug.h (774B)


      1 /* CC0 (Public domain) - see LICENSE file for details */
      2 #ifndef CCAN_STR_DEBUG_H
      3 #define CCAN_STR_DEBUG_H
      4 
      5 /* #define CCAN_STR_DEBUG 1 */
      6 
      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);
     24 
     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 */
     29 
     30 #endif /* CCAN_STR_DEBUG_H */