/*++ /* NAME /* strip_addr 3 /* SUMMARY /* strip extension from full or localpart-only address /* SYNOPSIS /* #include <strip_addr.h> /* /* char *strip_addr_internal(address, extension, delimiter_set) /* const char *address; /* char **extension; /* const char *delimiter_set; /* LEGACY SUPPORT /* char *strip_addr(address, extension, delimiter_set) /* const char *address; /* char **extension; /* const char *delimiter_set; /* DESCRIPTION /* strip_addr*() takes an address and either returns a null /* pointer when the address contains no address extension, /* or returns a copy of the address without address extension. /* The caller is expected to pass the copy to myfree(). /* /* With strip_addr_internal(), the input and result are in /* internal form. /* /* strip_addr() is a backwards-compatible form for legacy code. /* /* Arguments: /* .IP address /* Address localpart or user@domain form. /* .IP extension /* A null pointer, or the address of a pointer that is set to /* the address of a dynamic memory copy of the address extension /* that had to be chopped off. /* The copy includes the recipient address delimiter. /* The caller is expected to pass the copy to myfree(). /* .IP delimiter_set /* Set of recipient address delimiter characters. /* SEE ALSO /* split_addr(3) strip extension from localpart /* 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 /* /* Wietse Venema /* Google, Inc. /* 111 8th Avenue /* New York, NY 10011, 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.