VirtualBox

Changeset 23864 in vbox


Ignore:
Timestamp:
Oct 19, 2009 12:28:11 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53633
Message:

VBox Runtime/D-Bus: Missing declarations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/dbus.h

    r23860 r23864  
    2121 */
    2222
    23 #ifndef ____H_VBOX_DBUS
    24 #define ____H_VBOX_DBUS
     23#ifndef ___VBox_DBus_h
     24#define ___VBox_DBus_h
    2525
    2626#include <stdint.h>
     
    6767typedef struct DBusMessageIter DBusMessageIter;
    6868
    69 #define DBUS_ERROR_NO_MEMORY                  "org.freedesktop.DBus.Error.NoMemory"
    70 #define DBUS_TYPE_INVALID       ((int) '\0')
    71 #define DBUS_TYPE_STRING        ((int) 's')
    72 #define DBUS_TYPE_ARRAY         ((int) 'a')
    73 #define DBUS_TYPE_DICT_ENTRY    ((int) 'e')
     69#define DBUS_ERROR_NO_MEMORY                "org.freedesktop.DBus.Error.NoMemory"
     70
     71/* Primitive types */
     72#define DBUS_TYPE_INVALID                   ((int) '\0')
     73#define DBUS_TYPE_INT32                     ((int) 'i')
     74#define DBUS_TYPE_UINT32                    ((int) 'u')
     75#define DBUS_TYPE_STRING                    ((int) 's')
     76#define DBUS_TYPE_STRING_AS_STRING          "s"
     77
     78/* Compound types */
     79#define DBUS_TYPE_ARRAY                     ((int) 'a')
     80#define DBUS_TYPE_ARRAY_AS_STRING           "a"
     81#define DBUS_TYPE_DICT_ENTRY                ((int) 'e')
     82#define DBUS_TYPE_DICT_ENTRY_AS_STRING      "e"
    7483
    7584typedef enum
     
    101110RTR3DECL(int) RTDBusLoadLib(void);
    102111
    103 #endif /* ____H_VBOX_DBUS not defined */
     112#endif /* ___VBox_DBus_h not defined */
    104113/* vi: set tabstop=4 shiftwidth=4 expandtab: */
    105114
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette