aboutsummaryrefslogtreecommitdiffstats
path: root/camel/gstring-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'camel/gstring-util.h')
-rw-r--r--camel/gstring-util.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/camel/gstring-util.h b/camel/gstring-util.h
index f8b7ee3fd1..8d88bf18af 100644
--- a/camel/gstring-util.h
+++ b/camel/gstring-util.h
@@ -36,15 +36,16 @@ extern "C" {
typedef enum {
NONE = 0,
- STRIP_TRAILING = 1,
- STRIP_LEADING = 2
+ RIGHT_DIR = 1,
+ STRIP_TRAILING = 2,
+ STRIP_LEADING = 4,
} DichotomyOption;
gboolean g_string_equals(GString *string1, GString *string2);
GString *g_string_clone(GString *string);
-gchar g_string_right_dichotomy( GString *string, gchar sep, GString **prefix, GString **suffix, DichotomyOption options);
+gchar g_string_dichotomy( GString *string, gchar sep, GString **prefix, GString **suffix, DichotomyOption options);
void g_string_append_g_string(GString *dest_string, GString *other_string);
gboolean g_string_equal_for_hash (gconstpointer v, gconstpointer v2);