Qsmtp  0.30dev
Data Fields
smtpcomm Struct Reference

#include <qsmtpd.h>

Data Fields

char * name
 
int len
 
long mask
 
int(* func )(void)
 
long state
 
unsigned int flags
 

Detailed Description

Describes a single SMTP command and it's transitions in the SMTP state machine.

Field Documentation

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


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