home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume34 / ncftp / part02 / ftprc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-08  |  423 b   |  25 lines

  1. /* ftprc.h */
  2.  
  3. #ifndef _ftprc_h_
  4. #define _ftprc_h_
  5.  
  6. #ifndef RCNAME
  7. #define RCNAME "netrc"
  8. #endif
  9.  
  10. #define RC_DELIM " \n\t,"
  11.  
  12. typedef struct site *siteptr;
  13. typedef struct site {
  14.     char *name;            /* name (or IP address) of site */
  15.     siteptr next;
  16. } site;
  17.  
  18. int thrash_rc(void);
  19. void AddNewSitePtr(char *word);
  20. int ruserpass2(char *host, char **user, char **pass, char **acct);
  21. void GetFullSiteName(char *host);
  22.  
  23. #endif
  24. /* eof */
  25.