diff options
author | George Zhang <georgezhang@vmware.com> | 2013-01-09 03:54:23 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-01-09 04:15:55 +0400 |
commit | 1d990201f9bb499b7c76ab00abeb7e803c0bcb2a (patch) | |
tree | d4d1e6be4cdab3d73432a164ce494010dfc5c1c9 /drivers/misc/vmw_vmci/vmci_event.h | |
parent | 197dbaaabd51c170f9b77bd1c401d4ea0361bb7b (diff) | |
download | linux-1d990201f9bb499b7c76ab00abeb7e803c0bcb2a.tar.xz |
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.h | 25 |
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__ */ |