]> git.lizzy.rs Git - plan9front.git/blob - sys/src/cmd/troff/dwbinit.h
ip/ipconfig: format ipmask with %M instead of %I
[plan9front.git] / sys / src / cmd / troff / dwbinit.h
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);