mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 00:26:30 +00:00
Improve configuration file parsing and error detection
- enable provision of various boolean values - improve enforcement of minimum values for integers
This commit is contained in:
6
config.h
6
config.h
@@ -150,6 +150,10 @@ void item_list_append(ItemList *item_list, char *error_message);
|
||||
int repmgr_atoi(const char *s,
|
||||
const char *config_item,
|
||||
ItemList *error_list,
|
||||
bool allow_negative);
|
||||
int minval);
|
||||
|
||||
bool parse_bool(const char *s,
|
||||
const char *config_item,
|
||||
ItemList *error_list);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user