home *** CD-ROM | disk | FTP | other *** search
/ Super Net 1 / SUPERNET_1.iso / PC / OTROS / UNIX / ARCHIE / CLIENTS / XARCHIE0.TAR / pauthent.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-08-27  |  693 b   |  35 lines

  1. /*
  2.  * Copyright (c) 1989, 1990, 1991 by the University of Washington
  3.  *
  4.  * For copying and distribution information, please see the file
  5.  * <copyright.h>.
  6.  */
  7.  
  8. #include <copyright.h>
  9.  
  10. #define PFSA_UNAUTHENTICATED        1
  11.  
  12. struct pfs_auth_info {
  13.     char            auth_type[100];
  14.     char            authenticator[250];
  15. };
  16.  
  17. typedef struct pfs_auth_info *PAUTH;
  18. typedef struct pfs_auth_info PAUTH_ST;
  19.  
  20. PAUTH get_pauth();
  21.  
  22. struct client_info {
  23.     int                ainfo_type;
  24.     char            *auth_type;
  25.     char            *authenticator;
  26.     char            *userid;
  27.     short            port;
  28.     long            haddr;
  29.     struct pfs_auth_info    *previous;
  30.     struct pfs_auth_info    *next;
  31. };
  32.  
  33. typedef struct client_info *CINFO;
  34. typedef struct client_info CINFO_ST;
  35.