From 134e24e136e3a474f1412eb32fd94b4b77eecabd Mon Sep 17 00:00:00 2001 From: Susant Sahani Date: Tue, 25 Apr 2017 18:41:50 +0530 Subject: config parser: Introduce config_parse_uint8 --- src/shared/conf-parser.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/shared/conf-parser.c') diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c index 265ac83dc0..d8393cbc8d 100644 --- a/src/shared/conf-parser.c +++ b/src/shared/conf-parser.c @@ -506,6 +506,7 @@ int config_parse_many( DEFINE_PARSER(int, int, safe_atoi); DEFINE_PARSER(long, long, safe_atoli); +DEFINE_PARSER(uint8, uint8_t, safe_atou8); DEFINE_PARSER(uint16, uint16_t, safe_atou16); DEFINE_PARSER(uint32, uint32_t, safe_atou32); DEFINE_PARSER(uint64, uint64_t, safe_atou64); -- cgit v1.2.3-54-g00ecf