summaryrefslogtreecommitdiff
path: root/dispatch.h
diff options
context:
space:
mode:
Diffstat (limited to 'dispatch.h')
-rw-r--r--dispatch.h7
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
26enum { 29enum {
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 *);
33void dispatch_init(dispatch_fn *); 36void dispatch_init(dispatch_fn *);
34void dispatch_set(int, dispatch_fn *); 37void dispatch_set(int, dispatch_fn *);
35void dispatch_range(u_int, u_int, dispatch_fn *); 38void dispatch_range(u_int, u_int, dispatch_fn *);
36void dispatch_run(int, int *, void *); 39void dispatch_run(int, volatile sig_atomic_t *, void *);
37void dispatch_protocol_error(int, u_int32_t, void *); 40void dispatch_protocol_error(int, u_int32_t, void *);
38void dispatch_protocol_ignore(int, u_int32_t, void *); 41void dispatch_protocol_ignore(int, u_int32_t, void *);