home *** CD-ROM | disk | FTP | other *** search
- head 14020.11;
- access;
- symbols
- ORIGINAL:14020.11;
- locks; strict;
- comment @ * @;
-
-
- 14020.11
- date 93.05.21.05.45.31; author alph; state Exp;
- branches;
- next ;
-
-
- desc
- @Original version
- @
-
-
- 14020.11
- log
- @checked in with -k by alph at 1993/10/10 19:59:56
- @
- text
- @/* ftprc.h */
-
- #ifndef _ftprc_h_
- #define _ftprc_h_
-
- /* $RCSfile: ftprc.h,v $
- * $Revision: 14020.11 $
- * $Date: 93/05/21 05:45:31 $
- */
-
- #define NETRC "netrc"
- #define FTPRC "ncftprc"
-
- #define RC_DELIM " \n\t,"
-
- typedef struct site *siteptr;
- typedef struct site {
- char *name; /* name (or IP address) of site */
- siteptr next;
- } site;
-
- typedef struct recentsite {
- char *name; /* name (or IP address) of site */
- char *dir; /* directory we were in last time we called. */
- time_t lastcall; /* when this site was called last. */
- } recentsite;
-
- int thrash_rc(void);
- void AddNewSitePtr(char *word);
- int ruserpass2(char *host, char **user, char **pass, char **acct);
- void GetFullSiteName(char *host, char *lastdir);
- void ReadRecentSitesFile(void);
- void WriteRecentSitesFile(void);
- void AddRecentSite(char *host, char *lastdir);
- void UpdateRecentSitesList(char *host, char *lastdir);
- void PrintSiteList(void);
-
- #endif
- /* eof */
- @
-