home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 3 / PDCD_3.iso / internet / tcpipsrc / h / if / pathent < prev    next >
Text File  |  1995-01-12  |  499b  |  27 lines

  1. #ifndef _pathent_h
  2. #define _pathent_h
  3.  
  4. typedef struct pathent_str
  5. {
  6.   struct pathent_str *next;
  7.   int type;
  8.   int filetype;
  9.   unsigned int setopts;
  10.   unsigned int clropts;
  11.   int numexts;
  12.   char **exts;
  13.   char *path;
  14. } pathent_str;
  15.  
  16. void show_pathent(pathent_str *p);
  17.  
  18. int atoft(char *s);
  19. char *fttoa(int n);
  20.  
  21. int pathent_initialise(char *file);
  22. int pathmap(char *unix, char *riscos, int *type, pathent_str *preset);
  23. pathent_str *getpathent(char *s);
  24. pathent_str *delpathent(pathent_str *p);
  25.  
  26. #endif
  27.