mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
04a6dfebb6
Adds support for qemu to modify target process environment variables using -E and -U commandline switches. This replaces eventually the -drop-ld-preload flag. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Riku Voipio <riku.voipio@iki.fi> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6484 c046a42c-6fe2-441c-8c8c-71466251a162
22 lines
533 B
C
22 lines
533 B
C
#ifndef ENVLIST_H
|
|
#define ENVLIST_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct envlist envlist_t;
|
|
|
|
extern envlist_t *envlist_create(void);
|
|
extern void envlist_free(envlist_t *);
|
|
extern int envlist_setenv(envlist_t *, const char *);
|
|
extern int envlist_unsetenv(envlist_t *, const char *);
|
|
extern int envlist_parse_set(envlist_t *, const char *);
|
|
extern int envlist_parse_unset(envlist_t *, const char *);
|
|
extern char **envlist_to_environ(const envlist_t *, size_t *);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* ENVLIST_H */
|