26 for (; success && i !=
end(); ++i) {
41 string fpath = path +
"/cur/" + item->
fileName;
43 while (unlink(fpath.c_str()) != 0) {
44 if (errno != ENOENT) {
46 << strerror(errno) << endl;
55 if ((item = index.
find(
id)))
58 fpath = path +
"/cur/" + item->
fileName;
Mailbox::iterator end(void) const
void expungeMailbox(void)
bool scanFileNames(void) const
Mailbox::iterator begin(const SequenceSet &bset, unsigned int mod=INCLUDE_EXPUNGED|SQNR_MODE) const
MaildirIndexItem * find(const std::string &unique)
The MaildirMessage class provides an interface for IMAP messages.
const std::string & getUnique(void) const
unsigned char getStdFlags(void) const
static SequenceSet & all(void)
Declaration of the IODevice class.
Declaration of the IOFactory class.
Declaration of the Maildir class.
Declaration of the MaildirMessage class.