aboutsummaryrefslogtreecommitdiff
path: root/include/qemu/envlist.h
blob: 6006dfae44c37bab7cce4437206c1e6d8c754b7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef ENVLIST_H
#define ENVLIST_H

typedef struct envlist envlist_t;

envlist_t *envlist_create(void);
void envlist_free(envlist_t *);
int envlist_setenv(envlist_t *, const char *);
int envlist_unsetenv(envlist_t *, const char *);
int envlist_parse_set(envlist_t *, const char *);
int envlist_parse_unset(envlist_t *, const char *);
char **envlist_to_environ(const envlist_t *, size_t *);

#endif /* ENVLIST_H */