Top | ![]() |
![]() |
![]() |
![]() |
void | galago_dbus_message_iter_append_string_or_nil () |
const char * | galago_dbus_message_iter_get_string_or_nil () |
void | galago_dbus_message_iter_append_object () |
void | galago_dbus_message_iter_append_object_list () |
void * | galago_dbus_message_iter_get_object () |
GList * | galago_dbus_message_iter_get_object_list () |
DBusMessage * | galago_dbus_message_new_method_call () |
DBusMessage * | galago_dbus_message_new_method_call_vargs () |
DBusMessage * | galago_dbus_message_new_method_call_args () |
void | galago_dbus_send_message () |
GList * | galago_dbus_send_message_with_reply_list () |
void * | galago_dbus_send_message_with_reply () |
void | galago_dbus_object_push_full () |
#define | GALAGO_DBUS_SERVICE |
#define | GALAGO_DBUS_ERROR_INVALID_ATTRIBUTE |
#define | GALAGO_DBUS_ERROR_OBJECT_NOT_FOUND |
A set of Galago-specific utility functions for working with D-BUS. These functions should be considered semi-public, but are expected to change in time.
void galago_dbus_message_iter_append_string_or_nil (DBusMessageIter *iter
,const char *str
);
Appends a string to a message, or an empty string if the passed string is NULL.
const char *
galago_dbus_message_iter_get_string_or_nil
(DBusMessageIter *iter
);
Returns a string that the iterator points to. If the returned string is an empty string (""), this returns NULL.
void galago_dbus_message_iter_append_object (DBusMessageIter *iter
,const GalagoObject *object
);
Appends an object to a D-BUS message.
void galago_dbus_message_iter_append_object_list (DBusMessageIter *iter
,GType type
,GList *list
);
Appends a list of objects to a D-BUS message.
void * galago_dbus_message_iter_get_object (DBusMessageIter *iter
,GType type
);
Returns an object of the specified type from a D-BUS message.
GList * galago_dbus_message_iter_get_object_list (DBusMessageIter *iter
,GType type
);
Returns a list of objects of the specified type from a D-BUS message. The returned list must be destroyed.
DBusMessage * galago_dbus_message_new_method_call (const GalagoObject *object
,const char *name
,gboolean reply
,DBusMessageIter *ret_iter
);
Creates a D-BUS message to the specified object.
DBusMessage * galago_dbus_message_new_method_call_vargs (const GalagoObject *object
,const char *name
,gboolean reply
,va_list args
);
Creates a D-BUS message to the specified object with a va_list of parameters.
DBusMessage * galago_dbus_message_new_method_call_args (const GalagoObject *object
,const char *name
,gboolean reply
,...
);
Creates a D-BUS message to the specified object with a list of parameters.
The parameters passed are in GalagoValue, pointer-to-data form.
void galago_dbus_send_message (const GalagoObject *object
,const char *name
,...
);
Sends a new D-BUS message with an object, name, and parameters.
The parameters passed are in GalagoValue, pointer-to-data form.
GList * galago_dbus_send_message_with_reply_list (const GalagoObject *object
,const char *name
,GList *return_types
,...
);
Sends a new D-BUS message with an object, name, and parameters, and waits for a reply with a variable list of return types.
The parameters passed are in GalagoValue, pointer-to-data form.
void * galago_dbus_send_message_with_reply (const GalagoObject *object
,const char *name
,GalagoValue *return_type
,...
);
Sends a new D-BUS message with an object, name, and parameters, and waits for a reply.
The parameters passed are in GalagoValue, pointer-to-data form.
void
galago_dbus_object_push_full (GalagoObject *object
);
Pushes an object and all its internal data to the server.
This is meant for internal use.