diff options
author | Taru Karttunen <taruti@taruti.net> | 2011-03-30 15:46:40 +0300 |
---|---|---|
committer | Taru Karttunen <taruti@taruti.net> | 2011-03-30 15:46:40 +0300 |
commit | e5888a1ffdae813d7575f5fb02275c6bb07e5199 (patch) | |
tree | d8d51eac403f07814b9e936eed0c9a79195e2450 /sys/src/cmd/troff/dwbinit.h |
Import sources from 2011-03-30 iso image
Diffstat (limited to 'sys/src/cmd/troff/dwbinit.h')
-rwxr-xr-x | sys/src/cmd/troff/dwbinit.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sys/src/cmd/troff/dwbinit.h b/sys/src/cmd/troff/dwbinit.h new file mode 100755 index 000000000..acb1476cc --- /dev/null +++ b/sys/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); |