mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-01-09 10:31:53 +00:00
39059e21b7
Add birdtest utils for testing parsing configurations files Add tests with parsing filter examples
18 lines
468 B
C
18 lines
468 B
C
/*
|
|
* BIRD Test -- Utils for testing parsing configuration file
|
|
*
|
|
* (c) 2015 CZ.NIC z.s.p.o.
|
|
*
|
|
* Can be freely distributed and used under the terms of the GNU GPL.
|
|
*/
|
|
|
|
#ifndef _BIRDTEST_UTILS_H_
|
|
#define _BIRDTEST_UTILS_H_
|
|
|
|
#define BT_CONFIG_PARSE_ROUTER_ID "router id 10.0.0.1; \n"
|
|
#define BT_CONFIG_PARSE_KERNEL_DEVICE "protocol device {} \n"
|
|
|
|
void bt_bird_init(void);
|
|
struct config *bt_config_parse(const char *str_cfg);
|
|
|
|
#endif /* _BIRDTEST_UTILS_H_ */ |