diff options
author | Pierre-Yves Ritschard <pyr@cvs.openbsd.org> | 2007-02-06 10:26:14 +0000 |
---|---|---|
committer | Pierre-Yves Ritschard <pyr@cvs.openbsd.org> | 2007-02-06 10:26:14 +0000 |
commit | 2c066d4116dc5760df1eadc367cb8180e431af36 (patch) | |
tree | 1068b2fd76e3ff3b76ccd958d35b76dc1ea903fa /usr.sbin/hoststated | |
parent | 29505116de99d5caffddb560a9daf4de550b0dd1 (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/hoststated')
-rw-r--r-- | usr.sbin/hoststated/check_tcp.c | 6 | ||||
-rw-r--r-- | usr.sbin/hoststated/hoststated.h | 9 |
2 files changed, 6 insertions, 9 deletions
diff --git a/usr.sbin/hoststated/check_tcp.c b/usr.sbin/hoststated/check_tcp.c index ede50ce5729..010ad66fd18 100644 --- a/usr.sbin/hoststated/check_tcp.c +++ b/usr.sbin/hoststated/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/hoststated/hoststated.h b/usr.sbin/hoststated/hoststated.h index 7c8297562f0..35a58e3e6a7 100644 --- a/usr.sbin/hoststated/hoststated.h +++ b/usr.sbin/hoststated/hoststated.h @@ -1,4 +1,4 @@ -/* $OpenBSD: hoststated.h,v 1.20 2007/02/06 10:06:55 reyk Exp $ */ +/* $OpenBSD: hoststated.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 *); |