mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
conf-parser: add parser for 32bit signed integers
This commit is contained in:
@@ -515,6 +515,7 @@ 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(int32, int32_t, safe_atoi32);
|
||||
DEFINE_PARSER(uint64, uint64_t, safe_atou64);
|
||||
DEFINE_PARSER(unsigned, unsigned, safe_atou);
|
||||
DEFINE_PARSER(double, double, safe_atod);
|
||||
|
||||
@@ -115,6 +115,7 @@ CONFIG_PARSER_PROTOTYPE(config_parse_long);
|
||||
CONFIG_PARSER_PROTOTYPE(config_parse_uint8);
|
||||
CONFIG_PARSER_PROTOTYPE(config_parse_uint16);
|
||||
CONFIG_PARSER_PROTOTYPE(config_parse_uint32);
|
||||
CONFIG_PARSER_PROTOTYPE(config_parse_int32);
|
||||
CONFIG_PARSER_PROTOTYPE(config_parse_uint64);
|
||||
CONFIG_PARSER_PROTOTYPE(config_parse_double);
|
||||
CONFIG_PARSER_PROTOTYPE(config_parse_iec_size);
|
||||
|
||||
Reference in New Issue
Block a user