aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-utils.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-09-02 05:58:28 +0800
committerChris Lahey <clahey@src.gnome.org>2000-09-02 05:58:28 +0800
commitced627ff86aaf8f88ce3cfef1b674d1836eb92b3 (patch)
treef74d639b2cf3d4dbcc35b33fd4d6a37b1c0cb5d5 /camel/providers/imap/camel-imap-utils.c
parentfcad5f23f2ac8c0bd238d23600f1ba50eae4e952 (diff)
downloadgsoc2013-evolution-ced627ff86aaf8f88ce3cfef1b674d1836eb92b3.tar
gsoc2013-evolution-ced627ff86aaf8f88ce3cfef1b674d1836eb92b3.tar.gz
gsoc2013-evolution-ced627ff86aaf8f88ce3cfef1b674d1836eb92b3.tar.bz2
gsoc2013-evolution-ced627ff86aaf8f88ce3cfef1b674d1836eb92b3.tar.lz
gsoc2013-evolution-ced627ff86aaf8f88ce3cfef1b674d1836eb92b3.tar.xz
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/providers/imap/camel-imap-utils.c')
-rw-r--r--camel/providers/imap/camel-imap-utils.c45
1 files changed, 0 insertions, 45 deletions
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)
{