/*++ /* NAME /* quote_flags 3 /* SUMMARY /* quote rfc 821/822 local part /* SYNOPSIS /* #include <quote_flags.h> /* /* int quote_flags_from_string(const char *string) /* /* const char *quote_flags_to_string(VSTRING *res_buf, int mask) /* DESCRIPTION /* quote_flags_from_string() converts symbolic flag names into /* the corresponding internal bitmask. This logs a warning and /* returns zero if an unknown symbolic name is specified. /* /* quote_flags_to_string() converts from internal bitmask to /* the corresponding symbolic names. This logs a warning and /* returns a null pointer if an unknown bitmask is specified. /* /* Arguments: /* .IP string /* Symbolic representation of a quote_flags bitmask, for /* example: \fB8bitclean | bare_localpart\fR. The conversion /* is case-insensitive. /* .IP res_buf /* Storage for the quote_flags_to_string() result, which has /* the same form as the string argument. If a null pointer is /* specified, quote_flags_to_string() uses storage that is /* overwritten with each call. /* .IP mask /* Binary representation of quote_flags. /* DIAGNOSTICS /* Fatal error: out of memory; or unknown bitmask name or value. /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Wietse Venema /* Google, Inc. /* 111 8th Avenue /* New York, NY 10011, USA
/*--*/