mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-09 12:48:43 +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/string.h"
|
||||||
#include "lib/hash.h"
|
#include "lib/hash.h"
|
||||||
|
|
||||||
struct keyword {
|
|
||||||
byte *name;
|
|
||||||
int value;
|
|
||||||
};
|
|
||||||
|
|
||||||
#include "conf/keywords.h"
|
#include "conf/keywords.h"
|
||||||
|
|
||||||
/* Could be defined by Bison in cf-parse.tab.h, inteferes with SYM hash */
|
/* 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);
|
extern int (*cf_read_hook)(byte *buf, uint max, int fd);
|
||||||
|
|
||||||
|
struct keyword {
|
||||||
|
byte *name;
|
||||||
|
int value;
|
||||||
|
};
|
||||||
|
|
||||||
struct symbol {
|
struct symbol {
|
||||||
node n; /* In list of symbols in config */
|
node n; /* In list of symbols in config */
|
||||||
struct symbol *next;
|
struct symbol *next;
|
||||||
|
Loading…
Reference in New Issue
Block a user