Qsmtp  0.23svn
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)

int(* smtpcomm::func)(void)

the function that handles this command

strlen(name)

the bitmask of states from where this is allowed

the SMTP command verb

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: