Back to index

courier  0.68.2
maildir.h
Go to the documentation of this file.
00001 #ifndef       maildir_h
00002 #define       maildir_h
00003 
00004 
00006 //
00007 //  Message delivery to maildir directories.
00008 //
00010 
00011 #include      "buffer.h"
00012 #include      <sys/types.h>
00013 
00014 class  Mio;
00015 
00016 class Maildir {
00017        int    is_open;
00018        int    is_afs;
00019        Buffer maildirRoot;
00020 public:
00021        Buffer tmpname;
00022        Buffer newname;
00023 
00024        Maildir();
00025        virtual ~Maildir();
00026 
00027 static int    IsMaildir(const char *);    // Is this a Maildir directory?
00028        int    MaildirOpen(const char *, Mio &, off_t);
00029        void   MaildirSave();
00030        void   MaildirAbort();
00031 } ;
00032 #endif
00033