00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef CU_CSTR_H
00019 #define CU_CSTR_H
00020
00021 #include <cu/fwd.h>
00022
00023 CU_BEGIN_DECLARATIONS
00024
00025 char const *cu_struniq(char const *str);
00026 char const *cu_struniq_int(int);
00027
00028 cu_bool_t cu_cstr_eq(char const *, char const *);
00029 cu_hash_t cu_cstr_hash(char const *);
00030 cu_hash_t cu_cstr_hash_x(char const *, cu_hash_t);
00031
00032 extern cu_clop(cu_cstr_eq_clop, cu_bool_t, char *, char *);
00033 extern cu_clop(cu_cstr_hash_clop, cu_hash_t, char *);
00034
00035 char *cu_cstr_new_copy(char const *cstr);
00036 char *cu_cstr_toupper(char *cstr);
00037 char *cu_cstr_tolower(char *cstr);
00038
00039 char *cu_wcstombs(wchar_t const *wcs) CU_ATTR_DEPRECATED;
00040 wchar_t *cu_mbstowcs(char const *str) CU_ATTR_DEPRECATED;
00041
00042 CU_END_DECLARATIONS
00043
00044 #endif