Qsmtp
0.30dev
|
#include <qsmtpd.h>
Data Fields | |
char * | name |
int | len |
long | mask |
int(* | func )(void) |
long | state |
unsigned int | flags |
Describes a single SMTP command and it's transitions in the SMTP state machine.
unsigned int smtpcomm::flags |
bit 1: this command takes arguments bit 2: this command allows lines > 512 chars (and will check this itself) bit 3: a space is required between commands and arguments
int(* smtpcomm::func) (void) |
the function that handles this command
int smtpcomm::len |
strlen(name)
long smtpcomm::mask |
the bitmask of states from where this is allowed
char* smtpcomm::name |
the SMTP command verb
long smtpcomm::state |
the state to change to. If <0 don't change the state, if 0 use auto state