summaryrefslogtreecommitdiffstats
path: root/drivers/misc/vmw_vmci/vmci_event.h
diff options
context:
space:
mode:
authorGeorge Zhang2013-01-09 00:54:23 +0100
committerGreg Kroah-Hartman2013-01-09 01:15:55 +0100
commit1d990201f9bb499b7c76ab00abeb7e803c0bcb2a (patch)
treed4d1e6be4cdab3d73432a164ce494010dfc5c1c9 /drivers/misc/vmw_vmci/vmci_event.h
parentVMCI: device driver implementaton. (diff)
downloadkernel-qcow2-linux-1d990201f9bb499b7c76ab00abeb7e803c0bcb2a.tar.gz
kernel-qcow2-linux-1d990201f9bb499b7c76ab00abeb7e803c0bcb2a.tar.xz
kernel-qcow2-linux-1d990201f9bb499b7c76ab00abeb7e803c0bcb2a.zip
VMCI: event handling implementation.
VMCI event code that manages event handlers and handles callbacks when specific events fire. Signed-off-by: George Zhang <georgezhang@vmware.com> Acked-by: Andy king <acking@vmware.com> Acked-by: Dmitry Torokhov <dtor@vmware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/vmw_vmci/vmci_event.h')
-rw-r--r--drivers/misc/vmw_vmci/vmci_event.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/drivers/misc/vmw_vmci/vmci_event.h b/drivers/misc/vmw_vmci/vmci_event.h
new file mode 100644
index 000000000000..7df9b1c0a96c
--- /dev/null
+++ b/drivers/misc/vmw_vmci/vmci_event.h
@@ -0,0 +1,25 @@
+/*
+ * VMware VMCI Driver
+ *
+ * Copyright (C) 2012 VMware, Inc. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation version 2 and no later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+ * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ */
+
+#ifndef __VMCI_EVENT_H__
+#define __VMCI_EVENT_H__
+
+#include <linux/vmw_vmci_api.h>
+
+int vmci_event_init(void);
+void vmci_event_exit(void);
+int vmci_event_dispatch(struct vmci_datagram *msg);
+
+#endif /*__VMCI_EVENT_H__ */