summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd
diff options
context:
space:
mode:
authorPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-02-06 10:26:14 +0000
committerPierre-Yves Ritschard <pyr@cvs.openbsd.org>2007-02-06 10:26:14 +0000
commit2c066d4116dc5760df1eadc367cb8180e431af36 (patch)
tree1068b2fd76e3ff3b76ccd958d35b76dc1ea903fa /usr.sbin/relayd
parent29505116de99d5caffddb560a9daf4de550b0dd1 (diff)
now that check_http_code, check_http_digest and check_send_expect are
in check_tcp.c, prototype them in check_tcp.c ok reyk@
Diffstat (limited to 'usr.sbin/relayd')
-rw-r--r--usr.sbin/relayd/check_tcp.c6
-rw-r--r--usr.sbin/relayd/relayd.h9
2 files changed, 6 insertions, 9 deletions
diff --git a/usr.sbin/relayd/check_tcp.c b/usr.sbin/relayd/check_tcp.c
index ede50ce5729..010ad66fd18 100644
--- a/usr.sbin/relayd/check_tcp.c
+++ b/usr.sbin/relayd/check_tcp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: check_tcp.c,v 1.15 2007/02/03 20:24:21 reyk Exp $ */
+/* $OpenBSD: check_tcp.c,v 1.16 2007/02/06 10:26:13 pyr Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -43,6 +43,10 @@ void tcp_host_up(int, struct ctl_tcp_event *);
void tcp_send_req(int, short, void *);
void tcp_read_buf(int, short, void *);
+int check_http_code(struct ctl_tcp_event *);
+int check_http_digest(struct ctl_tcp_event *);
+int check_send_expect(struct ctl_tcp_event *);
+
void
check_tcp(struct ctl_tcp_event *cte)
{
diff --git a/usr.sbin/relayd/relayd.h b/usr.sbin/relayd/relayd.h
index 48f0d2557ee..12e4d389390 100644
--- a/usr.sbin/relayd/relayd.h
+++ b/usr.sbin/relayd/relayd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: relayd.h,v 1.20 2007/02/06 10:06:55 reyk Exp $ */
+/* $OpenBSD: relayd.h,v 1.21 2007/02/06 10:26:13 pyr Exp $ */
/*
* Copyright (c) 2006 Pierre-Yves Ritschard <pyr@spootnik.org>
@@ -360,13 +360,6 @@ void check_icmp(struct hoststated *, struct timeval *);
/* check_tcp.c */
void check_tcp(struct ctl_tcp_event *);
-/* check_http.c */
-int check_http_code(struct ctl_tcp_event *);
-int check_http_digest(struct ctl_tcp_event *);
-
-/* check_send_expect.c */
-int check_send_expect(struct ctl_tcp_event *);
-
/* ssl.c */
void ssl_init(struct hoststated *);
void ssl_transaction(struct ctl_tcp_event *);