aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bhyve/mevent.h
diff options
context:
space:
mode:
authorVincenzo Maffione <vmaffione@FreeBSD.org>2019-11-03 19:02:32 +0000
committerVincenzo Maffione <vmaffione@FreeBSD.org>2019-11-03 19:02:32 +0000
commit3e11768ee18b3e3c4604021baa7f5cdd52aebdfb (patch)
tree630953ec5b31dfda72ef7c70310c8f5b3856d2a1 /usr.sbin/bhyve/mevent.h
parent14d726374bd9662236f01b8124b8f2aa5dc09049 (diff)
Notes
Diffstat (limited to 'usr.sbin/bhyve/mevent.h')
-rw-r--r--usr.sbin/bhyve/mevent.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/bhyve/mevent.h b/usr.sbin/bhyve/mevent.h
index e6b96f0a7c88..503ec415a3b5 100644
--- a/usr.sbin/bhyve/mevent.h
+++ b/usr.sbin/bhyve/mevent.h
@@ -43,6 +43,9 @@ struct mevent;
struct mevent *mevent_add(int fd, enum ev_type type,
void (*func)(int, enum ev_type, void *),
void *param);
+struct mevent *mevent_add_disabled(int fd, enum ev_type type,
+ void (*func)(int, enum ev_type, void *),
+ void *param);
int mevent_enable(struct mevent *evp);
int mevent_disable(struct mevent *evp);
int mevent_delete(struct mevent *evp);