dbus.h revision e64031e20c39650a7bc902a3e1aba613b9415dee
5856c5b39318bc766ccd6f823f1349c80a3dcfaavboxsync * Module to dynamically load libdbus and load all symbols
5856c5b39318bc766ccd6f823f1349c80a3dcfaavboxsync * which are needed by 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.
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"
ff98d1430ee87b5bbf43e4054bf433d70b163e26vboxsync/* Primitive types */
ff98d1430ee87b5bbf43e4054bf433d70b163e26vboxsync/* Compound types */
5856c5b39318bc766ccd6f823f1349c80a3dcfaavboxsynctypedef enum
5856c5b39318bc766ccd6f823f1349c80a3dcfaavboxsynctypedef DBusHandlerResult (*DBusHandleMessageFunction) (DBusConnection *,
5856c5b39318bc766ccd6f823f1349c80a3dcfaavboxsynctypedef void (*DBusFreeFunction) (void *);
5856c5b39318bc766ccd6f823f1349c80a3dcfaavboxsync/* Declarations of the functions that we need from libdbus-1 */
ff98d1430ee87b5bbf43e4054bf433d70b163e26vboxsync#endif /* ___VBox_DBus_h not defined */
5856c5b39318bc766ccd6f823f1349c80a3dcfaavboxsync/* vi: set tabstop=4 shiftwidth=4 expandtab: */