]> git.ipfire.org Git - thirdparty/bird.git/blobdiff - conf/conf.h
Basic route aggregation
[thirdparty/bird.git] / conf / conf.h
index 486499ad10a87ebbbb8ee68e18a548fec88b7a89..b07b417c2f3137eb3e844171d74e87951cc0428a 100644 (file)
@@ -238,6 +238,9 @@ struct symbol *cf_new_symbol(struct sym_scope *scope, pool *p, struct linpool *l
     sym_->var_ = def_; \
     sym_; })
 
+#define cf_create_symbol(conf_, name_, type_, var_, def_) \
+  cf_define_symbol(conf_, cf_get_symbol(conf_, name_), type_, var_, def_)
+
 void cf_push_scope(struct config *, struct symbol *);
 void cf_pop_scope(struct config *);
 void cf_push_soft_scope(struct config *);