aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap4/camel-imap-specials.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-03-30 12:24:02 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-03-30 12:24:02 +0800
commit71c5ee30a81ea870329f1c2573cdf6f22cfc7d75 (patch)
tree9679156f3f2305cefac68c69e3ced736841b29a9 /camel/providers/imap4/camel-imap-specials.h
parentb922585a8f204dd1e73ec8d01d4e2d1d104a16d9 (diff)
downloadgsoc2013-evolution-71c5ee30a81ea870329f1c2573cdf6f22cfc7d75.tar
gsoc2013-evolution-71c5ee30a81ea870329f1c2573cdf6f22cfc7d75.tar.gz
gsoc2013-evolution-71c5ee30a81ea870329f1c2573cdf6f22cfc7d75.tar.bz2
gsoc2013-evolution-71c5ee30a81ea870329f1c2573cdf6f22cfc7d75.tar.lz
gsoc2013-evolution-71c5ee30a81ea870329f1c2573cdf6f22cfc7d75.tar.xz
gsoc2013-evolution-71c5ee30a81ea870329f1c2573cdf6f22cfc7d75.tar.zst
gsoc2013-evolution-71c5ee30a81ea870329f1c2573cdf6f22cfc7d75.zip
Implemented.
2004-03-29 Jeffrey Stedfast <fejj@ximian.com> * providers/imap4/camel-imap4-folder.c (camel_imap4_folder_new): Implemented. * providers/imap4/camel-imap4-engine.c (engine_parse_namespace): If the namespace begins with "INBOX", canonicalise the INBOX portion (ie, make it all caps). * providers/imap4/camel-imap4-store.c (imap4_noop): Implemented. svn path=/trunk/; revision=25237
Diffstat (limited to 'camel/providers/imap4/camel-imap-specials.h')
-rw-r--r--camel/providers/imap4/camel-imap-specials.h53
1 files changed, 0 insertions, 53 deletions
diff --git a/camel/providers/imap4/camel-imap-specials.h b/camel/providers/imap4/camel-imap-specials.h
deleted file mode 100644
index 6bae4d3ae3..0000000000
--- a/camel/providers/imap4/camel-imap-specials.h
+++ /dev/null
@@ -1,53 +0,0 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
-/* Camel
- * Copyright (C) 1999-2004 Jeffrey Stedfast
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA.
- */
-
-
-#ifndef __CAMEL_IMAP_SPECIALS_H__
-#define __CAMEL_IMAP_SPECIALS_H__
-
-#ifdef __cplusplus
-extern "C" {
-#pragma }
-#endif /* __cplusplus */
-
-enum {
- IS_ASPECIAL = (1 << 0),
- IS_CTRL = (1 << 1),
- IS_LWSP = (1 << 2),
- IS_QSPECIAL = (1 << 3),
- IS_SPACE = (1 << 4),
- IS_WILDCARD = (1 << 5),
-};
-
-extern unsigned char camel_imap_specials[256];
-
-#define is_atom(x) ((camel_imap_specials[(unsigned char)(x)] & (IS_ASPECIAL|IS_SPACE|IS_CTRL|IS_WILDCARD|IS_QSPECIAL)) == 0)
-#define is_ctrl(x) ((camel_imap_specials[(unsigned char)(x)] & IS_CTRL) != 0)
-#define is_lwsp(x) ((camel_imap_specials[(unsigned char)(x)] & IS_LWSP) != 0)
-#define is_type(x, t) ((camel_imap_specials[(unsigned char)(x)] & (t)) != 0)
-#define is_qsafe(x) ((camel_imap_specials[(unsigned char)(x)] & (IS_QSPECIAL|IS_CTRL)) == 0)
-#define is_wild(x) ((camel_imap_specials[(unsigned char)(x)] & IS_WILDCARD) != 0)
-
-void camel_imap_specials_init (void);
-
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
-
-#endif /* __CAMEL_IMAP_SPECIALS_H__ */