~ubuntu-branches/ubuntu/maverick/libvirt/maverick

« back to all changes in this revision

Viewing changes to src/vbox/vbox_XPCOMCGlue.h

Tags: upstream-0.6.4
Import upstream version 0.6.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/** @file vbox_XPCOMCGlue.h
 
2
 * Glue for dynamically linking with VBoxXPCOMC.
 
3
 */
 
4
 
 
5
/*
 
6
 * Copyright (C) 2008-2009 Sun Microsystems, Inc.
 
7
 *
 
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.
 
14
 *
 
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.
 
23
 *
 
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.
 
27
 */
 
28
 
 
29
#ifndef ___VBoxXPCOMC_cglue_h
 
30
#define ___VBoxXPCOMC_cglue_h
 
31
 
 
32
/* This has to be the oldest version we support. */
 
33
#include "vbox_CAPI_v2_2.h"
 
34
 
 
35
#ifdef __cplusplus
 
36
extern "C" {
 
37
#endif
 
38
 
 
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;
 
47
 
 
48
 
 
49
int VBoxCGlueInit(void);
 
50
void VBoxCGlueTerm(void);
 
51
 
 
52
 
 
53
#ifdef __cplusplus
 
54
}
 
55
#endif
 
56
 
 
57
#endif
 
58