VirtualBox

Changeset 43790 in vbox for trunk/include


Ignore:
Timestamp:
Nov 1, 2012 1:23:10 PM (12 years ago)
Author:
vboxsync
Message:

VBox/dbus: Added some more defines and proxy stubs.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

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

    r36555 r43790  
    4343 RT_PROXY_STUB(dbus_error_free, void, (DBusError *error), \
    4444                 (error)) \
     45 RT_PROXY_STUB(dbus_free_string_array, void, (char **str_array), \
     46                 (str_array)) \
    4547 RT_PROXY_STUB(dbus_connection_unref, void, (DBusConnection *connection), \
    4648                 (connection)) \
     
    6971                 (DBusMessage *message, int first_arg_type, va_list var_args), \
    7072                 (message, first_arg_type, var_args)) \
     73 RT_PROXY_STUB(dbus_message_get_args_valist, dbus_bool_t, \
     74                 (DBusMessage *message, DBusError *error, int first_arg_type, va_list var_args), \
     75                 (message, error, first_arg_type, var_args)) \
     76 RT_PROXY_STUB(dbus_message_get_type, int, \
     77                 (DBusMessage *message), \
     78                 (message)) \
    7179 RT_PROXY_STUB(dbus_message_iter_open_container, dbus_bool_t, \
    7280                 (DBusMessageIter *iter, int type, const char *contained_signature, DBusMessageIter *sub), \
     
    124132                 (message, string1, string2)) \
    125133 RT_PROXY_STUB(dbus_connection_pop_message, DBusMessage *, \
    126                  (DBusConnection *connection), (connection))
     134                 (DBusConnection *connection), (connection)) \
     135 RT_PROXY_STUB(dbus_set_error_from_message, dbus_bool_t, \
     136                 (DBusError *error, DBusMessage *message), (error, message))
    127137
    128138#ifdef VBOX_DBUS_GENERATE_HEADER
  • trunk/include/VBox/dbus.h

    r36567 r43790  
    8181#define DBUS_ERROR_NO_MEMORY                "org.freedesktop.DBus.Error.NoMemory"
    8282
    83 /* Primitive types */
     83/* Message types. */
     84#define DBUS_MESSAGE_TYPE_INVALID           0
     85#define DBUS_MESSAGE_TYPE_METHOD_CALL       1
     86#define DBUS_MESSAGE_TYPE_METHOD_RETURN     2
     87#define DBUS_MESSAGE_TYPE_ERROR             3
     88#define DBUS_MESSAGE_TYPE_SIGNAL            4
     89
     90/* Primitive types. */
    8491#define DBUS_TYPE_INVALID                   ((int) '\0')
    8592#define DBUS_TYPE_INT32                     ((int) 'i')
     
    8895#define DBUS_TYPE_STRING_AS_STRING          "s"
    8996
    90 /* Compound types */
     97/* Compound types. */
     98#define DBUS_TYPE_OBJECT_PATH               ((int) 'o')
    9199#define DBUS_TYPE_ARRAY                     ((int) 'a')
    92100#define DBUS_TYPE_ARRAY_AS_STRING           "a"
     
    113121
    114122#endif /* ___VBox_DBus_h not defined */
    115 /* vi: set tabstop=4 shiftwidth=4 expandtab: */
    116123
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