{ FR_CONF_OFFSET("tmpl_tokenize_all_nested", FR_TYPE_BOOL | FR_TYPE_HIDDEN, main_config_t, tmpl_tokenize_all_nested) },
{ FR_CONF_OFFSET("parse_new_conditions", FR_TYPE_BOOL | FR_TYPE_HIDDEN, main_config_t, parse_new_conditions) },
{ FR_CONF_OFFSET("use_new_conditions", FR_TYPE_BOOL | FR_TYPE_HIDDEN, main_config_t, use_new_conditions) },
+ { FR_CONF_OFFSET("rewrite_update", FR_TYPE_BOOL | FR_TYPE_HIDDEN, main_config_t, rewrite_update) },
CONF_PARSER_TERMINATOR
};
{ L("parse_new_conditions"), offsetof(main_config_t, parse_new_conditions) },
{ L("use_new_conditions"), offsetof(main_config_t, use_new_conditions) },
{ L("tmpl_tokenize_all_nested"), offsetof(main_config_t, tmpl_tokenize_all_nested) },
+ { L("rewrite_update"), offsetof(main_config_t, rewrite_update) },
};
static size_t config_arg_table_len = NUM_ELEMENTS(config_arg_table);
bool tmpl_tokenize_all_nested; //!< tmpl_tokenize will create nested tmpls instead of flat ones
bool parse_new_conditions; //!< the new xlat expressions will be parsed, but not used.
bool use_new_conditions; //!< the new xlat expressions will be used for conditions, instead of the old code
+ bool rewrite_update; //!< rewrite "update" to be new edit sections
};
void main_config_name_set_default(main_config_t *config, char const *name, bool overwrite_config);