home *** CD-ROM | disk | FTP | other *** search
/ Super Net 1 / SUPERNET_1.iso / PC / OTROS / UNIX / ARCHIE / CLIENTS / XARCHIE2.TAR / pauthent.h < prev    next >
Encoding:
C/C++ Source or Header  |  1991-11-02  |  746 b   |  39 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. #ifndef VMS
  23. #include <netinet/in.h>
  24. #endif
  25.  
  26. struct client_info {
  27.     int                ainfo_type;
  28.     char            *auth_type;
  29.     char            *authenticator;
  30.     char            *userid;
  31.     short            port;
  32.     struct in_addr        haddr;
  33.     struct pfs_auth_info    *previous;
  34.     struct pfs_auth_info    *next;
  35. };
  36.  
  37. typedef struct client_info *CINFO;
  38. typedef struct client_info CINFO_ST;
  39.