#include <sys/types.h>Go to the source code of this file.
Data Structures | |
| struct | papd_comment |
| struct | comstate |
Macros | |
| #define | CH_DONE 0 |
| #define | CH_MORE 1 |
| #define | CH_ERROR -1 |
| #define | compeek() |
| #define | comgetflags() |
| #define | comsetflags(f) |
| #define | C_FULL (1<<0) |
| #define | C_CONTINUE (1<<1) |
| #define | CM_NOPRINT (1<<16) |
Functions | |
| struct papd_comment * | commatch (char *start, char *end, struct papd_comment *table) |
| void | compop (void) |
| void | compush (struct papd_comment *) |
| int | comswitch (struct papd_comment *, int(*)(struct papfile *, struct papfile *, struct sockaddr_at *)) |
| int | comcmp (char *, char *, char *, int) |
| char * | comtoken (char *, char *, char *, char *) |
Variables | |
| struct comstate * | comstate |
| struct papd_comment | magics [] |
| struct papd_comment | queries [] |
| struct papd_comment | headers [] |
| char * | comcont |
| #define C_CONTINUE (1<<1) |
| #define C_FULL (1<<0) |
or prefix
| #define CH_DONE 0 |
| #define CH_ERROR -1 |
| #define CH_MORE 1 |
| #define CM_NOPRINT (1<<16) |
or print
| #define comgetflags | ( | ) |
| #define compeek | ( | ) |
| int comcmp | ( | char * | start, |
| char * | stop, | ||
| char * | str, | ||
| int | how ) |
|
extern |
| void compop | ( | void | ) |
| void compush | ( | struct papd_comment * | comment | ) |
| int comswitch | ( | struct papd_comment * | , |
| int(* | )(struct papfile *, struct papfile *, struct sockaddr_at *) ) |
| char * comtoken | ( | char * | , |
| char * | , | ||
| char * | , | ||
| char * | ) |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
All queries start with %%?Begin and end with %%?End. Note that the "Begin"/"End" general queries have to be last.