diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-17 18:20:00 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2012-12-19 08:32:39 +0100 |
commit | 1de7afc984b49af164e2619e6850b9732b173b34 (patch) | |
tree | 60cd16f527440fcfcdb81d9bea1af5d9147604c4 /include/qemu/envlist.h | |
parent | 14cccb618508a0aa70eb9ccf366703a019a45ff0 (diff) | |
download | hqemu-1de7afc984b49af164e2619e6850b9732b173b34.zip hqemu-1de7afc984b49af164e2619e6850b9732b173b34.tar.gz |
misc: move include files to include/qemu/
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/qemu/envlist.h')
-rw-r--r-- | include/qemu/envlist.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/qemu/envlist.h b/include/qemu/envlist.h new file mode 100644 index 0000000..b9addcc --- /dev/null +++ b/include/qemu/envlist.h @@ -0,0 +1,22 @@ +#ifndef ENVLIST_H +#define ENVLIST_H + +#ifdef __cplusplus +extern "C" { +#endif + +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 *); + +#ifdef __cplusplus +} +#endif + +#endif /* ENVLIST_H */ |