diff options
| author | rsc <devnull@localhost> | 2004-05-15 23:24:00 +0000 |
|---|---|---|
| committer | rsc <devnull@localhost> | 2004-05-15 23:24:00 +0000 |
| commit | 5cedca1b69d020c32466f70843a11767773d7e3b (patch) | |
| tree | a15a3d84e92aa262543b0010763a5e6920c9ba24 /src/cmd/troff/dwbinit.h | |
| parent | 76e6aca867e3e48ea04fbcf7284c45369a69829e (diff) | |
| download | plan9port-5cedca1b69d020c32466f70843a11767773d7e3b.tar.gz plan9port-5cedca1b69d020c32466f70843a11767773d7e3b.zip | |
Let's try this. It's BUGGERED.
Diffstat (limited to 'src/cmd/troff/dwbinit.h')
| -rw-r--r-- | src/cmd/troff/dwbinit.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/cmd/troff/dwbinit.h b/src/cmd/troff/dwbinit.h new file mode 100644 index 00000000..acb1476c --- /dev/null +++ b/src/cmd/troff/dwbinit.h @@ -0,0 +1,19 @@ +/* + * + * 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); |
