#include <dbus-string-private.h>
Data Fields | |
| unsigned char * | str | 
| String data, plus nul termination.  | |
| int | len | 
| Length without nul.  | |
| int | allocated | 
| Allocated size of data.  | |
| int | max_length | 
| Max length of this string, without nul byte.  | |
| unsigned int | constant: 1 | 
| String data is not owned by DBusString.  | |
| unsigned int | locked: 1 | 
| DBusString has been locked and can't be changed.  | |
| unsigned int | invalid: 1 | 
| DBusString is invalid (e.g.   | |
| unsigned int | align_offset: 3 | 
| str - align_offset is the actual malloc block  | |
DBusString internals. DBusString is an opaque objects, it must be used via accessor functions.
Definition at line 44 of file dbus-string-private.h.
| unsigned int DBusRealString::invalid | 
DBusString is invalid (e.g.
already freed)
Definition at line 52 of file dbus-string-private.h.
Referenced by _dbus_string_init_const_len(), and _dbus_string_init_preallocated().
 1.5.1