Make this compile on 32-bit architectures:

- Add prototypes.
- Add a forward-decl to avoid a cyclic dependency graph.
This commit is contained in:
thorpej 1997-05-27 01:23:50 +00:00
parent 03e37a1874
commit faeb45fcca

View File

@ -5,7 +5,7 @@
* provided that this notice is preserved and due credit is given
* to the original author and the contributors.
*
* $Id: ip_proxy.h,v 1.1.1.1 1997/05/26 15:18:15 darrenr Exp $
* $Id: ip_proxy.h,v 1.2 1997/05/27 01:23:50 thorpej Exp $
*/
#ifndef __IP_PROXY_H__
@ -19,6 +19,7 @@
#define AP_SESS_SIZE 53
struct nat;
struct ipnat;
typedef struct ap_tcp {
u_short apt_sport; /* source port */
@ -85,5 +86,6 @@ extern void ap_free __P((aproxy_t *));
extern void aps_free __P((ap_session_t *));
extern int ap_check __P((ip_t *, tcphdr_t *, fr_info_t *, struct nat *));
extern aproxy_t *ap_match __P((char, char *));
extern int ap_ok __P((ip_t *, tcphdr_t *, struct ipnat *));
#endif /* __IP_PROXY_H__ */