From 0d074947b910663afcd24fd740bb26a6ae7fc56d Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sat, 12 Aug 2000 01:36:31 +0000 Subject: New convenience function for multi-transactional commands (opening 2000-08-11 Jeffrey Stedfast * 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 --- camel/providers/imap/camel-imap-store.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'camel/providers/imap/camel-imap-store.h') 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); -- cgit v1.2.3