dwbinit.h - 9base - revived minimalist port of Plan 9 userland to Unix | |
git clone git://git.suckless.org/9base | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
dwbinit.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); |