str_debug.h 779 B

123456789101112131415161718192021222324252627282930
  1. /* Licensed under LGPLv2.1+ - see LICENSE file for details */
  2. #ifndef CCAN_STR_DEBUG_H
  3. #define CCAN_STR_DEBUG_H
  4. /* #define CCAN_STR_DEBUG 1 */
  5. #ifdef CCAN_STR_DEBUG
  6. /* Because we mug the real ones with macros, we need our own wrappers. */
  7. int str_isalnum(int i);
  8. int str_isalpha(int i);
  9. int str_isascii(int i);
  10. #if HAVE_ISBLANK
  11. int str_isblank(int i);
  12. #endif
  13. int str_iscntrl(int i);
  14. int str_isdigit(int i);
  15. int str_isgraph(int i);
  16. int str_islower(int i);
  17. int str_isprint(int i);
  18. int str_ispunct(int i);
  19. int str_isspace(int i);
  20. int str_isupper(int i);
  21. int str_isxdigit(int i);
  22. char *str_strstr(const char *haystack, const char *needle);
  23. char *str_strchr(const char *s, int c);
  24. char *str_strrchr(const char *s, int c);
  25. #endif /* CCAN_STR_DEBUG */
  26. #endif /* CCAN_STR_DEBUG_H */