xref: /plan9/sys/src/cmd/troff/dwbinit.h (revision 219b2ee8daee37f4aad58d63f21287faa8e4ffdc)
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);
20