Back to index

courier  0.68.2
storeinfo.h
Go to the documentation of this file.
00001 #ifndef       storeinfo_h
00002 #define       storeinfo_h
00003 
00004 /*
00005 ** Copyright 1998 - 2010 Double Precision, Inc.
00006 ** See COPYING for distribution information.
00007 */
00008 
00009 #include      "imaptoken.h"
00010 #include      "numlib/numlib.h"
00011 
00012 
00013 struct storeinfo {
00014        int plusminus;
00015        int silent;
00016        struct imapflags flags;
00017        struct libmail_kwMessage *keywords;
00018        } ;
00019 
00020 int storeinfo_init(struct storeinfo *);
00021 int do_store(unsigned long, int, void *);
00022 
00023 int do_copy_message(unsigned long, int, void *);
00024 int do_copy_quota_calc(unsigned long, int, void *);
00025 
00026 struct uidplus_info;
00027 
00028 struct do_copy_info {
00029        const char *mailbox;
00030        const char *acls;
00031 
00032        struct uidplus_info *uidplus_list;
00033        struct uidplus_info **uidplus_tail;
00034 };
00035 
00036 /*
00037 ** maildir quota calculation for copying messages.
00038 */
00039 
00040 struct copyquotainfo {
00041        char *destmailbox;
00042        int64_t nbytes;
00043        int nfiles;
00044 
00045        const char *acls;
00046 
00047        } ;
00048 
00049 #endif