home *** CD-ROM | disk | FTP | other *** search
- /*********************************************************************\
- * Copyright (c) 1991 by Wen-King Su (wen-king@vlsi.cs.caltech.edu) *
- * *
- * You may copy or modify this file in any manner you wish, provided *
- * that this notice is always included, and that you hold the author *
- * harmless for any loss or damage resulting from the installation or *
- * use of this software. *
- \*********************************************************************/
-
- #include "common_def.h"
-
- /****************************************************************************
- * HTAB is structure for storing client information for one client machine.
- * They makes it easy to reuse regular unix tool's source for new purposes.
- ****************************************************************************/
-
- typedef struct HTAB HTAB;
-
- struct HTAB { unsigned long inet_num; /* inet number of client */
- unsigned long last_acc; /* last sucessful access time*/
- unsigned short next_key; /* next key client should use*/
- unsigned short last_key; /* previous key client used */
- unsigned short acc_cnt; /* number of successful acc */
- unsigned short active:1; /* session continuing. */
- unsigned short inhibit:1; }; /* deny access permission. */
-
- extern init_htab();
- extern HTAB *find_host();
- extern char *check_path();
-
- extern char *server_make_dir();
- extern char *server_del_dir();
- extern char *server_del_file();
- extern char *server_get_dir();
- extern char *server_get_file();
- extern char *server_get_pro();
- extern char *server_set_pro();
- extern char *server_up_load();
- extern char *server_install();
-
- extern int dbug;
- extern char *home_dir;
-