/* @file
*
* Host Channel
*/
/*
* Copyright (C) 2012 Oracle Corporation
*
* This file is part of VirtualBox Open Source Edition (OSE), as
* available from http://www.virtualbox.org. This file is free software;
* General Public License (GPL) as published by the Free Software
* Foundation, in version 2 as it comes in the "COPYING" file of the
* VirtualBox OSE distribution. VirtualBox OSE is distributed in the
* hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
*/
#ifndef __VBOXHOSTCHANNEL__H
#define __VBOXHOSTCHANNEL__H
#ifdef DEBUG_sunlover
#endif /* DEBUG_sunlover */
struct VBOXHOSTCHCTX;
typedef struct VBOXHOSTCHCLIENT
{
struct {
} async;
/*
* The service functions. Locking is between the service thread and the host channel provider thread.
*/
int vboxHostChannelLock(void);
void vboxHostChannelUnlock(void);
int vboxHostChannelInit(void);
void vboxHostChannelDestroy(void);
const char *pszName,
const void *pvData,
void *pvData,
void *pvParm,
void *pvData,
bool *pfEvent,
const char *pszName,
void *pvParm,
void *pvData,
int vboxHostChannelRegister(const char *pszName,
const VBOXHOSTCHANNELINTERFACE *pInterface,
int vboxHostChannelUnregister(const char *pszName);
const void *pvEvent,
const void *pvEvent,
#endif /* __VBOXHOSTCHANNEL__H */