aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/util/env.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/util/env.h b/include/util/env.h
new file mode 100644
index 00000000..6720fa89
--- /dev/null
+++ b/include/util/env.h
@@ -0,0 +1,11 @@
+#ifndef UTIL_ENV_H
+#define UTIL_ENV_H
+
+#include <stdbool.h>
+#include <unistd.h>
+
+bool env_parse_bool(const char *option);
+
+ssize_t env_parse_switch(const char *option, const char **switches);
+
+#endif