Bincimap 2.0.16
Easy Imapping
Loading...
Searching...
No Matches
Data Structures | Functions | Variables
Binc Namespace Reference

Data Structures

class  Address
 
class  AppendOperator
 
class  ArgOpts
 
class  AuthenticateOperator
 
class  BincImapParserData
 
class  BincImapParserFetchAtt
 
class  BincImapParserSearchKey
 
class  BincStream
 
class  Broker
 
class  BrokerFactory
 
class  CapabilityOperator
 
class  CheckOperator
 
class  CloseOperator
 
class  CommandLineArgs
 
class  CopyOperator
 
class  CreateOperator
 
class  DeleteOperator
 
class  Depot
 
class  DepotFactory
 
class  ExamineOperator
 
class  ExpungeOperator
 
class  FetchOperator
 
class  Header
 
class  HeaderItem
 
class  IdleOperator
 
class  IdOperator
 
class  IMAPdirDepot
 
class  IMAPServer
 
class  IODevice
 The IODevice class provides a framework for reading and writing to device. More...
 
class  IOFactory
 
class  ListOperator
 
class  Lock
 
class  LoginOperator
 
class  LogoutOperator
 
class  LsubOperator
 
class  Mailbox
 
class  Maildir
 
class  MaildirIndex
 
class  MaildirIndexItem
 
class  MaildirMessage
 The MaildirMessage class provides an interface for IMAP messages. More...
 
class  MaildirMessageCache
 
class  MaildirPPDepot
 
class  Message
 The Message class provides an interface for IMAP messages. More...
 
class  MimeDocument
 
class  MimeInputSource
 
class  MimePart
 
class  MultilogDevice
 
class  NamespaceOperator
 
class  NoopOperator
 
class  NoopPendingOperator
 
class  Operator
 
class  PendingUpdates
 
class  RenameOperator
 
class  Request
 
class  SearchOperator
 
class  SelectOperator
 
class  SequenceSet
 
class  Session
 
class  StarttlsOperator
 
class  Status
 
class  StatusOperator
 
class  StdIODevice
 
class  StoreOperator
 
class  SubscribeOperator
 
class  SyslogDevice
 
class  Tools
 
class  UnsubscribeOperator
 

Functions

void showGreeting (void)
 
int authenticate (Depot &, const std::string &username, const std::string &password, const std::string &challenge)
 
std::string base64decode (const std::string &s_in)
 
std::string base64encode (const std::string &s_in)
 
std::string toString (int i_in)
 
std::string toString (unsigned int i_in)
 
std::string toString (unsigned long i_in)
 
std::string toString (const char *i_in)
 
int atoi (const std::string &s_in)
 
std::string toHex (const std::string &s)
 
std::string fromHex (const std::string &s)
 
std::string toImapString (const std::string &s_in)
 
void uppercase (std::string &input)
 
void lowercase (std::string &input)
 
void chomp (std::string &s_in, const std::string &chars=" \t\r\n")
 
void trim (std::string &s_in, const std::string &chars=" \t\r\n")
 
const std::string unfold (const std::string &a, bool removecomment=true)
 
void split (const std::string &s_in, const std::string &delim, std::vector< std::string > &dest, bool skipempty=true)
 
void splitAddr (const std::string &s_in, std::vector< std::string > &dest, bool skipempty=true)
 
std::string toCanonMailbox (const std::string &s_in)
 
std::string toRegex (const std::string &s_in, char delimiter)
 
bool pendingUpdates (Mailbox *, int type, bool rescan, bool showAll=false, bool forceScan=false, bool uidfetchflags=false)
 
int readChar (void)
 
void unReadChar (int c_in)
 
void unReadChar (const std::string &s_in)
 
Operator::ParseResult expectTag (std::string &s_in)
 
Operator::ParseResult expectTagChar (int &c_in)
 
Operator::ParseResult expectSPACE (void)
 
Operator::ParseResult expectFlag (std::vector< std::string > &v_in)
 
Operator::ParseResult expectListMailbox (std::string &s_in)
 
Operator::ParseResult expectListWildcards (int &c_in)
 
Operator::ParseResult expectDateTime (std::string &s_in)
 
Operator::ParseResult expectTime (std::string &s_in)
 
Operator::ParseResult expectZone (std::string &s_in)
 
Operator::ParseResult expectMailbox (std::string &s_in)
 
Operator::ParseResult expectAstring (std::string &s_in)
 
Operator::ParseResult expectAtom (std::string &s_in)
 
Operator::ParseResult expectAtomChar (int &i_in)
 
Operator::ParseResult expectString (std::string &s_in)
 
Operator::ParseResult expectDate (std::string &s_in)
 
Operator::ParseResult expectNumber (unsigned int &i_in)
 
Operator::ParseResult expectDigit (unsigned int &i_in)
 
Operator::ParseResult expectDigitNZ (unsigned int &i_in)
 
Operator::ParseResult expectLiteral (std::string &s_in)
 
Operator::ParseResult expectQuoted (std::string &s_in)
 
Operator::ParseResult expectQuotedChar (int &c_in)
 
Operator::ParseResult expectSet (SequenceSet &s_in)
 
Operator::ParseResult expectSequenceNum (unsigned int &i_in)
 
Operator::ParseResult expectNZNumber (unsigned int &i_in)
 
Operator::ParseResult expectCRLF (void)
 
Operator::ParseResult expectCR (void)
 
Operator::ParseResult expectLF (void)
 
Operator::ParseResult expectThisString (const std::string &s_in)
 
int regexMatch (const std::string &data_in, const std::string &p_in)
 

Variables

std::stack< int > inputBuffer
 
int charnr = 0
 

Function Documentation

◆ atoi()

int atoi ( const std::string &  s_in)
inline

Definition at line 55 of file convert.h.

Here is the caller graph for this function:

◆ authenticate()

int authenticate ( Depot ,
const std::string &  username,
const std::string &  password,
const std::string &  challenge 
)
Here is the caller graph for this function:

◆ base64decode()

std::string base64decode ( const std::string &  s_in)
Here is the caller graph for this function:

◆ base64encode()

std::string base64encode ( const std::string &  s_in)
Here is the caller graph for this function:

◆ chomp()

void chomp ( std::string &  s_in,
const std::string &  chars = " \t\r\n" 
)
inline

Definition at line 129 of file convert.h.

Here is the caller graph for this function:

◆ expectAstring()

Operator::ParseResult expectAstring ( std::string &  s_in)
Here is the caller graph for this function:

◆ expectAtom()

Operator::ParseResult expectAtom ( std::string &  s_in)
Here is the caller graph for this function:

◆ expectAtomChar()

Operator::ParseResult expectAtomChar ( int &  i_in)

Definition at line 680 of file recursivedescent.cc.

Here is the call graph for this function:

◆ expectCR()

Operator::ParseResult expectCR ( void  )

Definition at line 514 of file recursivedescent.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ expectCRLF()

Operator::ParseResult expectCRLF ( void  )

Definition at line 503 of file recursivedescent.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ expectDate()

Operator::ParseResult expectDate ( std::string &  s_in)
Here is the caller graph for this function:

◆ expectDateTime()

Operator::ParseResult expectDateTime ( std::string &  s_in)
Here is the caller graph for this function:

◆ expectDigit()

Operator::ParseResult expectDigit ( unsigned int &  i_in)

Definition at line 910 of file recursivedescent.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ expectDigitNZ()

Operator::ParseResult expectDigitNZ ( unsigned int &  i_in)

Definition at line 936 of file recursivedescent.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ expectFlag()

Operator::ParseResult expectFlag ( std::vector< std::string > &  v_in)
Here is the caller graph for this function:

◆ expectLF()

Operator::ParseResult expectLF ( void  )

Definition at line 536 of file recursivedescent.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ expectListMailbox()

Operator::ParseResult expectListMailbox ( std::string &  s_in)
Here is the caller graph for this function:

◆ expectListWildcards()

Operator::ParseResult expectListWildcards ( int &  c_in)

Definition at line 323 of file recursivedescent.cc.

Here is the call graph for this function:

◆ expectLiteral()

Operator::ParseResult expectLiteral ( std::string &  s_in)

◆ expectMailbox()

Operator::ParseResult expectMailbox ( std::string &  s_in)
Here is the caller graph for this function:

◆ expectNumber()

Operator::ParseResult expectNumber ( unsigned int &  i_in)

Definition at line 890 of file recursivedescent.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ expectNZNumber()

Operator::ParseResult expectNZNumber ( unsigned int &  i_in)

Definition at line 1039 of file recursivedescent.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ expectQuoted()

Operator::ParseResult expectQuoted ( std::string &  s_in)

◆ expectQuotedChar()

Operator::ParseResult expectQuotedChar ( int &  c_in)

Definition at line 774 of file recursivedescent.cc.

Here is the call graph for this function:

◆ expectSequenceNum()

Operator::ParseResult expectSequenceNum ( unsigned int &  i_in)

Definition at line 1013 of file recursivedescent.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ expectSet()

Operator::ParseResult expectSet ( SequenceSet s_in)

Definition at line 973 of file recursivedescent.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ expectSPACE()

Operator::ParseResult expectSPACE ( void  )

Definition at line 638 of file recursivedescent.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ expectString()

Operator::ParseResult expectString ( std::string &  s_in)

◆ expectTag()

Operator::ParseResult expectTag ( std::string &  s_in)
Here is the caller graph for this function:

◆ expectTagChar()

Operator::ParseResult expectTagChar ( int &  c_in)

Definition at line 558 of file recursivedescent.cc.

Here is the call graph for this function:

◆ expectThisString()

Operator::ParseResult expectThisString ( const std::string &  s_in)
Here is the caller graph for this function:

◆ expectTime()

Operator::ParseResult expectTime ( std::string &  s_in)

◆ expectZone()

Operator::ParseResult expectZone ( std::string &  s_in)

◆ fromHex()

std::string fromHex ( const std::string &  s)
inline

Definition at line 75 of file convert.h.

◆ lowercase()

void lowercase ( std::string &  input)
inline

Definition at line 122 of file convert.h.

Here is the caller graph for this function:

◆ pendingUpdates()

bool pendingUpdates ( Mailbox mailbox,
int  type,
bool  rescan,
bool  showAll = false,
bool  forceScan = false,
bool  uidfetchflags = false 
)

Definition at line 198 of file pendingupdates.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ readChar()

int readChar ( void  )
Here is the caller graph for this function:

◆ regexMatch()

int regexMatch ( const std::string &  data_in,
const std::string &  p_in 
)
Here is the caller graph for this function:

◆ showGreeting()

void showGreeting ( void  )

Definition at line 10 of file bincimapd.cc.

Here is the caller graph for this function:

◆ split()

void split ( const std::string &  s_in,
const std::string &  delim,
std::vector< std::string > &  dest,
bool  skipempty = true 
)
inline

Definition at line 177 of file convert.h.

Here is the caller graph for this function:

◆ splitAddr()

void splitAddr ( const std::string &  s_in,
std::vector< std::string > &  dest,
bool  skipempty = true 
)
inline

Definition at line 195 of file convert.h.

◆ toCanonMailbox()

std::string toCanonMailbox ( const std::string &  s_in)
inline

Definition at line 216 of file convert.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ toHex()

std::string toHex ( const std::string &  s)
inline

Definition at line 61 of file convert.h.

◆ toImapString()

std::string toImapString ( const std::string &  s_in)
inline

Definition at line 103 of file convert.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ toRegex()

std::string toRegex ( const std::string &  s_in,
char  delimiter 
)
inline

Definition at line 231 of file convert.h.

Here is the caller graph for this function:

◆ toString() [1/4]

std::string toString ( const char *  i_in)
inline

Definition at line 49 of file convert.h.

◆ toString() [2/4]

std::string toString ( int  i_in)
inline

Definition at line 25 of file convert.h.

Here is the caller graph for this function:

◆ toString() [3/4]

std::string toString ( unsigned int  i_in)
inline

Definition at line 33 of file convert.h.

◆ toString() [4/4]

std::string toString ( unsigned long  i_in)
inline

Definition at line 41 of file convert.h.

◆ trim()

void trim ( std::string &  s_in,
const std::string &  chars = " \t\r\n" 
)
inline

Definition at line 137 of file convert.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unfold()

const std::string unfold ( const std::string &  a,
bool  removecomment = true 
)
inline

Definition at line 145 of file convert.h.

Here is the call graph for this function:

◆ unReadChar() [1/2]

void unReadChar ( const std::string &  s_in)

◆ unReadChar() [2/2]

void unReadChar ( int  c_in)

◆ uppercase()

void uppercase ( std::string &  input)
inline

Definition at line 115 of file convert.h.

Here is the caller graph for this function:

Variable Documentation

◆ charnr

int charnr = 0
extern

Definition at line 24 of file recursivedescent.cc.

◆ inputBuffer

stack< int > inputBuffer
extern

Definition at line 23 of file recursivedescent.cc.