1
/** @file vbox_XPCOMCGlue.h
2
* Glue for dynamically linking with VBoxXPCOMC.
6
* Copyright (C) 2008-2009 Sun Microsystems, Inc.
8
* This file is part of a free software library; you can redistribute
9
* it and/or modify it under the terms of the GNU Lesser General
10
* Public License version 2.1 as published by the Free Software
11
* Foundation and shipped in the "COPYING" file with this library.
12
* The library is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY of any kind.
15
* Sun LGPL Disclaimer: For the avoidance of doubt, except that if
16
* any license choice other than GPL or LGPL is available it will
17
* apply instead, Sun elects to use only the Lesser General Public
18
* License version 2.1 (LGPLv2) at this time for any software where
19
* a choice of LGPL license versions is made available with the
20
* language indicating that LGPLv2 or any later version may be used,
21
* or where a choice of which version of the LGPL is applied is
22
* otherwise unspecified.
24
* Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
25
* Clara, CA 95054 USA or visit http://www.sun.com if you need
26
* additional information or have any questions.
29
#ifndef ___VBoxXPCOMC_cglue_h
30
#define ___VBoxXPCOMC_cglue_h
32
/* This has to be the oldest version we support. */
33
#include "vbox_CAPI_v2_2.h"
39
/** The dlopen handle for VBoxXPCOMC. */
40
extern void *g_hVBoxXPCOMC;
41
/** The last load error. */
42
extern char g_szVBoxErrMsg[256];
43
/** Pointer to the VBoxXPCOMC function table. */
44
extern PCVBOXXPCOM g_pVBoxFuncs;
45
/** Pointer to VBoxGetXPCOMCFunctions for the loaded VBoxXPCOMC so/dylib/dll. */
46
extern PFNVBOXGETXPCOMCFUNCTIONS g_pfnGetFunctions;
49
int VBoxCGlueInit(void);
50
void VBoxCGlueTerm(void);