Back to index

courier  0.68.2
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Static Private Member Functions | Static Private Attributes
msgq Class Reference

#include <cdmsgq.h>

Collaboration diagram for msgq:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 msgq ()
 ~msgq ()
void removeq ()
void removewq ()
void start_message ()

Static Public Member Functions

static void init (unsigned)
static void logmsgid (msgq *q)
static msgqfindq (ino_t)
static int tmpscan ()
static void queuescan ()
static void flushmsg (ino_t, const char *)
static void completed (drvinfo &, size_t)

Public Attributes

int cancelled
msgqnext
msgqprev
msgqnexthash
msgqprevhash
ino_t msgnum
std::string msgid
time_t nextdel
time_t nextsenddel
unsigned long nksize
std::vector< rcptinforcptinfo_list
unsigned rcptcount

Static Public Attributes

static std::vector< msgqqueue
static std::vector< msgq * > queuehashfirst
static std::vector< msgq * > queuehashlast
static unsigned queuedelivering
static unsigned queuewaiting
static unsigned inprogress
static msgqqueuehead
static msgqqueuetail
static msgqqueuefree

Private Member Functions

const char * needs_dsn (struct ctlfile *)
const char * needs_warndsn (struct ctlfile *)

Static Private Member Functions

static int queuescan2 (std::string)
static int queuescan3 (std::string, std::string, const char *)
static drvinfogetdelinfo (struct rfc822token *, const char *, std::string &, std::string &, std::string &)
static void startdelivery (drvinfo *, delinfo *)
static void done (msgq *, int)

Static Private Attributes

static drvinfobackup_relay_driver
static std::string backup_relay

Detailed Description

Definition at line 27 of file cdmsgq.h.


Constructor & Destructor Documentation


Member Function Documentation

static void msgq::completed ( drvinfo ,
size_t   
) [static]
static void msgq::done ( msgq ,
int   
) [static, private]
static msgq* msgq::findq ( ino_t  ) [static]
static void msgq::flushmsg ( ino_t  ,
const char *   
) [static]
static drvinfo* msgq::getdelinfo ( struct rfc822token ,
const char *  ,
std::string &  ,
std::string &  ,
std::string &   
) [static, private]
static void msgq::init ( unsigned  ) [static]
static void msgq::logmsgid ( msgq q) [static]
const char* msgq::needs_dsn ( struct ctlfile ) [private]
const char* msgq::needs_warndsn ( struct ctlfile ) [private]
static void msgq::queuescan ( ) [static]
static int msgq::queuescan2 ( std::string  ) [static, private]
static int msgq::queuescan3 ( std::string  ,
std::string  ,
const char *   
) [static, private]
void msgq::removeq ( )
void msgq::removewq ( )
static void msgq::startdelivery ( drvinfo ,
delinfo  
) [static, private]
static int msgq::tmpscan ( ) [static]

Member Data Documentation

std::string msgq::backup_relay [static, private]

Definition at line 71 of file cdmsgq.h.

drvinfo* msgq::backup_relay_driver [static, private]

Definition at line 70 of file cdmsgq.h.

Definition at line 29 of file cdmsgq.h.

unsigned msgq::inprogress [static]

Definition at line 51 of file cdmsgq.h.

std::string msgq::msgid

Definition at line 34 of file cdmsgq.h.

ino_t msgq::msgnum

Definition at line 32 of file cdmsgq.h.

Definition at line 30 of file cdmsgq.h.

time_t msgq::nextdel

Definition at line 36 of file cdmsgq.h.

Definition at line 31 of file cdmsgq.h.

Definition at line 38 of file cdmsgq.h.

unsigned long msgq::nksize

Definition at line 42 of file cdmsgq.h.

Definition at line 30 of file cdmsgq.h.

Definition at line 31 of file cdmsgq.h.

std::vector<msgq> msgq::queue [static]

Definition at line 48 of file cdmsgq.h.

unsigned msgq::queuedelivering [static]

Definition at line 51 of file cdmsgq.h.

msgq * msgq::queuefree [static]

Definition at line 55 of file cdmsgq.h.

std::vector<msgq *> msgq::queuehashfirst [static]

Definition at line 49 of file cdmsgq.h.

std::vector<msgq *> msgq::queuehashlast [static]

Definition at line 49 of file cdmsgq.h.

msgq* msgq::queuehead [static]

Definition at line 55 of file cdmsgq.h.

msgq * msgq::queuetail [static]

Definition at line 55 of file cdmsgq.h.

unsigned msgq::queuewaiting [static]

Definition at line 51 of file cdmsgq.h.

unsigned msgq::rcptcount

Definition at line 44 of file cdmsgq.h.

Definition at line 43 of file cdmsgq.h.


The documentation for this class was generated from the following file: