root / envlist.h @ e3e87df4
History | View | Annotate | Download (484 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 | 64b85a8f | Blue Swirl | envlist_t *envlist_create(void);
|
11 | 64b85a8f | Blue Swirl | void envlist_free(envlist_t *);
|
12 | 64b85a8f | Blue Swirl | int envlist_setenv(envlist_t *, const char *); |
13 | 64b85a8f | Blue Swirl | int envlist_unsetenv(envlist_t *, const char *); |
14 | 64b85a8f | Blue Swirl | int envlist_parse_set(envlist_t *, const char *); |
15 | 64b85a8f | Blue Swirl | int envlist_parse_unset(envlist_t *, const char *); |
16 | 64b85a8f | Blue Swirl | 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 */ |