/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- * * camel-disco-diary.h: class for logging disconnected operation * * Authors: Dan Winship * * Copyright 2001 Ximian, Inc. * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. * * 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_DISCO_DIARY_H #define CAMEL_DISCO_DIARY_H 1 #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus }*/ #include "camel-object.h" #include #include #define CAMEL_DISCO_DIARY_TYPE (camel_disco_diary_get_type ()) #define CAMEL_DISCO_DIARY(obj) (CAMEL_CHECK_CAST((obj), CAMEL_DISCO_DIARY_TYPE, CamelDiscoDiary)) #define CAMEL_DISCO_DIARY_CLASS(k) (CAMEL_CHECK_CLASS_CAST ((k), CAMEL_DISCO_DIARY_TYPE, CamelDiscoDiaryClass)) #define CAMEL_IS_DISCO_DIARY(o) (CAMEL_CHECK_TYPE((o), CAMEL_DISCO_DIARY_TYPE)) typedef enum { CAMEL_DISCO_DIARY_END = 0, CAMEL_DISCO_DIARY_FOLDER_EXPUNGE, CAMEL_DISCO_DIARY_FOLDER_APPEND, CAMEL_DISCO_DIARY_FOLDER_TRANSFER, } CamelDiscoDiaryAction; typedef enum { CAMEL_DISCO_DIARY_ARG_NONE = 0, CAMEL_DISCO_DIARY_ARG_FOLDER, CAMEL_DISCO_DIARY_ARG_UID, CAMEL_DISCO_DIARY_ARG_UID_LIST } CamelDiscoDiaryArgType; struct _CamelDiscoDiary { CamelObject parent_object; CamelDiscoStore *store; FILE *file; GHashTable *folders, *uidmap; }; typedef struct { CamelObjectClass parent_class; } CamelDiscoDiaryClass; /* public methods */ CamelDiscoDiary *camel_disco_diary_new (CamelDiscoStore *store, const char *filename, CamelException *ex); gboolean camel_disco_diary_empty (CamelDiscoDiary *diary); void camel_disco_diary_log (CamelDiscoDiary *diary, CamelDiscoDiaryAction action, ...); void camel_disco_diary_replay (CamelDiscoDiary *diary, CamelException *ex); /* Temporary->Permanent UID map stuff */ void camel_disco_diary_uidmap_add (CamelDiscoDiary *diary, const char *old_uid, const char *new_uid); const char *camel_disco_diary_uidmap_lookup (CamelDiscoDiary *diary, const char *uid); /* Standard Camel function */ CamelType camel_disco_diary_get_type (void); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* CAMEL_DISCO_DIARY_H */ option value='dependabot/npm_and_yarn/devel/electron4/files/serve-10.1.2'>dependabot/npm_and_yarn/devel/electron4/files/serve-10.1.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.mat2016-04-011-1/+1
* MASTER_SITES cleanup.mat2015-05-141-2/+1
* cleanup plistbapt2014-12-211-1/+0
* Modernize LIB_DEPENDSbapt2014-07-151-1/+1
* Add stage support to news, and improve correctness.adamw2014-03-302-11/+10
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-5/+2
* - Get Rid MD5 supportmiwi2011-03-201-1/+0
* Reset vs@FreeBSD.org at his request due to lack of time.linimon2010-01-031-1/+1
* Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1
* - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-20ns'>-13/+15
* Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1
* - Update to 1.5.18miwi2008-05-229-84/+59
* If WITHOUT_MUTT_IDN is set, ignore any libidn.so that may be found.obrien2008-05-041-1/+1
* - Allow the build WITH_BDB_VER=46miwi2008-02-131-0/+11
* - Update to 1.5.17miwi2007-12-136-70/+80
* Remove support for OSVERSION < 5edwin2007-10-041-1/+1
* Switch autoconf dependencies from 2.53 or 2.59 to 2.61.linimon2007-09-301-2/+2
* Also obey a global WITH_SLANGobrien2007-09-261-1/+1
* - Use ncurses as default for recent 6.x and 7.x OSVERSIONs tomiwi2007-08-061-4/+21
* - Fix errors in compressed folders and NNTP support which possibly caused SIG...miwi2007-07-062-13/+15
* - Use the _BDB-functions, enabling bdb versions greater/equal 4.2miwi2007-07-042-21/+3
* - Upgrade to 1.5.16shaun2007-06-294-174/+38
* - Fix extract nntp patchmiwi2007-04-141-1/+1
* - Update the NNTP patchmiwi2007-04-132-2/+14
* - Update to 1.5.15miwi2007-04-127-64/+47
* - Fix MUTT_LITE and NOPORTDOCS knobs.miwi2007-03-074-37/+16
* - Update greeting patchrafan2007-03-022-24/+19
* - Update to 1.5.14miwi2007-03-015-42/+43
* - Add WITH_MUTT_GREETING_PATCH knob.miwi2007-01-102-0/+154
* - Fix GSSAPI for FreeBSD 4.xmiwi2006-11-061-2/+3
* - Add Kerberos (GSSAPI) support to mutt and mutt-devel.shaun2006-10-031-0/+13
* Update gpgme to 1.1.2, chase dependencies.lofi2006-09-141-1/+1
* - Update to 1.5.13garga2006-09-018-183/+101
* Update SIDEBAR_PATCHgarga2006-07-232-4/+6
* Update to 1.5.12erwin2006-07-1812-502/+83
* Fix the WITH_MUTT_CYRUS_SASL2 knob.novel2006-07-031-1/+1
* Fix IMAP buffer overflow:shaun2006-06-30