index.html
Main Page
|
modules.html
Modules
|
namespaces.html
Namespace List
|
hierarchy.html
Class Hierarchy
|
annotated.html
Data Structures
|
dirs.html
Directories
|
files.html
File List
|
namespacemembers.html
Namespace Members
|
functions.html
Data Fields
|
pages.html
Related Pages
DBusTypeMark Struct Reference
The mark is a way to compress a
structDBusTypeReader.html
DBusTypeReader
; it isn't all that successful though.
#_details
More...
#include <
dbus-marshal-recursive_8h-source.html
dbus-marshal-recursive.h
>
Data Fields
group__DBusTypes.html#ga3
dbus_uint32_t
structDBusTypeMark.html#o0
type_pos_in_value_str
: 1
true if the type_pos is in value_str and not type_str
group__DBusTypes.html#ga3
dbus_uint32_t
structDBusTypeMark.html#o1
container_type
: 3
the "id" of the container type
group__DBusTypes.html#ga3
dbus_uint32_t
structDBusTypeMark.html#o2
array_len_offset
: 3
bytes back from start_pos that len ends
group__DBusTypes.html#ga3
dbus_uint32_t
structDBusTypeMark.html#o3
type_pos
: DBUS_MAXIMUM_MESSAGE_LENGTH_BITS
position in type_str
group__DBusTypes.html#ga3
dbus_uint32_t
structDBusTypeMark.html#o4
value_pos
: DBUS_MAXIMUM_MESSAGE_LENGTH_BITS
position in value_str
group__DBusTypes.html#ga3
dbus_uint32_t
structDBusTypeMark.html#o5
array_start_pos
: DBUS_MAXIMUM_MESSAGE_LENGTH_BITS
start of the array the reader was iterating over
Detailed Description
The mark is a way to compress a
structDBusTypeReader.html
DBusTypeReader
; it isn't all that successful though.
The idea was to use this for caching header fields in dbus-message.c. However now I'm thinking why not cache the actual values (e.g. char*) and if the field needs to be set or deleted, just linear search for it. Those operations are uncommon, and getting the values should be fast and not involve all this type reader nonsense.
todo.html#_todo000031
Todo:
DBusTypeMark isn't used right now and probably won't be, we should delete it
Definition at line
dbus-marshal-recursive_8h-source.html#l00051
51
of file
dbus-marshal-recursive_8h-source.html
dbus-marshal-recursive.h
.
The documentation for this struct was generated from the following file:
dbus-marshal-recursive_8h-source.html
dbus-marshal-recursive.h
Generated on Tue Sep 13 01:28:08 2005 for D-BUS by
http://www.doxygen.org/index.html
doxygen
1.4.4
