summaryrefslogtreecommitdiffstats
path: root/imap/storeinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'imap/storeinfo.h')
-rw-r--r--imap/storeinfo.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/imap/storeinfo.h b/imap/storeinfo.h
new file mode 100644
index 0000000..dd1ba90
--- /dev/null
+++ b/imap/storeinfo.h
@@ -0,0 +1,49 @@
+#ifndef storeinfo_h
+#define storeinfo_h
+
+/*
+** Copyright 1998 - 2010 Double Precision, Inc.
+** See COPYING for distribution information.
+*/
+
+#include "imaptoken.h"
+#include "numlib/numlib.h"
+
+
+struct storeinfo {
+ int plusminus;
+ int silent;
+ struct imapflags flags;
+ struct libmail_kwMessage *keywords;
+ } ;
+
+int storeinfo_init(struct storeinfo *);
+int do_store(unsigned long, int, void *);
+
+int do_copy_message(unsigned long, int, void *);
+int do_copy_quota_calc(unsigned long, int, void *);
+
+struct uidplus_info;
+
+struct do_copy_info {
+ const char *mailbox;
+ const char *acls;
+
+ struct uidplus_info *uidplus_list;
+ struct uidplus_info **uidplus_tail;
+};
+
+/*
+** maildir quota calculation for copying messages.
+*/
+
+struct copyquotainfo {
+ char *destmailbox;
+ int64_t nbytes;
+ int nfiles;
+
+ const char *acls;
+
+ } ;
+
+#endif