gdb-2.4+.aux.coff
[platform/upstream/binutils.git] / gdb / environ.h
1
2 /* We manipulate environments represented as these structures.  */
3
4 struct environ
5 {
6   /* Number of usable slots allocated in VECTOR.
7      VECTOR always has one slot not counted here,
8      to hold the terminating zero.  */
9   int allocated;
10   /* A vector of slots, ALLOCATED + 1 of them.
11      The first few slots contain strings "VAR=VALUE"
12      and the next one contains zero.
13      Then come some unused slots.  */
14   char **vector;
15 };
16
17 struct environ *make_environ ();
18 void free_environ ();
19 void init_environ ();
20 char *get_in_environ ();
21 void set_in_environ ();
22 void unset_in_environ ();
23 char **environ_vector ();