From 31a9fc1fb60f8001f43186d36e3fbb5fce584d91 Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Fri, 19 Aug 2022 09:59:30 -0400 Subject: util: Introduce env helpers --- include/util/env.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 include/util/env.h (limited to 'include/util') 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 +#include + +bool env_parse_bool(const char *option); + +ssize_t env_parse_switch(const char *option, const char **switches); + +#endif -- cgit v1.2.3