pauthent.h
资源名称:socks5.zip [点击查看]
上传用户:sddyfurun
上传日期:2007-01-04
资源大小:525k
文件大小:1k
源码类别:
代理服务器
开发平台:
Unix_Linux
- /*
- * Copyright (c) 1989, 1990, 1991 by the University of Washington
- *
- * For copying and distribution information, please see the file
- * <copyright.h>.
- */
- #include <copyright.h>
- #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 <netinet/in.h>
- # 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;