multiboot: Separate multiboot loading into separate file
[qemu/agraf.git] / envlist.h
blobe76d4a101b9410095e1a6383f304a3e57869c2ef
1 #ifndef ENVLIST_H
2 #define ENVLIST_H
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 typedef struct envlist envlist_t;
10 extern envlist_t *envlist_create(void);
11 extern void envlist_free(envlist_t *);
12 extern int envlist_setenv(envlist_t *, const char *);
13 extern int envlist_unsetenv(envlist_t *, const char *);
14 extern int envlist_parse_set(envlist_t *, const char *);
15 extern int envlist_parse_unset(envlist_t *, const char *);
16 extern char **envlist_to_environ(const envlist_t *, size_t *);
18 #ifdef __cplusplus
20 #endif
22 #endif /* ENVLIST_H */