mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-15 11:20:03 +00:00
19 lines
491 B
C
19 lines
491 B
C
/*
|
|
*
|
|
* A structure used to adjust pathnames in DWB C code. Pointers
|
|
* set the address field, arrays use the value field and must
|
|
* also set length to the number elements in the array. Pointers
|
|
* are always reallocated and then reinitialized; arrays are only
|
|
* reinitialized, if there's room.
|
|
*
|
|
*/
|
|
|
|
typedef struct {
|
|
char **address;
|
|
char *value;
|
|
int length;
|
|
} dwbinit;
|
|
|
|
extern void DWBinit(char *, dwbinit *);
|
|
extern char* DWBhome(void);
|
|
extern void DWBprefix(char *, char *, int);
|