dwbinit.h 491 B

12345678910111213141516171819
  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. typedef struct {
  11. char **address;
  12. char *value;
  13. int length;
  14. } dwbinit;
  15. extern void DWBinit(char *, dwbinit *);
  16. extern char* DWBhome(void);
  17. extern void DWBprefix(char *, char *, int);