Quentin Young
d8729f8cb5
*: use proper bool initializers & fix comparisons
...
- bools should be initialized with true/false
- bools do not need to be compared
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2019-02-25 23:00:16 +00:00
Emanuele Di Pascale
bb359ba2f2
lib: fix issue with yang_str2enum
...
The same issue with derived enum types that was already fixed
for yang_data_new_enum was still present here, so I simply
applied the same fix.
Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
2018-12-18 15:15:26 +01:00
Renato Westphal
70065793bb
lib: use prefixconstptr instead of const prefixptr
...
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2018-11-26 17:35:58 -02:00
Emanuele Di Pascale
4206757572
lib: fix fetching enum values for derived types
...
Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
2018-10-27 16:16:12 -02:00
Renato Westphal
1c2facd12d
lib: introduce new northbound API
...
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2018-10-27 16:16:12 -02:00