blob: b9addcc11f7d39c2f18b01ff709e517608eea3c9 [file] [log] [blame]
aurel3204a6dfe2009-01-30 19:59:17 +00001#ifndef ENVLIST_H
2#define ENVLIST_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8typedef struct envlist envlist_t;
9
Blue Swirl64b85a82011-01-23 16:21:20 +000010envlist_t *envlist_create(void);
11void envlist_free(envlist_t *);
12int envlist_setenv(envlist_t *, const char *);
13int envlist_unsetenv(envlist_t *, const char *);
14int envlist_parse_set(envlist_t *, const char *);
15int envlist_parse_unset(envlist_t *, const char *);
16char **envlist_to_environ(const envlist_t *, size_t *);
aurel3204a6dfe2009-01-30 19:59:17 +000017
18#ifdef __cplusplus
19}
20#endif
21
22#endif /* ENVLIST_H */