summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5b9768b)
raw | patch | inline | side by side (parent: 5b9768b)
author | Kalle Wallin <kaw@linux.se> | |
Sat, 27 Mar 2004 20:54:30 +0000 (20:54 +0000) | ||
committer | Kalle Wallin <kaw@linux.se> | |
Sat, 27 Mar 2004 20:54:30 +0000 (20:54 +0000) |
conf.c | patch | blob | history | |
support.h | patch | blob | history |
index 1ea1fd971e44dac34c92f28d3f0916d339c623c0..12fc15a61609e619a3419820c09e4feae69cac76 100644 (file)
--- a/conf.c
+++ b/conf.c
#define CONF_COLOR_ALERT "alert_color"
-#define IS_WHITESPACE(c) (c==' ' || c=='\t' || c=='\r' || c=='\n')
-
-
static int
str2bool(char *str)
{
diff --git a/support.h b/support.h
index fc0e20559dc98442cf5c8056a28f9aa2bf1ce856..b82751dd18ea755abc66b9c2b894ca5864a6d117 100644 (file)
--- a/support.h
+++ b/support.h
char *strcasestr(const char *haystack, const char *needle);
#endif
+#define IS_WHITESPACE(c) (c==' ' || c=='\t' || c=='\r' || c=='\n')
+
+char *trim(char *str);
char *remove_trailing_slash(char *path);
char *lowerstr(char *str);
int charset_init(void);
int charset_close(void);
char *utf8_to_locale(char *str);
+char *locale_to_utf8(char *str);