summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/util.h b/util.h
index 5d9ef39e04..2df67b73df 100644
--- a/util.h
+++ b/util.h
@@ -46,4 +46,9 @@ bool startswith(const char *s, const char *prefix);
int nointr_close(int fd);
+int parse_boolean(const char *v);
+
+int safe_atou(const char *s, unsigned *ret_u);
+int safe_atoi(const char *s, int *ret_i);
+
#endif