aboutsummaryrefslogtreecommitdiffstats
path: root/camel/string-utils.h
diff options
context:
space:
mode:
authorMichael Zucci <zucchi@src.gnome.org>2000-05-03 04:37:06 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-05-03 04:37:06 +0800
commit44575d972d94ce00b0e7c5d46bbb59761d5c840d (patch)
treed2624f4d14afb5aebc8b2ef0f323db27258a5080 /camel/string-utils.h
parentcf99b8eec231365fedce7d7930ded14334da3741 (diff)
downloadgsoc2013-evolution-44575d972d94ce00b0e7c5d46bbb59761d5c840d.tar.gz
gsoc2013-evolution-44575d972d94ce00b0e7c5d46bbb59761d5c840d.tar.zst
gsoc2013-evolution-44575d972d94ce00b0e7c5d46bbb59761d5c840d.zip
> * gmime-utils.[ch]: What the hell, remove it. This will break the
> nntp provider (but its broken anyway). The mime parser can be > used instead though. > Removed from all code including it (but none were using it). > > * gmime-utils.c (_store_header_pair_from_string): Removed bizarre > string_dichotomy version of this. This code is somewhat redundant > now, and is headed for death anyway. > > * gstring-util.c (g_string_dichotomy): Same with this one. > (g_string_clone): Removed a memory leak, g_string_new() allocates > its own memory. > (g_string_append_g_string): Allow to append an empty gstring onto > another gstring, dont abort()! > > * string-utils.c (string_dichotomy): Removed this incredibly weird > function. > > * camel-folder.c (_create): Replaced the rather obtuse use of > "string_dichotomy" function with a simple strrchr(). Still not > sure it'll work. > > * camel-folder-summary.c: cvs removed a long-removed file. svn path=/trunk/; revision=2753
Diffstat (limited to 'camel/string-utils.h')
-rw-r--r--camel/string-utils.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/camel/string-utils.h b/camel/string-utils.h
index e63c332897..665aafc01e 100644
--- a/camel/string-utils.h
+++ b/camel/string-utils.h
@@ -37,17 +37,6 @@ extern "C" {
#include <glib.h>
-
-
-typedef enum {
- STRING_DICHOTOMY_NONE = 0,
- STRING_DICHOTOMY_RIGHT_DIR = 1,
- STRING_DICHOTOMY_STRIP_TRAILING = 2,
- STRING_DICHOTOMY_STRIP_LEADING = 4
-
-} StringDichotomyOption;
-
-
typedef enum {
STRING_TRIM_NONE = 0,
STRING_TRIM_STRIP_TRAILING = 1,
@@ -58,9 +47,6 @@ typedef enum {
gboolean string_equal_for_glist (gconstpointer v, gconstpointer v2);
-gchar string_dichotomy (const gchar *string, gchar sep,
- gchar **prefix, gchar **suffix,
- StringDichotomyOption options);
void string_list_free (GList *string_list);
GList *string_split (const gchar *string, char sep,