aboutsummaryrefslogtreecommitdiffstats
path: root/camel/string-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/string-utils.h')
-rw-r--r--camel/string-utils.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/camel/string-utils.h b/camel/string-utils.h
index f67d3434d4..fcc3a6c2d1 100644
--- a/camel/string-utils.h
+++ b/camel/string-utils.h
@@ -37,6 +37,8 @@ extern "C" {
#include <glib.h>
+
+
typedef enum {
STRING_DICHOTOMY_NONE = 0,
STRING_DICHOTOMY_RIGHT_DIR = 1,
@@ -45,12 +47,15 @@ typedef enum {
} StringDichotomyOption;
+
typedef enum {
STRING_TRIM_NONE = 0,
STRING_TRIM_STRIP_TRAILING = 1,
STRING_TRIM_STRIP_LEADING = 2
} StringTrimOption;
+
+
gboolean string_equal_for_glist (gconstpointer v, gconstpointer v2);
gchar string_dichotomy (const gchar *string, gchar sep,
@@ -63,6 +68,9 @@ GList *string_split (const gchar *string, char sep,
void string_trim (gchar *string, const gchar *chars,
StringTrimOption options);
+gchar *string_prefix (const gchar *s, const gchar *suffix, gboolean *suffix_found);
+
+
#ifdef __cplusplus
}
#endif /* __cplusplus */