diff options
Diffstat (limited to 'dispatch.h')
-rw-r--r-- | dispatch.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/dispatch.h b/dispatch.h index a82e2165b..3e3d1a1ad 100644 --- a/dispatch.h +++ b/dispatch.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dispatch.h,v 1.9 2002/01/11 13:39:36 markus Exp $ */ | 1 | /* $OpenBSD: dispatch.h,v 1.11 2006/04/20 09:27:09 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. | 4 | * Copyright (c) 2000 Markus Friedl. All rights reserved. |
@@ -23,6 +23,9 @@ | |||
23 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 23 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
24 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 24 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
25 | */ | 25 | */ |
26 | |||
27 | #include <signal.h> | ||
28 | |||
26 | enum { | 29 | enum { |
27 | DISPATCH_BLOCK, | 30 | DISPATCH_BLOCK, |
28 | DISPATCH_NONBLOCK | 31 | DISPATCH_NONBLOCK |
@@ -33,6 +36,6 @@ typedef void dispatch_fn(int, u_int32_t, void *); | |||
33 | void dispatch_init(dispatch_fn *); | 36 | void dispatch_init(dispatch_fn *); |
34 | void dispatch_set(int, dispatch_fn *); | 37 | void dispatch_set(int, dispatch_fn *); |
35 | void dispatch_range(u_int, u_int, dispatch_fn *); | 38 | void dispatch_range(u_int, u_int, dispatch_fn *); |
36 | void dispatch_run(int, int *, void *); | 39 | void dispatch_run(int, volatile sig_atomic_t *, void *); |
37 | void dispatch_protocol_error(int, u_int32_t, void *); | 40 | void dispatch_protocol_error(int, u_int32_t, void *); |
38 | void dispatch_protocol_ignore(int, u_int32_t, void *); | 41 | void dispatch_protocol_ignore(int, u_int32_t, void *); |