summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6dad587)
raw | patch | inline | side by side (parent: 6dad587)
author | Kalle Wallin <kaw@linux.se> | |
Wed, 31 Mar 2004 21:45:19 +0000 (21:45 +0000) | ||
committer | Kalle Wallin <kaw@linux.se> | |
Wed, 31 Mar 2004 21:45:19 +0000 (21:45 +0000) |
support.h | patch | blob | history |
diff --git a/support.h b/support.h
index f94936ce5bb8fbf07dd34047996518d35281b660..1f3aca160f18bd0237b952b8eb5f68125b5394d0 100644 (file)
--- a/support.h
+++ b/support.h
+#ifndef SUPPORT_H
+#define SUPPORT_H
#ifdef HAVE_LIBGEN_H
#include <libgen.h>
char *basename(char *path);
#endif
-#ifndef HAVE_STRCASESTR
-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);
-
+char *strcasestr(const char *haystack, const char *needle);
int charset_init(void);
int charset_close(void);
char *utf8_to_locale(char *str);
char *locale_to_utf8(char *str);
-
+#endif