dbus.h revision 1003ebeb480229ce94b8f381fbd03412f844b193
f9b086a7629afa88e4848c334a3b50c5812b924cvboxsync * Module to dynamically load libdbus and load all symbols which are needed by
f9b086a7629afa88e4848c334a3b50c5812b924cvboxsync * VirtualBox.
e64031e20c39650a7bc902a3e1aba613b9415deevboxsync * Copyright (C) 2008 Oracle Corporation
5856c5b39318bc766ccd6f823f1349c80a3dcfaavboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
5856c5b39318bc766ccd6f823f1349c80a3dcfaavboxsync * available from http://www.virtualbox.org. This file is free software;
5856c5b39318bc766ccd6f823f1349c80a3dcfaavboxsync * you can redistribute it and/or modify it under the terms of the GNU
5856c5b39318bc766ccd6f823f1349c80a3dcfaavboxsync * General Public License (GPL) as published by the Free Software
5856c5b39318bc766ccd6f823f1349c80a3dcfaavboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
5856c5b39318bc766ccd6f823f1349c80a3dcfaavboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
5856c5b39318bc766ccd6f823f1349c80a3dcfaavboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
8f22303f06a6aeb6f4e186f9db1492ec13d9fcecvboxsync * The contents of this file may alternatively be used under the terms
8f22303f06a6aeb6f4e186f9db1492ec13d9fcecvboxsync * of the Common Development and Distribution License Version 1.0
8f22303f06a6aeb6f4e186f9db1492ec13d9fcecvboxsync * (CDDL) only, as it comes in the "COPYING.CDDL" file of the
8f22303f06a6aeb6f4e186f9db1492ec13d9fcecvboxsync * VirtualBox OSE distribution, in which case the provisions of the
8f22303f06a6aeb6f4e186f9db1492ec13d9fcecvboxsync * CDDL are applicable instead of those of the GPL.
8f22303f06a6aeb6f4e186f9db1492ec13d9fcecvboxsync * You may elect to license modified versions of this file under the
8f22303f06a6aeb6f4e186f9db1492ec13d9fcecvboxsync * terms and conditions of either the GPL or the CDDL or both.
f9b086a7629afa88e4848c334a3b50c5812b924cvboxsync# error "This header requires C++ to avoid name clashes."
5856c5b39318bc766ccd6f823f1349c80a3dcfaavboxsync/** Types and defines from the dbus header files which we need. These are
5856c5b39318bc766ccd6f823f1349c80a3dcfaavboxsync * taken more or less verbatim from the DBus public interface header files. */
5856c5b39318bc766ccd6f823f1349c80a3dcfaavboxsync const char *name;
5856c5b39318bc766ccd6f823f1349c80a3dcfaavboxsync const char *message;
5856c5b39318bc766ccd6f823f1349c80a3dcfaavboxsynctypedef enum { DBUS_BUS_SESSON, DBUS_BUS_SYSTEM, DBUS_BUS_STARTER } DBusBusType;
ff98d1430ee87b5bbf43e4054bf433d70b163e26vboxsync#define DBUS_ERROR_NO_MEMORY "org.freedesktop.DBus.Error.NoMemory"
1003ebeb480229ce94b8f381fbd03412f844b193vboxsync/* Message types. */
1003ebeb480229ce94b8f381fbd03412f844b193vboxsync/* Primitive types. */
1003ebeb480229ce94b8f381fbd03412f844b193vboxsync/* Compound types. */
5856c5b39318bc766ccd6f823f1349c80a3dcfaavboxsynctypedef enum
f9b086a7629afa88e4848c334a3b50c5812b924cvboxsynctypedef DBusHandlerResult (* DBusHandleMessageFunction)(DBusConnection *,
f9b086a7629afa88e4848c334a3b50c5812b924cvboxsynctypedef void (* DBusFreeFunction) (void *);
5856c5b39318bc766ccd6f823f1349c80a3dcfaavboxsync/* Declarations of the functions that we need from libdbus-1 */
ff98d1430ee87b5bbf43e4054bf433d70b163e26vboxsync#endif /* ___VBox_DBus_h not defined */