mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 08:38:42 +00:00
Conf: Move definition of struct keyword to conf.h
This commit is contained in:
parent
a3dc26455d
commit
9ffea830b6
@ -51,11 +51,6 @@
|
||||
#include "lib/string.h"
|
||||
#include "lib/hash.h"
|
||||
|
||||
struct keyword {
|
||||
byte *name;
|
||||
int value;
|
||||
};
|
||||
|
||||
#include "conf/keywords.h"
|
||||
|
||||
/* Could be defined by Bison in cf-parse.tab.h, inteferes with SYM hash */
|
||||
|
@ -110,6 +110,11 @@ void cfg_copy_list(list *dest, list *src, unsigned node_size);
|
||||
|
||||
extern int (*cf_read_hook)(byte *buf, uint max, int fd);
|
||||
|
||||
struct keyword {
|
||||
byte *name;
|
||||
int value;
|
||||
};
|
||||
|
||||
struct symbol {
|
||||
node n; /* In list of symbols in config */
|
||||
struct symbol *next;
|
||||
|
Loading…
Reference in New Issue
Block a user