Code

Fixed som spelling errors.
[ncmpc.git] / support.h
2 #ifdef HAVE_LIBGEN_H
3 #include <libgen.h>
4 #endif
6 #ifndef HAVE_BASENAME
7 char *basename(char *path);
8 #endif
10 #ifndef HAVE_STRCASESTR
11 char *strcasestr(const char *haystack, const char *needle);
12 #endif
14 #define IS_WHITESPACE(c) (c==' ' || c=='\t' || c=='\r' || c=='\n')
16 char *trim(char *str);
17 char *remove_trailing_slash(char *path);
18 char *lowerstr(char *str);
21 int charset_init(void);
22 int charset_close(void);
23 char *utf8_to_locale(char *str);
24 char *locale_to_utf8(char *str);