diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-09-02 05:58:28 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-09-02 05:58:28 +0800 |
commit | ced627ff86aaf8f88ce3cfef1b674d1836eb92b3 (patch) | |
tree | f74d639b2cf3d4dbcc35b33fd4d6a37b1c0cb5d5 /camel | |
parent | fcad5f23f2ac8c0bd238d23600f1ba50eae4e952 (diff) | |
download | gsoc2013-evolution-ced627ff86aaf8f88ce3cfef1b674d1836eb92b3.tar.gz gsoc2013-evolution-ced627ff86aaf8f88ce3cfef1b674d1836eb92b3.tar.zst gsoc2013-evolution-ced627ff86aaf8f88ce3cfef1b674d1836eb92b3.zip |
Removed some unused functions.
2000-09-01 Christopher James Lahey <clahey@helixcode.com>
* providers/imap/camel-imap-utils.c: Removed some unused
functions.
svn path=/trunk/; revision=5169
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/providers/imap/camel-imap-utils.c | 45 |
2 files changed, 5 insertions, 45 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 9f7557a028..a02d92990a 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,8 @@ +2000-09-01 Christopher James Lahey <clahey@helixcode.com> + + * providers/imap/camel-imap-utils.c: Removed some unused + functions. + 2000-08-31 Chris Toshok <toshok@helixcode.com> * providers/nntp/camel-nntp-store.c (camel_nntp_store_class_init): diff --git a/camel/providers/imap/camel-imap-utils.c b/camel/providers/imap/camel-imap-utils.c index d25a2f5159..c32975188e 100644 --- a/camel/providers/imap/camel-imap-utils.c +++ b/camel/providers/imap/camel-imap-utils.c @@ -31,10 +31,6 @@ #define d(x) x -static char *get_quoted_token (char *string, int *len); -static char *get_token (char *string, int *len); - - char * imap_next_word (char *buf) { @@ -107,47 +103,6 @@ imap_parse_list_response (char *buf, char *namespace, char **flags, char **sep, return TRUE; } -static char * -get_quoted_token (char *string, int *len) -{ - char *ep; - - for (ep = string + 1; *ep; ep++) - if (*ep == '"' && *(ep - 1) != '\\') - break; - if (*ep) - ep++; - - *len = ep - string; - - return g_strndup (string, *len); -} - -static char * -get_token (char *string, int *len) -{ - char *p, *ep; - - for (p = string; *p && *p == ' '; p++); - - if (*p == '"') { - char *token; - int i; - - token = get_quoted_token (p, &i); - - *len = i + (p - string); - - return token; - } - - for (ep = p; *ep && *ep != ' ' && *ep != ')'; ep++); - - *len = ep - string; - - return g_strndup (p, *len); -} - static ESExpResult * func_and (struct _ESExp *f, int argc, struct _ESExpResult **argv, void *data) { |