00001 00002 #ifndef CBF_STRING_H 00003 #define CBF_STRING_H 00004 00005 #ifdef __cplusplus 00006 00007 extern "C" { 00008 00009 #endif 00010 00011 #include <stdio.h> 00012 00013 00014 /* Case-insensitive strcmp */ 00015 00016 int cbf_cistrcmp (const char *s1, const char *s2); 00017 00018 00019 /* Case-insensitive strncmp */ 00020 00021 int cbf_cistrncmp (const char *s1, const char *s2, size_t n); 00022 00023 00024 #ifdef __cplusplus 00025 00026 } 00027 00028 #endif 00029 00030 #endif /* CBF_FILE_H */ 00031