home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 024 / psi110g.zip / FILES.H < prev    next >
C/C++ Source or Header  |  1994-08-26  |  3KB  |  66 lines

  1. #ifndef _FILES_H
  2. #define _FILES_H
  3.   
  4. #define PPP_ACCESS_PRIV 0x0100L  /* Priv bit for PPP connection */
  5. #define PPP_PWD_LOOKUP  0x0200L  /* Priv bit for peerID/pass lookup */
  6. #define FILE_PATH_SIZE 128
  7.   
  8. /* External definitions for configuration-dependent file names set in
  9.  * files.c
  10.  */
  11. extern char *Startup;   /* Initialization file */
  12. extern char *Userfile;  /* Authorized FTP users and passwords */
  13. extern char *Hostfile;  /* Remote FTP user and password */
  14. extern char *Spoolqdir; /* Spool directory */
  15. extern char *Maillog;   /* mail log */
  16. extern char *Mailspool; /* Incoming mail */
  17. extern char *Mailqdir;  /* Outgoing mail spool */
  18. extern char *LogsDir;   /* Logs directory */
  19. extern char *Mailqueue; /* Outgoing mail work files */
  20. extern char *Routeqdir; /* queue for router */
  21. extern char *Alias; /* the alias file */
  22. extern char *Dfile; /* Domain cache */
  23. extern char *Fdir;  /* Finger info directory */
  24. extern char *Fdbase;        /* Finger database file */
  25. extern char *Pdbase;        /* Personal names database file (IW5DHE) */
  26. extern char *Arealist;      /* List of message areas */
  27. extern char *Helpdir;       /* Mailbox help file directory */
  28. extern char *CmdsHelpdir;   /* Console/Sysop commands help file directory */
  29. extern char *Motdfile;      /* Mailbox message of the day */
  30. extern char *Rewritefile;   /* Address rewrite file */
  31. extern char *Signature;     /* Mail signature file directory */
  32. extern char *Popusers;      /* POP user and password file */
  33. extern char *Newsdir;       /* News messages and NNTP data */
  34. extern char *Forwardfile;   /* Mail forwarding file */
  35. extern char *Historyfile;   /* Message ID history file */
  36. extern char *UDefaults;     /* User preference file */
  37. extern char *UDefbak;       /* Backup of preference file */
  38. extern char *Mregfile;      /* User registration message file */
  39. extern char *Cinfo;         /* Convers information file */
  40. extern char *Cinfobak;      /* Convers information backup */
  41. extern char *Channelfile;   /* Convers channel names */
  42. extern char *ConvMotd;      /* Convers motd file */
  43. extern char *Netromfile;    /* Netrom node save file */
  44. extern char *Onexit;        /* Cmds executed on exit */
  45. extern char *Expirefile;    /* Message expiration control file */
  46. extern char *Ftpmotd;       /* FTP message of the day */
  47. extern char *Naccess;       /* NNTPS access file (permissions) */
  48. extern char *Active;        /* NNTPS active file (name, max&min art#, flag) */
  49. extern char *Pointer;       /* NNTPS file of ng name and its dir */
  50. extern char *NInfo;
  51. extern char *Nhelp;
  52. extern char *History;       /* NNTP file of article msgids and timestamps */
  53. extern char *Forward;       /* NNTPS dir for unrecognized ng names */
  54. extern char *Poll;          /* NNTPS file of servername and time-last-contacted */
  55.   
  56. void initroot __ARGS((char *root));
  57. long userlogin __ARGS((char *name,char *pass,char **path,int len,
  58. int *pwdignore, char *defname));
  59. char *rootdircat __ARGS((char *filename));
  60. char *userlookup __ARGS((char *username,char **password,char **directory,
  61. long *permission,int32 *ip_address));
  62. int permcheck __ARGS((char *path,int op,char *file));
  63.   
  64. #endif  /* _FILES_H */
  65.   
  66.