D-Bus 1.15.8
Data Fields
DBusRealString Struct Reference

Internals of DBusString. More...

#include <dbus-string-private.h>

Data Fields

unsigned char * str
 String data, plus nul termination. More...
 
int len
 Length without nul. More...
 
int allocated
 Allocated size of data. More...
 
unsigned int constant: 1
 String data is not owned by DBusString. More...
 
unsigned int locked: 1
 DBusString has been locked and can't be changed. More...
 
unsigned int valid: 1
 DBusString is valid (initialized and not freed) More...
 
unsigned int align_offset: 3
 str - align_offset is the actual malloc block More...
 

Detailed Description

Internals of DBusString.

DBusString internals. DBusString is an opaque objects, it must be used via accessor functions.

Definition at line 45 of file dbus-string-private.h.

Field Documentation

◆ align_offset

unsigned int DBusRealString::align_offset

str - align_offset is the actual malloc block

Definition at line 53 of file dbus-string-private.h.

Referenced by _dbus_string_free(), _dbus_string_init_const_len(), and _dbus_string_zero().

◆ allocated

int DBusRealString::allocated

◆ constant

unsigned int DBusRealString::constant

String data is not owned by DBusString.

Definition at line 50 of file dbus-string-private.h.

Referenced by _dbus_string_free(), and _dbus_string_init_const_len().

◆ len

int DBusRealString::len

◆ locked

unsigned int DBusRealString::locked

DBusString has been locked and can't be changed.

Definition at line 51 of file dbus-string-private.h.

Referenced by _dbus_string_free(), and _dbus_string_init_const_len().

◆ str

unsigned char* DBusRealString::str

◆ valid

unsigned int DBusRealString::valid

DBusString is valid (initialized and not freed)

Definition at line 52 of file dbus-string-private.h.

Referenced by _dbus_string_free(), and _dbus_string_init_const_len().


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