Code

Added support for a configuration file ~/.ncmpcrc and color support.
[ncmpc.git] / support.h
2 #ifdef HAVE_LIBGEN_H
3 #include <libgen.h>
4 #endif
6 char *concat_path(char *p1, char *p2);
8 #ifndef HAVE_BASENAME
9 char *basename(char *path);
10 #endif
12 #ifndef HAVE_STRCASESTR
13 char *strcasestr(const char *haystack, const char *needle);
14 #endif
16 char *remove_trailing_slash(char *path);
17 char *lowerstr(char *str);
20 int charset_init(void);
21 int charset_close(void);
22 char *utf8_to_locale(char *str);