interface: make interface-to-template conversion a config option (defaulting to enabled)

This commit is contained in:
Ariadne Conill 2020-09-23 19:07:52 -06:00
parent 243a9b92ce
commit 60d0ed34b8
4 changed files with 13 additions and 2 deletions

View file

@ -45,6 +45,7 @@ set_bool_value(const char *key, const char *value, void *opaque)
static struct lif_config_handler handlers[] = {
{"allow_addon_scripts", set_bool_value, &lif_config.allow_addon_scripts},
{"allow_any_iface_as_template", set_bool_value, &lif_config.allow_any_iface_as_template},
{"implicit_template_conversion", set_bool_value, &lif_config.implicit_template_conversion},
};
bool