diff options
author | Jeffrey Stedfast <fejj@helixcode.com> | 2000-08-12 09:36:31 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2000-08-12 09:36:31 +0800 |
commit | 0d074947b910663afcd24fd740bb26a6ae7fc56d (patch) | |
tree | 776037030d5197b10c230865d6d1c8b379f76d31 /camel/providers/imap/camel-imap-store.h | |
parent | 966a555f470d58fc41b3f0ad3ee8cbf0e024e5b9 (diff) | |
download | gsoc2013-evolution-0d074947b910663afcd24fd740bb26a6ae7fc56d.tar gsoc2013-evolution-0d074947b910663afcd24fd740bb26a6ae7fc56d.tar.gz gsoc2013-evolution-0d074947b910663afcd24fd740bb26a6ae7fc56d.tar.bz2 gsoc2013-evolution-0d074947b910663afcd24fd740bb26a6ae7fc56d.tar.lz gsoc2013-evolution-0d074947b910663afcd24fd740bb26a6ae7fc56d.tar.xz gsoc2013-evolution-0d074947b910663afcd24fd740bb26a6ae7fc56d.tar.zst gsoc2013-evolution-0d074947b910663afcd24fd740bb26a6ae7fc56d.zip |
New convenience function for multi-transactional commands (opening
2000-08-11 Jeffrey Stedfast <fejj@helixcode.com>
* providers/imap/camel-imap-store.c
(camel_imap_command_preliminary): New convenience function for
multi-transactional commands (opening request)
(camel_imap_command_continuation): New convenience function for
multi-transactional commands (followup data)
svn path=/trunk/; revision=4762
Diffstat (limited to 'camel/providers/imap/camel-imap-store.h')
-rw-r--r-- | camel/providers/imap/camel-imap-store.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-store.h b/camel/providers/imap/camel-imap-store.h index a860fb84bd..ce572ff45d 100644 --- a/camel/providers/imap/camel-imap-store.h +++ b/camel/providers/imap/camel-imap-store.h @@ -75,11 +75,21 @@ void camel_imap_store_close (CamelImapStore *store, gboolean expunge, CamelExcep /* support functions */ -enum { CAMEL_IMAP_OK = 0, CAMEL_IMAP_NO, CAMEL_IMAP_BAD, CAMEL_IMAP_FAIL }; +enum { + CAMEL_IMAP_OK = 0, + CAMEL_IMAP_NO, + CAMEL_IMAP_BAD, + CAMEL_IMAP_PLUS, + CAMEL_IMAP_FAIL +}; gint camel_imap_command (CamelImapStore *store, CamelFolder *folder, char **ret, char *fmt, ...); gint camel_imap_command_extended (CamelImapStore *store, CamelFolder *folder, char **ret, char *fmt, ...); +/* multi-transactional commands... */ +gint camel_imap_command_preliminary (CamelImapStore *store, char **ret, char **cmdid, char *fmt, ...); +gint camel_imap_command_continuation (CamelImapStore *store, char *cmdid, char **ret, CamelStream *cstream); + /* Standard Camel function */ CamelType camel_imap_store_get_type (void); |