Back to index

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

#include <submit.h>

Collaboration diagram for SubmitFile:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SubmitFile ()
 ~SubmitFile ()
std::string QueueID ()
void SendingModule (const char *p)
void Sender (const char *, const char *, const char *, char)
int ChkRecipient (const char *)
void AddReceipient (const char *, const char *, const char *, int)
void ReceipientFilter (struct rw_transport *, const char *, const char *, unsigned)
void MessageStart ()
void Message (const char *)
int MessageEnd (unsigned, int, int)

Static Public Member Functions

static std::string get_msgid_for_filtering (unsigned, void *)
static void interrupt ()
static void trapsignals ()

Public Attributes

std::set< std::string > all_files

Private Member Functions

std::string name1stctlfile ()
std::string namefile (const char *, unsigned n)
void openctl ()
void closectl ()
int datafilter (const char *, unsigned, const char *)
void do_datafilter (unsigned &, int &, int, struct rw_transport *, std::string, std::string, unsigned, unsigned, unsigned, const char *, unsigned nrcpts)

Private Attributes

unsigned num_control_files_created
unsigned rcptcount
afxopipestream ctlfile
afxiopipestream datfile
ino_t ctlinodenum
ino_t ctlpid
time_t ctltimestamp
std::string basemsgid
struct rfc2045rwrfcptr
const char * frommta
unsigned long bytecount
unsigned long sizelimit
int diskfull
unsigned diskspacecheck
std::string sender
std::string envid
std::string dsnformat
std::string receipient
std::set< std::string > addrlist_map
DbObj addrlist_gdbm
std::list< RcptFilterInforcptfilterlist
std::fstream rcptfilterlist_file
const char * sending_module

Static Private Attributes

static SubmitFilecurrent_submit_file

Detailed Description

Definition at line 79 of file submit.h.


Constructor & Destructor Documentation


Member Function Documentation

void SubmitFile::AddReceipient ( const char *  ,
const char *  ,
const char *  ,
int   
)
int SubmitFile::ChkRecipient ( const char *  )
void SubmitFile::closectl ( ) [private]
int SubmitFile::datafilter ( const char *  ,
unsigned  ,
const char *   
) [private]
void SubmitFile::do_datafilter ( unsigned &  ,
int &  ,
int  ,
struct rw_transport ,
std::string  ,
std::string  ,
unsigned  ,
unsigned  ,
unsigned  ,
const char *  ,
unsigned  nrcpts 
) [private]
static std::string SubmitFile::get_msgid_for_filtering ( unsigned  ,
void *   
) [static]
static void SubmitFile::interrupt ( ) [static]
void SubmitFile::Message ( const char *  )
int SubmitFile::MessageEnd ( unsigned  ,
int  ,
int   
)
std::string SubmitFile::name1stctlfile ( ) [private]
std::string SubmitFile::namefile ( const char *  ,
unsigned  n 
) [private]
void SubmitFile::openctl ( ) [private]
std::string SubmitFile::QueueID ( )
void SubmitFile::ReceipientFilter ( struct rw_transport ,
const char *  ,
const char *  ,
unsigned   
)
void SubmitFile::Sender ( const char *  ,
const char *  ,
const char *  ,
char   
)
void SubmitFile::SendingModule ( const char *  p) [inline]

Definition at line 123 of file submit.h.

static void SubmitFile::trapsignals ( ) [static]

Member Data Documentation

DbObj SubmitFile::addrlist_gdbm [private]

Definition at line 109 of file submit.h.

std::set<std::string> SubmitFile::addrlist_map [private]

Definition at line 108 of file submit.h.

std::set<std::string> SubmitFile::all_files

Definition at line 90 of file submit.h.

std::string SubmitFile::basemsgid [private]

Definition at line 98 of file submit.h.

unsigned long SubmitFile::bytecount [private]

Definition at line 102 of file submit.h.

Definition at line 93 of file submit.h.

ino_t SubmitFile::ctlinodenum [private]

Definition at line 95 of file submit.h.

ino_t SubmitFile::ctlpid [private]

Definition at line 96 of file submit.h.

time_t SubmitFile::ctltimestamp [private]

Definition at line 97 of file submit.h.

Definition at line 82 of file submit.h.

Definition at line 94 of file submit.h.

int SubmitFile::diskfull [private]

Definition at line 104 of file submit.h.

unsigned SubmitFile::diskspacecheck [private]

Definition at line 105 of file submit.h.

std::string SubmitFile::dsnformat [private]

Definition at line 106 of file submit.h.

std::string SubmitFile::envid [private]

Definition at line 106 of file submit.h.

const char* SubmitFile::frommta [private]

Definition at line 101 of file submit.h.

Definition at line 84 of file submit.h.

unsigned SubmitFile::rcptcount [private]

Definition at line 92 of file submit.h.

Definition at line 111 of file submit.h.

std::fstream SubmitFile::rcptfilterlist_file [private]

Definition at line 112 of file submit.h.

std::string SubmitFile::receipient [private]

Definition at line 107 of file submit.h.

struct rfc2045* SubmitFile::rwrfcptr [private]

Definition at line 100 of file submit.h.

std::string SubmitFile::sender [private]

Definition at line 106 of file submit.h.

const char* SubmitFile::sending_module [private]

Definition at line 114 of file submit.h.

unsigned long SubmitFile::sizelimit [private]

Definition at line 103 of file submit.h.


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