28#ifndef TOR_SRC_LIB_CONF_CONFTYPES_H
29#define TOR_SRC_LIB_CONF_CONFTYPES_H
140 const char *
typename;
154#define CFLG_NODUMP (1u<<0)
161#define CFLG_NOLIST (1u<<1)
167#define CFLG_NOSET (1u<<2)
176#define CFLG_NOCOPY (1u<<3)
186#define CFLG_NOCMP (1u<<4)
194#define CFLG_NOREPLACE (1u<<5)
199#define CFLG_IMMUTABLE (1u<<6)
204#define CFLG_WARN_OBSOLETE (1u<<7)
209#define CFLG_WARN_DISABLED (1u<<8)
214#define CFLG_GROUP_OBSOLETE \
215 (CFLG_NOCOPY|CFLG_NOCMP|CFLG_NODUMP|CFLG_NOSET|CFLG_NOLIST|\
221#define CFLG_GROUP_DISABLED \
222 (CFLG_NOCOPY|CFLG_NOCMP|CFLG_NODUMP|CFLG_NOSET|CFLG_NOLIST|\
235 confparse_dummy_values_t var_ptr_dummy;
272#define PLURAL(tok) { (#tok), (#tok "s"), 0, 0 }
Macro and type declarations for testing.
@ CONFIG_TYPE_CSV_INTERVAL
@ CONFIG_TYPE_MSEC_INTERVAL
int(* pre_normalize_fn_t)(void *value, char **msg_out)
int(* validate_fn_t)(const void *value, char **msg_out)
int(* post_normalize_fn_t)(void *value, char **msg_out)
int(* check_transition_fn_t)(const void *old_value, const void *value, char **msg_out)
int(* legacy_validate_fn_t)(const void *oldval, void *newval, char **msg_out)
void(* clear_cfg_fn_t)(const struct config_mgr_t *mgr, void *obj)
const char * why_deprecated
const struct var_type_def_t * type_def
Integer definitions used throughout Tor.