diff options
Diffstat (limited to 'include/environment.h')
-rw-r--r-- | include/environment.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/environment.h b/include/environment.h index 95e75e7ec7..4184977009 100644 --- a/include/environment.h +++ b/include/environment.h @@ -26,14 +26,15 @@ * Managment of a environment variable */ struct variable_d { - struct variable_d *next; /**< List management */ - char data[0]; /**< variable length data */ + struct list_head list; + char *name; + char *data; }; struct env_context { - struct env_context *parent; /**< FIXME */ - struct variable_d *local; /**< FIXME */ - struct variable_d *global; /**< FIXME */ + struct env_context *parent; + struct list_head local; + struct list_head global; }; struct env_context *get_current_context(void); |