30#include "dbus/dbus-asv-util.h"
211 if (!_dbus_asv_open_entry (arr_iter, &entry_iter, key,
218 _dbus_asv_abandon_entry (arr_iter, &entry_iter, &var_iter);
222 if (!_dbus_asv_close_entry (arr_iter, &entry_iter, &var_iter))
247 if (!_dbus_asv_open_entry (arr_iter, &entry_iter, key,
254 _dbus_asv_abandon_entry (arr_iter, &entry_iter, &var_iter);
258 if (!_dbus_asv_close_entry (arr_iter, &entry_iter, &var_iter))
283 if (!_dbus_asv_open_entry (arr_iter, &entry_iter, key,
290 _dbus_asv_abandon_entry (arr_iter, &entry_iter, &var_iter);
294 if (!_dbus_asv_close_entry (arr_iter, &entry_iter, &var_iter))
327 if (!_dbus_asv_open_entry (arr_iter, &entry_iter, key, type, &var_iter))
333 _dbus_asv_abandon_entry (arr_iter, &entry_iter, &var_iter);
341 _dbus_asv_abandon_entry (arr_iter, &entry_iter, &var_iter);
347 _dbus_asv_abandon_entry (arr_iter, &entry_iter, &var_iter);
351 if (!_dbus_asv_close_entry (arr_iter, &entry_iter, &var_iter))
376 return _dbus_asv_add_fixed_array (arr_iter, key,
DBUS_TYPE_BYTE, value,
402 if (!_dbus_asv_open_entry (arr_iter, &entry_iter, key,
409 _dbus_asv_abandon_entry (arr_iter, &entry_iter, &var_iter);
413 if (!_dbus_asv_close_entry (arr_iter, &entry_iter, &var_iter))
#define _dbus_assert(condition)
Aborts with an error message if the condition is false.
#define NULL
A null pointer, defined appropriately for C or C++.
#define TRUE
Expands to "1".
#define FALSE
Expands to "0".
dbus_bool_t dbus_message_iter_append_basic(DBusMessageIter *iter, int type, const void *value)
Appends a basic-typed value to the message.
dbus_bool_t dbus_message_iter_append_fixed_array(DBusMessageIter *iter, int element_type, const void *value, int n_elements)
Appends a block of fixed-length values to an array.
void dbus_message_iter_abandon_container(DBusMessageIter *iter, DBusMessageIter *sub)
Abandons creation of a contained-typed value and frees resources created by dbus_message_iter_open_co...
dbus_bool_t dbus_message_iter_open_container(DBusMessageIter *iter, int type, const char *contained_signature, DBusMessageIter *sub)
Appends a container-typed value to the message.
DBusMessage * dbus_message_new_method_return(DBusMessage *method_call)
Constructs a message that is a reply to a method call.
void dbus_message_unref(DBusMessage *message)
Decrements the reference count of a DBusMessage, freeing the message if the count reaches 0.
dbus_bool_t dbus_message_iter_close_container(DBusMessageIter *iter, DBusMessageIter *sub)
Closes a container-typed value appended to the message; may write out more information to the message...
void dbus_message_iter_init_append(DBusMessage *message, DBusMessageIter *iter)
Initializes a DBusMessageIter for appending arguments to the end of a message.
#define DBUS_TYPE_UNIX_FD_AS_STRING
DBUS_TYPE_UNIX_FD as a string literal instead of a int literal
#define DBUS_TYPE_OBJECT_PATH
Type code marking a D-Bus object path.
#define DBUS_TYPE_BYTE
Type code marking an 8-bit unsigned integer.
#define DBUS_TYPE_VARIANT
Type code marking a D-Bus variant type.
#define DBUS_TYPE_UNIX_FD
Type code marking a unix file descriptor.
#define DBUS_TYPE_STRING
Type code marking a UTF-8 encoded, nul-terminated Unicode string.
#define DBUS_TYPE_OBJECT_PATH_AS_STRING
DBUS_TYPE_OBJECT_PATH as a string literal instead of a int literal
#define DBUS_TYPE_ARRAY
Type code marking a D-Bus array type.
#define DBUS_TYPE_STRING_AS_STRING
DBUS_TYPE_STRING as a string literal instead of a int literal
#define DBUS_TYPE_DICT_ENTRY
Type code used to represent a dict entry; however, this type code does not appear in type signatures,...
#define DBUS_TYPE_UINT32_AS_STRING
DBUS_TYPE_UINT32 as a string literal instead of a int literal
#define DBUS_TYPE_UINT32
Type code marking a 32-bit unsigned integer.
dbus_bool_t dbus_type_is_fixed(int typecode)
Tells you whether values of this type can change length if you set them to some other value.
DBusMessageIter struct; contains no public fields.
Internals of DBusMessage.