tdwbinit.h - plan9port - [fork] Plan 9 from user space
HTML git clone git://src.adamsgaard.dk/plan9port
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
tdwbinit.h (491B)
---
1 /*
2 *
3 * A structure used to adjust pathnames in DWB C code. Pointers
4 * set the address field, arrays use the value field and must
5 * also set length to the number elements in the array. Pointers
6 * are always reallocated and then reinitialized; arrays are only
7 * reinitialized, if there's room.
8 *
9 */
10
11 typedef struct {
12 char **address;
13 char *value;
14 int length;
15 } dwbinit;
16
17 extern void DWBinit(char *, dwbinit *);
18 extern char* DWBhome(void);
19 extern void DWBprefix(char *, char *, int);