home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume22 / archie / part01 / pauthent.h < prev    next >
C/C++ Source or Header  |  1991-08-21  |  699b  |  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.  * <uw-copyright.h>.
  6.  */
  7.  
  8. #include <uw-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.