DBusMessage Struct Reference
[DBusMessage implementation details]

Internals of DBusMessage. More...

#include <dbus-message-private.h>


Data Fields

DBusAtomic refcount
 Reference count.
DBusHeader header
 Header network data and associated cache.
DBusString body
 Body network data.
char byte_order
 Message byte order.
unsigned int locked: 1
 Message being sent, no modifications allowed.
unsigned int in_cache: 1
 Has been "freed" since it's in the cache (this is a debug feature).
DBusListcounters
 0-N DBusCounter used to track message size/unix fds.
long size_counter_delta
 Size we incremented the size counters by.
dbus_uint32_t changed_stamp: CHANGED_STAMP_BITS
 Incremented when iterators are invalidated.
DBusDataSlotList slot_list
 Data stored by allocated integer ID.
int generation
 _dbus_current_generation when message was created
int * unix_fds
 Unix file descriptors associated with this message.
unsigned n_unix_fds
 Number of valid fds in the array.
unsigned n_unix_fds_allocated
 Allocated size of the array.
long unix_fd_counter_delta
 Size we incremented the unix fd counter by.


Detailed Description

Internals of DBusMessage.

Object representing a message received from or to be sent to another application. This is an opaque object, all members are private.

Definition at line 97 of file dbus-message-private.h.


Field Documentation

DBusString DBusMessage::body

Message byte order.

Definition at line 105 of file dbus-message-private.h.

Referenced by dbus_message_copy(), dbus_message_iter_init(), and dbus_message_iter_init_append().

unsigned int DBusMessage::locked

0-N DBusCounter used to track message size/unix fds.

Definition at line 113 of file dbus-message-private.h.

Referenced by _dbus_message_add_counter_link(), and _dbus_message_remove_counter().

Size we incremented the size counters by.

Definition at line 114 of file dbus-message-private.h.

Referenced by _dbus_message_add_counter_link(), and _dbus_message_remove_counter().

Incremented when iterators are invalidated.

Definition at line 116 of file dbus-message-private.h.

Unix file descriptors associated with this message.

These are closed when the message is destroyed, hence make sure to dup() them when adding or removing them here.

Definition at line 126 of file dbus-message-private.h.

Referenced by _dbus_message_get_unix_fds(), _dbus_message_iter_get_args_valist(), dbus_message_copy(), and dbus_message_iter_get_basic().


The documentation for this struct was generated from the following file:

Generated on Tue Mar 14 10:35:34 2017 for D-Bus by  doxygen 1.5.6