75 for (i = 0; i <
sizeof(cleanup_flag_map) /
sizeof(cleanup_flag_map[0]); i++) {
76 if (cleanup_flag_map[i].
flag & flags) {
78 flags &= ~cleanup_flag_map[i].
flag;
83 msg_panic(
"cleanup_strflags: unrecognized flag value(s) 0x%x", flags);
#define CLEANUP_FLAG_SMTPUTF8
#define CLEANUP_FLAG_MAP_OK
NORETURN msg_panic(const char *fmt,...)
#define CLEANUP_FLAG_BOUNCE
#define CLEANUP_FLAG_FILTER
VSTRING * vstring_truncate(VSTRING *vp, ssize_t len)
#define CLEANUP_FLAG_MILTER
#define CLEANUP_FLAG_DISCARD
#define CLEANUP_FLAG_HOLD
#define VSTRING_TERMINATE(vp)
VSTRING * vstring_sprintf_append(VSTRING *vp, const char *format,...)
#define VSTRING_RESET(vp)
#define CLEANUP_FLAG_AUTOUTF8
VSTRING * vstring_alloc(ssize_t len)
const char * cleanup_strflags(unsigned flags)
#define CLEANUP_FLAG_BCC_OK
#define CLEANUP_FLAG_SMTP_REPLY