aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-vee-folder.h
blob: a2295ba7d89abcbc5348cecbfea715909ca8d355 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/*
 *  Copyright (C) 2000 Ximian Inc.
 *
 *  Authors: Michael Zucchi <notzed@ximian.com>
 *
 *  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 Place, Suite 330, Boston, MA 02111-1307
 *  USA
 */

#ifndef _CAMEL_VEE_FOLDER_H
#define _CAMEL_VEE_FOLDER_H

#include <glib.h>
#include <camel/camel-folder.h>

#define CAMEL_VEE_FOLDER(obj)         CAMEL_CHECK_CAST (obj, camel_vee_folder_get_type (), CamelVeeFolder)
#define CAMEL_VEE_FOLDER_CLASS(klass) CAMEL_CHECK_CLASS_CAST (klass, camel_vee_folder_get_type (), CamelVeeFolderClass)
#define CAMEL_IS_VEE_FOLDER(obj)      CAMEL_CHECK_TYPE (obj, camel_vee_folder_get_type ())

typedef struct _CamelVeeFolder      CamelVeeFolder;
typedef struct _CamelVeeFolderClass CamelVeeFolderClass;

/* our message info includes the parent folder */
typedef struct _CamelVeeMessageInfo {
    CamelMessageInfo info;
    CamelFolder *folder;
} CamelVeeMessageInfo;

struct _CamelVeeFolder {
    CamelFolder parent;

    struct _CamelVeeFolderPrivate *priv;

    char *expression;   /* query expression */
    char *vname;        /* local name */

    guint32 flags;      /* folder open flags */

    CamelFolderChangeInfo *changes;
    CamelFolderSearch *search;
};

struct _CamelVeeFolderClass {
    CamelFolderClass parent_class;
};

#define CAMEL_UNMATCHED_NAME "UNMATCHED"

guint         camel_vee_folder_get_type     (void);
CamelFolder  *camel_vee_folder_new      (CamelStore *parent_store, const char *name, guint32 flags);
void         camel_vee_folder_construct     (CamelVeeFolder *vf, CamelStore *parent_store, const char *name, guint32 flags);

void         camel_vee_folder_add_folder        (CamelVeeFolder *vf, CamelFolder *sub);
void         camel_vee_folder_remove_folder     (CamelVeeFolder *vf, CamelFolder *sub);
void         camel_vee_folder_set_folders   (CamelVeeFolder *vf, GList *folders);
void         camel_vee_folder_set_expression    (CamelVeeFolder *vf, const char *expr);

void         camel_vee_folder_hash_folder   (CamelFolder *folder, char buffer[8]);

#endif /* ! _CAMEL_VEE_FOLDER_H */
8be57520652785d488c7f3b0ed1e0d7'>- Delete files, forgotten in the previous commitstas2006-12-052-40/+0 * update to 2.1.5oliver2006-12-052-4/+4 * update to 0.2.24oliver2006-12-052-4/+4 * Mark as ignored with postgresql-client74. Needs 8.0+.fjoe2006-12-051-1/+1 * set USE_ZOPE=2.9miwi2006-12-052-2/+2 * Support OPTIONS framework and add a patch to fix configure script (patch subm...laszlof2006-12-052-1/+45 * - Update to 0.6sat2006-12-052-8/+16 * Fix X11BASE!=/usr/X11R6 case.brooks2006-12-058-24/+76 * Resurrect emulators/basiliskII and emulators/vmware-tools2 since there arevd2006-12-0514-2/+141 * - Fix build problemmiwi2006-12-051-0/+1 * realy fix the build after importing new audaciousoliver2006-12-053-2/+50 * Update to version 3.1.1laszlof2006-12-054-8/+8 * Chase comms/openobex update and bump PORTREVISIONlaszlof2006-12-055-45/+2 * Update to version 1.3laszlof2006-12-0512-263/+30 * Fix a would-be problem in an #ifdef-ed out section of the patch.mi2006-12-051-3/+3 * lmms --> ports/audio/lmmsjylefort2006-12-051-0/+1 * Add lmms.jylefort2006-12-0510-0/+1016 * Fix build on 5.x.laszlof2006-12-052-1/+36 * case audacious updateoliver2006-12-041-1/+1 * - Fix file mismatchmiwi2006-12-041-3/+3 * audacious-plugins -> multimedia/audacious-pluginsoliver2006-12-041-0/+1 * import audacious-plugins, the input, output, visualization and effect pluginsoliver2006-12-046-147/+42 * add missing patch files to unbreak build on FreeBSD 4oliver2006-12-043-0/+181 * update audacious to 1.2.2oliver2006-12-045-149/+119 * Update to 3.4.5.20060117.1.lev2006-12-044-44/+48 * Update to Runtime 3.8, API 3.3lev2006-12-043-10/+12 * Update to 2.16.91.20050827.1lev2006-12-043-7/+9 * - Update to 1.2amnag2006-12-047-58/+49 * Remove expired ports:vd2006-12-0478-2922/+10 * p5-Template-DBI --> ports/databases/p5-Template-DBItobez2006-12-041-0/+1 * Add Template::DBI, a Template Toolkit interface to the DBI module.tobez2006-12-045-0/+54 * Add support for Slovak dictionary.jmz2006-12-044-2/+22 * - An option to force NATT functionalitysat2006-12-041-3/+7 * Another round of improvements:mi2006-12-042-34/+280 * Bump PORTREVISION due to recent changes in dependencies.demon2006-12-041-0/+1 * - Fix options: OPTIONFILES should be specified before pre.mkrafan2006-12-041-2/+2 * Add missing files.demon2006-12-042-0/+9 * Bleh. Thought I included the manpage. Obviously not.ade2006-12-041-0/+2 * - Update to 0.22clsung2006-12-042-4/+4 * - Respect X11BASEclsung2006-12-041-1/+2 * Respect X11BASE.novel2006-12-042-2/+2 * - Update to 1.2.1rafan2006-12-043-11/+22 * - Respect X11BASErafan2006-12-041-1/+1 * - fix word order in gcin2tabrafan2006-12-044-0/+54 * - Respect X11BASErafan2006-12-041-2/+2 * - Mark broken on amd64 < 6. We got followingrafan2006-12-041-0/+4 * * Update to OOE680_m3. This is OOo 2.1 RC2.maho2006-12-046-66/+66 * * Now icons and menus are installed correctlymaho2006-12-046-81/+87 * - backout IGNOREdinoex2006-12-041-4/+0 * Update to 1.10ade2006-12-043-122/+128 * Update to 2.61ade2006-12-043-5/+7 * Unbreak by using socklen_t as needed.fenner2006-12-046-22/+58 * Unbreak by forcing gcc 3.2. Bump PORTREVISION since it might changefenner2006-12-041-5/+2 * py-hyperestraier --> ports/textproc/py-hyperestraierahze2006-12-041-0/+1 * Add py-hyperestraier 0.0.15, python bindings for HyperEstraier.ahze2006-12-045-0/+39 * make bsdstats's install a bit more friendlyscrappy2006-12-044-9/+9 * Update to 2.3ade2006-12-043-34/+72 * Update to 1.4.8ade2006-12-045-25/+25 * Whitespace fixade2006-12-041-1/+1 * autoconf26 -> ports/devel/autoconf26ade2006-12-041-0/+1 * Say hello to autoconf-2.6.1 after repository copy from autoconf259ade2006-12-0436-145/+106 * Update to idnits 1.120. Many minor changes; major update regardingfenner2006-12-042-4/+4 * rubygem-rubyforge --> ports/devel/rubygem-rubyforgepav2006-12-041-0/+1 * A simplistic script which automates a limited set of rubyforge operationspav2006-12-045-0/+203 * - Fix Upgrade problemsmiwi2006-12-042-14/+13 * - Update to 0.6pav2006-12-042-6/+5 * - Update to 1.3.5pav2006-12-043-70/+4 * Depreciate since the development ceased long ago; rather that fixing it'sitetcu2006-12-041-1/+3 * - Remove duplicate USE_XLIB entrymiwi2006-12-041-1/+0 * - Fix build on FreeBSD 4.Xpav2006-12-041-0/+66 * Allow secure digest auth to be requested for outgoing call legs by AGI.sobomax2006-12-0410-65/+115 * microdc2 --> ports/net-p2p/microdc2miwi2006-12-041-0/+1 * microdc is a command-line based Direct Connect client that uses themiwi2006-12-046-0/+63 * scale2x --> ports/graphics/scale2xmiwi2006-12-041-0/+1 * - Drop Maintainershipmiwi2006-12-041-1/+1 * - Respect X11BASEmiwi2006-12-041-1/+1 * Scale2x is real-time graphics effect able to increase the size of smallmiwi2006-12-044-0/+40 * - Unbreak fix build on 5.Xmiwi2006-12-044-8/+94 * - Update to 1.05miwi2006-12-042-4/+4 * 1) Update to version 2.20laszlof2006-12-0410-1331/+60 * Update to the latest version. Do a 'make distclean' if fetch fails due to baditetcu2006-12-042-10/+10 * - Update to 1.12miwi2006-12-042-4/+4 * - Update to 2.4miwi2006-12-042-4/+4 * - Respect X11BASEmiwi2006-12-041-0/+4 * - Update to 20061202miwi2006-12-043-4/+8 * - Update to 4.118miwi2006-12-043-5/+5 * - Update to 0.11miwi2006-12-042-4/+4 * - Fix segfaultsmiwi2006-12-041-1/+1 * - Update to 0.5.5miwi2006-12-043-6/+6 * Chase a silent update (mostly docs & MS/DOS related).thierry2006-12-042-3/+4 * - Allow user to change parameters of start syslog-ng via vars rc.d script [1]itetcu2006-12-042-2/+22 * - Update to 0.82miwi2006-12-042-4/+4 * - Update to 1.0.2miwi2006-12-042-4/+4 * - Update to 20061202miwi2006-12-044-40/+5 * - Unbreak fix build on 5.Xmiwi2006-12-048-12/+434 * - Update to 1.0.1miwi2006-12-042-4/+4 * Upgrade to 2.19.5.thierry2006-12-043-8/+7 * - Update to 2.4-20061201mnag2006-12-042-4/+4 * - Deprecatemiwi2006-12-041-0/+2 * - Update to 106270miwi2006-12-042-4/+6 * - Update to 4.2.29miwi2006-12-042-7/+7 * - Update to 1.0.6miwi2006-12-044-8/+13 * - Update to 0.09miwi2006-12-042-4/+4 * - Update to 2.16.1.mezz2006-12-043-11/+5 * sshblock --> ports/security/sshblockanders2006-12-041-0/+1 * Add sshblock, a tool to block abusive SSH login attempts.anders2006-12-046-0/+93 * p5-Sysadm-Install --> ports/sysutils/p5-Sysadm-Installmiwi2006-12-041-0/+1 * Sysadm::Install executes shell-like commands performing typical installationmiwi2006-12-045-0/+58 * frickin --> ports/net/frickinmiwi2006-12-041-0/+1 * Frickin PPTP Proxy is a way to NAT as many PPTP connections as you likemiwi2006-12-046-0/+100 * - Chase increase of devel/py-kid shlib version.miwi2006-12-042-4/+4 * dd support for NOPORTDOCSerwin2006-12-041-0/+10 * - Deprecateerwin2006-12-041-0/+3 * - Deprecateerwin2006-12-041-0/+3 * hiawatha --> ports/www/hiawathaitetcu2006-12-041-0/+1 * Hiawatha is an advanced and secure webserver for Unix. It has been written withitetcu2006-12-047-0/+103 * - Deprecateerwin2006-12-041-0/+3 * - Deprecateerwin2006-12-041-0/+3 * squirrel-sql --> ports/databases/squirrel-sqlmiwi2006-12-041-0/+1 * SQuirreL SQL Client is a graphical Java program that will allow you to view themiwi2006-12-047-0/+265 * - Deprecateerwin2006-12-041-0/+3 * - fix typodinoex2006-12-043-4/+4 * Update to 2.14.5.marcus2006-12-04