summaryrefslogtreecommitdiff
path: root/sys/dev/cons.h
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>2001-03-01 20:54:37 +0000
committerNiels Provos <provos@cvs.openbsd.org>2001-03-01 20:54:37 +0000
commit950a6333d90c04783291b2f77e89257bc6df966e (patch)
tree0d452c7deda41df938a0f8d009e3f850249b8eb8 /sys/dev/cons.h
parent9027db9730b3cc9c6f973b4e6fbdf6b353260158 (diff)
port kqueue changes from freebsd, plus all required openbsd glue.
okay deraadt@, millert@ from jlemon@freebsd.org: extend kqueue down to the device layer, backwards compatible approach suggested by peter@freebsd.org
Diffstat (limited to 'sys/dev/cons.h')
-rw-r--r--sys/dev/cons.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/cons.h b/sys/dev/cons.h
index b8e6a6a53a6..14adef8e9ae 100644
--- a/sys/dev/cons.h
+++ b/sys/dev/cons.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cons.h,v 1.6 1998/06/17 14:58:34 mickey Exp $ */
+/* $OpenBSD: cons.h,v 1.7 2001/03/01 20:54:33 provos Exp $ */
/* $NetBSD: cons.h,v 1.14 1996/03/14 19:08:35 christos Exp $ */
/*
@@ -72,6 +72,8 @@ struct consdev {
extern struct consdev constab[];
extern struct consdev *cn_tab;
+struct knote;
+
void cninit __P((void));
int cnset __P((dev_t));
int cnopen __P((dev_t, int, int, struct proc *));
@@ -80,6 +82,7 @@ int cnread __P((dev_t, struct uio *, int));
int cnwrite __P((dev_t, struct uio *, int));
int cnioctl __P((dev_t, u_long, caddr_t, int, struct proc *));
int cnselect __P((dev_t, int, struct proc *));
+int cnkqfilter __P((dev_t, struct knote *));
int cngetc __P((void));
void cnputc __P((int));
void cnpollc __P((int));