validate.h
资源名称:socks5.zip [点击查看]
上传用户:sddyfurun
上传日期:2007-01-04
资源大小:525k
文件大小:1k
源码类别:
代理服务器
开发平台:
Unix_Linux
- /* Copyright (c) 1995,1996,1997 NEC Corporation. All rights reserved. */
- /* */
- /* The redistribution, use and modification in source or binary forms of */
- /* this software is subject to the conditions set forth in the copyright */
- /* document ("Copyright") included with this distribution. */
- /*
- * $Id: validate.h,v 1.12.4.1 1998/07/19 22:58:36 wlu Exp $
- */
- /* This file contains all the prototypes for validation and configuration */
- /* file information... */
- #ifndef VALIDATE_H
- #define VALIDATE_H
- #include "confutil.h"
- extern void ReadConfig P((void)); /* (Re)read and parse the config file */
- extern int Authorize P((S5LinkInfo *, int));
- extern int GetAuths P((S5LinkInfo *, list **));
- extern int GetRoute P((const S5NetAddr *, const char *, char *, S5NetAddr *));
- extern int GetProxy P((const S5NetAddr *, const char *, char *, S5NetAddr *, int *, u_char *));
- extern int GetFilter P((S5LinkInfo *, char *));
- #endif