Statistics
| Branch: | Revision:

root / envlist.h @ 09d85fb8

History | View | Annotate | Download (533 Bytes)

1 04a6dfeb aurel32
#ifndef ENVLIST_H
2 04a6dfeb aurel32
#define ENVLIST_H
3 04a6dfeb aurel32
4 04a6dfeb aurel32
#ifdef __cplusplus
5 04a6dfeb aurel32
extern "C" {
6 04a6dfeb aurel32
#endif
7 04a6dfeb aurel32
8 04a6dfeb aurel32
typedef struct envlist envlist_t;
9 04a6dfeb aurel32
10 04a6dfeb aurel32
extern        envlist_t *envlist_create(void);
11 04a6dfeb aurel32
extern        void envlist_free(envlist_t *);
12 04a6dfeb aurel32
extern        int envlist_setenv(envlist_t *, const char *);
13 04a6dfeb aurel32
extern        int envlist_unsetenv(envlist_t *, const char *);
14 04a6dfeb aurel32
extern        int envlist_parse_set(envlist_t *, const char *);
15 04a6dfeb aurel32
extern        int envlist_parse_unset(envlist_t *, const char *);
16 04a6dfeb aurel32
extern        char **envlist_to_environ(const envlist_t *, size_t *);
17 04a6dfeb aurel32
18 04a6dfeb aurel32
#ifdef __cplusplus
19 04a6dfeb aurel32
}
20 04a6dfeb aurel32
#endif
21 04a6dfeb aurel32
22 04a6dfeb aurel32
#endif /* ENVLIST_H */