blob: e76d4a101b9410095e1a6383f304a3e57869c2ef [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
10extern envlist_t *envlist_create(void);
11extern void envlist_free(envlist_t *);
12extern int envlist_setenv(envlist_t *, const char *);
13extern int envlist_unsetenv(envlist_t *, const char *);
14extern int envlist_parse_set(envlist_t *, const char *);
15extern int envlist_parse_unset(envlist_t *, const char *);
16extern char **envlist_to_environ(const envlist_t *, size_t *);
17
18#ifdef __cplusplus
19}
20#endif
21
22#endif /* ENVLIST_H */