*/
DIAG_OFF(attributes)
typedef enum CC_HINT(flag_enum) {
- CONF_FLAG_HIDDEN = 0, //!< Used by scripts to omit items from the
- ///< generated documentation.
+ CONF_FLAG_NONE = 0, //!< No special flags.
CONF_FLAG_SUBSECTION = (1 << 1), //!< Instead of putting the information into a
///< configuration structure, the configuration
///< file routines MAY just parse it directly into
//!< left as the default to is_set_offset
//!< or is_set_ptr.
CONF_FLAG_OK_MISSING = (1 << 22), //!< OK if it's missing
+ CONF_FLAG_HIDDEN = (1 << 23), //!< Used by scripts to omit items from the
+ ///< generated documentation.
} conf_parser_flags_t;
DIAG_ON(attributes)
{ FR_CONF_OFFSET("num_workers", main_config_t, max_workers), .dflt = STRINGIFY(0),
.func = num_workers_parse, .dflt_func = num_workers_dflt },
- { FR_CONF_OFFSET_TYPE_FLAGS("stats_interval", FR_TYPE_TIME_DELTA | CONF_FLAG_HIDDEN, 0, main_config_t, stats_interval), },
+ { FR_CONF_OFFSET_TYPE_FLAGS("stats_interval", FR_TYPE_TIME_DELTA, CONF_FLAG_HIDDEN, main_config_t, stats_interval) },
#ifdef WITH_TLS
{ FR_CONF_OFFSET_TYPE_FLAGS("openssl_async_pool_init", FR_TYPE_SIZE, 0, main_config_t, openssl_async_pool_init), .dflt = "64" },