/*++ /* NAME /* hex_quote 3 /* SUMMARY /* quote/unquote text, HTTP style. /* SYNOPSIS /* #include <hex_quote.h> /* /* VSTRING *hex_quote(hex, raw) /* VSTRING *hex; /* const char *raw; /* /* VSTRING *hex_unquote(raw, hex) /* VSTRING *raw; /* const char *hex; /* DESCRIPTION /* hex_quote() takes a null-terminated string and replaces non-printable /* and whitespace characters and the % by %XX, XX being the two-digit /* hexadecimal equivalent. /* The hexadecimal codes are produced as upper-case characters. The result /* value is the hex argument. /* /* hex_unquote() performs the opposite transformation. This function /* understands lowercase, uppercase, and mixed case %XX sequences. The /* result value is the raw argument in case of success, a null pointer /* otherwise. /* BUGS /* hex_quote() cannot process null characters in data. /* 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.