74 static const NAME_MASK dsn_notify_table[] = {
82 static const NAME_CODE dsn_ret_table[] = {
102 msg_panic(
"dsn_ret_str: unknown code %d", code);
110 int mask =
name_mask_opt(
"DSN NOTIFY command", dsn_notify_table,
121 dsn_notify_table, mask,
NORETURN msg_panic(const char *fmt,...)
#define DSN_NOTIFY_FAILURE
const char * str_name_mask_opt(VSTRING *buf, const char *context, const NAME_MASK *table, int mask, int flags)
int dsn_notify_mask(const char *str)
const char * str_name_code(const NAME_CODE *table, int code)
#define NAME_CODE_FLAG_NONE
const char * dsn_notify_str(int mask)
int name_code(const NAME_CODE *table, int flags, const char *name)
int dsn_ret_code(const char *str)
#define DSN_NOTIFY_SUCCESS
#define NAME_MASK_ANY_CASE
const char * dsn_ret_str(int code)
#define name_mask_opt(tag, table, str, flags)