7#ifndef operators_h_included
8#define operators_h_included
27 virtual const std::string
getName(
void)
const = 0;
38 const std::string
getName(
void)
const;
51 const std::string
getName(
void)
const;
57 std::string& challenge);
65 std::vector<std::string> capabilities;
70 const std::string
getName(
void)
const;
85 const std::string
getName(
void)
const;
98 const std::string
getName(
void)
const;
111 const std::string
getName(
void)
const;
124 const std::string
getName(
void)
const;
137 const std::string
getName(
void)
const;
150 const std::string
getName(
void)
const;
169 const std::string
getName(
void)
const;
182 const std::string
getName(
void)
const;
201 const std::string
getName(
void)
const;
218 std::map<std::string, unsigned int>
cache;
224 const std::string
getName(
void)
const;
237 const std::string
getName(
void)
const;
250 const std::string
getName(
void)
const;
263 const std::string
getName(
void)
const;
276 const std::string
getName(
void)
const;
289 const std::string
getName(
void)
const;
311 const std::string
getName(
void)
const;
335 std::vector<SearchNode> children;
347 static bool convertDate(
const std::string &date, time_t &t,
const std::string &delim =
"-");
353 unsigned seqnr,
unsigned int lastmessage,
354 unsigned int lastuid)
const;
378 const std::string
getName(
void)
const;
391 const std::string
getName(
void)
const;
401 const std::string
getName(
void)
const;
412 const std::string
getName(
void)
const;
423 std::map<int, Status> statuses;
429 const std::string
getName(
void)
const;
442 const std::string
getName(
void)
const;
455 const std::string
getName(
void)
const;
468 const std::string
getName(
void)
const;
virtual ParseResult parse(Request &) const
ProcessResult process(Depot &, Request &)
const std::string getName(void) const
ProcessResult Plain(std::string &username, std::string &password)
virtual ParseResult parse(Request &) const
ProcessResult Cram(std::string &username, std::string &password, std::string &challenge)
AuthenticateOperator(void)
ProcessResult process(Depot &, Request &)
ProcessResult Login(std::string &username, std::string &password)
~AuthenticateOperator(void)
const std::string getName(void) const
virtual ParseResult parse(Request &) const
~CapabilityOperator(void)
void addCapability(const std::string &cap)
ProcessResult process(Depot &, Request &)
const std::string getName(void) const
virtual ParseResult parse(Request &) const
ProcessResult process(Depot &, Request &)
const std::string getName(void) const
virtual ParseResult parse(Request &) const
ProcessResult process(Depot &, Request &)
const std::string getName(void) const
virtual ParseResult parse(Request &) const
ProcessResult process(Depot &, Request &)
const std::string getName(void) const
virtual ParseResult parse(Request &) const
ProcessResult process(Depot &, Request &)
const std::string getName(void) const
virtual ParseResult parse(Request &) const
ProcessResult process(Depot &, Request &)
const std::string getName(void) const
const std::string getName(void) const
virtual ParseResult parse(Request &) const
ProcessResult process(Depot &, Request &)
const std::string getName(void) const
virtual ParseResult parse(Request &) const
ParseResult expectFetchAtt(BincImapParserFetchAtt &f_in) const
ParseResult expectSectionText(BincImapParserFetchAtt &f_in) const
ParseResult expectHeaderList(BincImapParserFetchAtt &f_in) const
ParseResult expectOffset(BincImapParserFetchAtt &f_in) const
ProcessResult process(Depot &, Request &)
ParseResult expectSection(BincImapParserFetchAtt &f_in) const
const std::string getName(void) const
virtual ParseResult parse(Request &) const
ProcessResult process(Depot &, Request &)
const std::string getName(void) const
virtual ParseResult parse(Request &) const
ParseResult expectFetchAtt(BincImapParserFetchAtt &f_in) const
ProcessResult process(Depot &, Request &)
ParseResult expectSection(BincImapParserFetchAtt &f_in) const
ParseResult expectSectionText(BincImapParserFetchAtt &f_in) const
ParseResult expectOffset(BincImapParserFetchAtt &f_in) const
ParseResult expectHeaderList(BincImapParserFetchAtt &f_in) const
const std::string getName(void) const
virtual ParseResult parse(Request &) const
std::map< std::string, unsigned int > cache
ProcessResult process(Depot &, Request &)
const std::string getName(void) const
virtual ParseResult parse(Request &) const
ProcessResult process(Depot &, Request &)
const std::string getName(void) const
virtual ParseResult parse(Request &) const
ProcessResult process(Depot &, Request &)
const std::string getName(void) const
virtual ParseResult parse(Request &) const
ProcessResult process(Depot &, Request &)
const std::string getName(void) const
The Message class provides an interface for IMAP messages.
virtual ParseResult parse(Request &) const
virtual ProcessResult process(Depot &, Request &)
const std::string getName(void) const
virtual ParseResult parse(Request &) const
virtual ProcessResult process(Depot &, Request &)
const std::string getName(void) const
NoopPendingOperator(void)
~NoopPendingOperator(void)
ProcessResult process(Depot &, Request &)
virtual ParseResult parse(Request &) const =0
virtual const std::string getName(void) const =0
virtual ProcessResult process(Depot &, Request &)=0
virtual int getState(void) const =0
virtual ParseResult parse(Request &) const
ProcessResult process(Depot &, Request &)
const std::string getName(void) const
bool match(Mailbox *, Message *, unsigned seqnr, unsigned int lastmessage, unsigned int lastuid) const
int getWeight(void) const
static bool compareNodes(const SearchNode &a, const SearchNode &b)
static bool convertDate(const std::string &date, time_t &t, const std::string &delim="-")
static bool convertDateHeader(const std::string &d_in, time_t &t)
void init(const BincImapParserSearchKey &a)
virtual ParseResult parse(Request &) const
ProcessResult process(Depot &, Request &)
ParseResult expectSearchKey(BincImapParserSearchKey &s_in) const
const std::string getName(void) const
virtual ParseResult parse(Request &) const
ProcessResult process(Depot &, Request &)
const std::string getName(void) const
virtual ParseResult parse(Request &) const
int goStartTLS(void) const
ProcessResult process(Depot &, Request &)
const std::string getName(void) const
virtual ParseResult parse(Request &) const
ProcessResult process(Depot &, Request &)
const std::string getName(void) const
virtual ParseResult parse(Request &) const
ProcessResult process(Depot &, Request &)
const std::string getName(void) const
virtual ParseResult parse(Request &) const
ProcessResult process(Depot &, Request &)
const std::string getName(void) const
UnsubscribeOperator(void)
virtual ParseResult parse(Request &) const
ProcessResult process(Depot &, Request &)
~UnsubscribeOperator(void)
const std::string getName(void) const
Declaration of the common items for parsing IMAP input.
Declaration of the Message class.