/*++ /* NAME /* smtpd_token 3 /* SUMMARY /* tokenize SMTPD command /* SYNOPSIS /* #include <smtpd_token.h> /* /* typedef struct { /* .in +4 /* int tokval; /* char *strval;
/* /* other stuff... */ /* .in -4 /* } SMTPD_TOKEN; /* /* int smtpd_token(str, argvp) /* char *str; /* SMTPD_TOKEN **argvp; /* DESCRIPTION /* smtpd_token() routine converts the string in \fIstr\fR to an /* array of tokens in \fIargvp\fR. The number of tokens is returned /* via the function return value. /* /* Token types: /* .IP SMTPD_TOK_OTHER /* The token is something else. /* .IP SMTPD_TOK_ERROR /* A malformed token. /* BUGS /* This tokenizer understands just enough to tokenize SMTPD commands. /* It understands backslash escapes, white space, quoted strings, /* and addresses (including quoted text) enclosed by < and >. /* The input is broken up into tokens by whitespace, except for /* whitespace that is protected by quotes etc. /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Wietse Venema /* IBM T.J. Watson Research /* P.O. Box 704 /* Yorktown Heights, NY 10598, USA
/*--*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.