/*++ /* NAME /* cleanup_rewrite 3 /* SUMMARY /* address canonicalization /* SYNOPSIS /* #include <cleanup.h> /* /* int cleanup_rewrite_external(context_name, result, addr) /* const char *context; /* VSTRING *result; /* const char *addr; /* /* int cleanup_rewrite_internal(context_name, result, addr) /* const char *context; /* VSTRING *result; /* const char *addr; /* /* int cleanup_rewrite_tree(context_name, tree) /* const char *context; /* TOK822 *tree; /* DESCRIPTION /* This module rewrites addresses to canonical form, adding missing /* domains and stripping source routes etc., and performs /* \fIcanonical\fR map lookups to map addresses to official form. /* These functions return non-zero when the address was changed. /* /* cleanup_rewrite_init() performs one-time initialization. /* /* cleanup_rewrite_external() rewrites the external (quoted) string /* form of an address. /* /* cleanup_rewrite_internal() is a wrapper around the /* cleanup_rewrite_external() routine that transforms from /* internal (quoted) string form to external form and back. /* /* cleanup_rewrite_tree() is a wrapper around the /* cleanup_rewrite_external() routine that transforms from /* internal parse tree form to external form and back. /* /* Arguments: /* .IP context_name /* The name of an address rewriting context that supplies /* the equivalents of myorigin and mydomain. /* .IP result /* Result buffer. /* .IP addr /* Input buffer. /* DIAGNOSTICS /* 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.