23 #ifndef DBUS_MESSAGE_PRIVATE_H 24 #define DBUS_MESSAGE_PRIVATE_H 26 #include <dbus/dbus-message.h> 27 #include <dbus/dbus-message-internal.h> 28 #include <dbus/dbus-string.h> 29 #include <dbus/dbus-dataslot.h> 30 #include <dbus/dbus-marshal-header.h> 77 #ifdef HAVE_UNIX_FD_PASSING 78 unsigned int unix_fds_outstanding : 1;
81 unsigned n_unix_fds_allocated;
83 void (* unix_fds_change) (
void *);
84 void *unix_fds_change_data;
90 #define CHANGED_STAMP_BITS 21 109 #ifndef DBUS_DISABLE_CHECKS 120 #ifndef DBUS_DISABLE_CHECKS 124 #ifdef HAVE_UNIX_FD_PASSING 130 unsigned n_unix_fds_allocated;
132 long unix_fd_counter_delta;
unsigned int dbus_uint32_t
A 32-bit unsigned integer on all platforms.
An atomic integer safe to increment or decrement from multiple threads.
dbus_uint32_t changed_stamp
Incremented when iterators are invalidated.
#define DBUS_BEGIN_DECLS
Macro used prior to declaring functions in the D-Bus header files.
DBusList * messages
Complete messages.
DBUS_PRIVATE_EXPORT dbus_bool_t _dbus_message_iter_get_args_valist(DBusMessageIter *iter, DBusError *error, int first_arg_type, va_list var_args)
Implementation of the varargs arg-getting functions.
DBusString body
Body network data.
DBusValidity
This is primarily used in unit testing, so we can verify that each invalid message is invalid for the...
DBusMessageIter struct; contains no public fields.
Internals of DBusMessage.
dbus_uint32_t dbus_bool_t
A boolean, valid values are TRUE and FALSE.
DBusHeader header
Header network data and associated cache.
DBusString data
Buffered data.
unsigned int locked
Message being sent, no modifications allowed.
long max_message_size
Maximum size of a message.
DBusList * counters
0-N DBusCounter used to track message size/unix fds.
long size_counter_delta
Size we incremented the size counters by.
#define CHANGED_STAMP_BITS
How many bits are in the changed_stamp used to validate iterators.
Object representing an exception.
unsigned int in_cache
Has been "freed" since it's in the cache (this is a debug feature)
Data structure that stores the actual user data set at a given slot.
long max_message_unix_fds
Maximum unix fds in a message.
unsigned int corrupted
We got broken data, and are no longer working.
DBusAtomic refcount
Reference count.
unsigned int buffer_outstanding
Someone is using the buffer to read.
int generation
_dbus_current_generation when message was created
int refcount
Reference count.
DBusValidity corruption_reason
why we were corrupted
Implementation details of DBusMessageLoader.
DBusDataSlotList slot_list
Data stored by allocated integer ID.
#define DBUS_END_DECLS
Macro used after declaring functions in the D-Bus header files.