env-util: introduce strv_env_get_merged()

This commit is contained in:
Yu Watanabe
2024-10-31 11:02:35 +09:00
parent e4d477efc6
commit 7633001cdd
3 changed files with 40 additions and 0 deletions
+1
View File
@@ -60,6 +60,7 @@ static inline char* strv_env_get(char * const *x, const char *n) {
}
char* strv_env_pairs_get(char **l, const char *name) _pure_;
int strv_env_get_merged(char **l, char ***ret);
int getenv_bool(const char *p);
int secure_getenv_bool(const char *p);