home *** CD-ROM | disk | FTP | other *** search
- #ifndef _pathent_h
- #define _pathent_h
-
- typedef struct pathent_str
- {
- struct pathent_str *next;
- int type;
- int filetype;
- unsigned int setopts;
- unsigned int clropts;
- int numexts;
- char **exts;
- char *path;
- } pathent_str;
-
- #define PATH_OFF ((pathent_str *)0)
- #define PATH_DEF ((pathent_str *)1)
- #define PATH_TYPE ((pathent_str *)2)
- #define PATH_RISCOS ((pathent_str *)3)
- #define PATH_PRESET ((pathent_str *)0x8000) /* Min useful user mode pointer value */
-
- void show_pathent(pathent_str *p);
-
- int atoft(char *s);
- char *fttoa(int n);
-
- int pathent_initialise(char *file);
- int pathmap(char *unix, char *riscos, int *type, pathent_str *preset);
- pathent_str *getpathent(char *s);
- pathent_str *delpathent(pathent_str *p);
- pathent_str *duppathent(pathent_str *p);
- char *pe_optflagstostr(int opts, char *buffer);
-
- #endif
-