/*++ /* NAME /* uxtext 3 /* SUMMARY /* quote/unquote text, xtext style. /* SYNOPSIS /* #include <uxtext.h> /* /* VSTRING *uxtext_quote(quoted, unquoted, special) /* VSTRING *quoted; /* const char *unquoted; /* const char *special; /* /* VSTRING *uxtext_quote_append(unquoted, quoted, special) /* VSTRING *unquoted; /* const char *quoted; /* const char *special; /* /* VSTRING *uxtext_unquote(unquoted, quoted) /* VSTRING *unquoted; /* const char *quoted; /* /* VSTRING *uxtext_unquote_append(unquoted, quoted) /* VSTRING *unquoted; /* const char *quoted; /* DESCRIPTION /* uxtext_quote() takes a null-terminated UTF8 string and /* replaces characters \, <33(10) and >126(10), as well as /* characters specified with "special" with \x{XX}, XX being /* a 2-6-digit uppercase hexadecimal equivalent. /* /* uxtext_quote_append() is like uxtext_quote(), but appends /* the conversion result to the result buffer. /* /* uxtext_unquote() performs the opposite transformation. This /* function understands lowercase, uppercase, and mixed case /* \x{XX...} sequences. The result value is the unquoted /* argument in case of success, a null pointer otherwise. /* /* uxtext_unquote_append() is like uxtext_unquote(), but appends /* the conversion result to the result buffer. /* BUGS /* This module cannot process null characters in data. /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Arnt Gulbrandsen /* /* 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.