0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-08 12:18:42 +00:00

Conf: Move definition of struct keyword to conf.h

This commit is contained in:
Ondrej Zajicek 2023-09-14 17:24:09 +02:00
parent a3dc26455d
commit 9ffea830b6
2 changed files with 5 additions and 5 deletions

View File

@ -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 */

View File

@ -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;