Qsmtp  0.30dev
syntax.h
Go to the documentation of this file.
1 
4 #ifndef SYNTAX_H
5 #define SYNTAX_H
6 
7 extern int badcmds;
9 extern int hasinput(const int quitloop);
10 extern void check_max_bad_commands(void);
11 extern void sync_pipelining(void);
12 void __attribute__ ((noreturn)) wait_for_quit(void);
13 
14 #endif /* SYNTAX_H */
int badcmds
Definition: syntax.c:20
int hasinput(const int quitloop)
check if there is already more input from network available
Definition: syntax.c:121
void wait_for_quit(void)
run the SMTP command loop but only accept QUIT
Definition: syntax.c:54
void sync_pipelining(void)
check if there are already commands in the pipeline
Definition: syntax.c:85
void check_max_bad_commands(void)
check if the amount of bad commands was reached
Definition: syntax.c:29