mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-08 12:18:42 +00:00
Conf: Adding dummy thread-number setting for easier sharing of configuration between v2 and v3
This commit is contained in:
parent
7b3b8a8949
commit
4167635b79
@ -19,7 +19,7 @@ CF_DECLS
|
|||||||
|
|
||||||
CF_KEYWORDS(LOG, SYSLOG, ALL, DEBUG, TRACE, INFO, REMOTE, WARNING, ERROR, AUTH, FATAL, BUG, STDERR, SOFT)
|
CF_KEYWORDS(LOG, SYSLOG, ALL, DEBUG, TRACE, INFO, REMOTE, WARNING, ERROR, AUTH, FATAL, BUG, STDERR, SOFT)
|
||||||
CF_KEYWORDS(NAME, CONFIRM, UNDO, CHECK, TIMEOUT, DEBUG, LATENCY, LIMIT, WATCHDOG, WARNING, STATUS)
|
CF_KEYWORDS(NAME, CONFIRM, UNDO, CHECK, TIMEOUT, DEBUG, LATENCY, LIMIT, WATCHDOG, WARNING, STATUS)
|
||||||
CF_KEYWORDS(GRACEFUL, RESTART)
|
CF_KEYWORDS(GRACEFUL, RESTART, THREADS)
|
||||||
|
|
||||||
%type <i> log_mask log_mask_list log_cat cfg_timeout
|
%type <i> log_mask log_mask_list log_cat cfg_timeout
|
||||||
%type <t> cfg_name
|
%type <t> cfg_name
|
||||||
@ -28,6 +28,9 @@ CF_KEYWORDS(GRACEFUL, RESTART)
|
|||||||
|
|
||||||
CF_GRAMMAR
|
CF_GRAMMAR
|
||||||
|
|
||||||
|
/* Dummy threads setting for forward compatibility */
|
||||||
|
conf: THREADS expr ';' ;
|
||||||
|
|
||||||
conf: log_config ;
|
conf: log_config ;
|
||||||
|
|
||||||
log_begin: { this_log = cfg_allocz(sizeof(struct log_config)); };
|
log_begin: { this_log = cfg_allocz(sizeof(struct log_config)); };
|
||||||
|
Loading…
Reference in New Issue
Block a user