/*++ /* NAME /* xtext 3 /* SUMMARY /* quote/unquote text, xtext style. /* SYNOPSIS /* #include <xtext.h> /* /* VSTRING *xtext_quote(quoted, unquoted, special) /* VSTRING *quoted; /* const char *unquoted; /* const char *special; /* /* VSTRING *xtext_quote_append(unquoted, quoted, special) /* VSTRING *unquoted; /* const char *quoted; /* const char *special; /* /* VSTRING *xtext_unquote(unquoted, quoted) /* VSTRING *unquoted; /* const char *quoted; /* /* VSTRING *xtext_unquote_append(unquoted, quoted) /* VSTRING *unquoted; /* const char *quoted; /* DESCRIPTION /* xtext_quote() takes a null-terminated string and replaces characters /* +, <33(10) and >126(10), as well as characters specified with "special" /* by +XX, XX being the two-digit uppercase hexadecimal equivalent. /* /* xtext_quote_append() is like xtext_quote(), but appends the conversion /* result to the result buffer. /* /* xtext_unquote() performs the opposite transformation. This function /* understands lowercase, uppercase, and mixed case +XX sequences. The /* result value is the unquoted argument in case of success, a null pointer /* otherwise. /* /* xtext_unquote_append() is like xtext_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) /* 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.