www.pudn.com > socks5.zip > pauthent.h


/* 
 * Copyright (c) 1989, 1990, 1991 by the University of Washington 
 * 
 * For copying and distribution information, please see the file 
 * . 
 */ 
 
#include  
 
#define PFSA_UNAUTHENTICATED		1 
 
struct pfs_auth_info { 
    char			auth_type[100]; 
    char			authenticator[250]; 
}; 
 
typedef struct pfs_auth_info *PAUTH; 
typedef struct pfs_auth_info PAUTH_ST; 
 
PAUTH get_pauth(); 
 
#ifndef IN_H 
# include  
# define IN_H 
#endif 
 
struct client_info { 
    int				ainfo_type; 
    char			*auth_type; 
    char			*authenticator; 
    char			*userid; 
    short			port; 
    struct in_addr		haddr; 
    struct pfs_auth_info	*previous; 
    struct pfs_auth_info	*next; 
}; 
 
typedef struct client_info *CINFO; 
typedef struct client_info CINFO_ST;