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
dir_000004.html
dbus
dbus-marshal-recursive.h
00001
/* -*- mode: C; c-file-style: "gnu" -*- */
00002
/* dbus-marshal-recursive.h  Marshalling routines for recursive types
00003
*
00004
* Copyright (C) 2004, 2005 Red Hat, Inc.
00005
*
00006
* Licensed under the Academic Free License version 2.1
00007
*
00008
* This program is free software; you can redistribute it and/or modify
00009
* it under the terms of the GNU General Public License as published by
00010
* the Free Software Foundation; either version 2 of the License, or
00011
* (at your option) any later version.
00012
*
00013
* This program is distributed in the hope that it will be useful,
00014
* but WITHOUT ANY WARRANTY; without even the implied warranty of
00015
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016
* GNU General Public License for more details.
00017
*
00018
* You should have received a copy of the GNU General Public License
00019
* along with this program; if not, write to the Free Software
00020
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00021
*
00022
*/
00023
00024
#ifndef DBUS_MARSHAL_RECURSIVE_H
00025
#define DBUS_MARSHAL_RECURSIVE_H
00026
00027
#include <config.h>
00028
#include <dbus/dbus-protocol.h>
00029
#include <dbus/dbus-list.h>
00030
00031
#ifndef PACKAGE
00032
#error "config.h not included here"
00033
#endif
00034
00035
typedef
struct
structDBusTypeMark.html
DBusTypeMark
DBusTypeMark;
00036
typedef
struct
structDBusTypeReader.html
DBusTypeReader
DBusTypeReader;
00037
typedef
struct
structDBusTypeWriter.html
DBusTypeWriter
DBusTypeWriter;
00038
typedef
struct
structDBusTypeReaderClass.html
DBusTypeReaderClass
DBusTypeReaderClass;
00039
typedef
struct
structDBusArrayLenFixup.html
DBusArrayLenFixup
DBusArrayLenFixup;
00040
structDBusTypeMark.html
00051
struct
DBusTypeMark
00052 {
structDBusTypeMark.html#o0
00053
group__DBusTypes.html#ga3
dbus_uint32_t
structDBusTypeMark.html#o0
type_pos_in_value_str
: 1;
structDBusTypeMark.html#o1
00054
group__DBusTypes.html#ga3
dbus_uint32_t
structDBusTypeMark.html#o1
container_type
: 3;
structDBusTypeMark.html#o2
00055
group__DBusTypes.html#ga3
dbus_uint32_t
structDBusTypeMark.html#o2
array_len_offset
: 3;
structDBusTypeMark.html#o3
00056
group__DBusTypes.html#ga3
dbus_uint32_t
structDBusTypeMark.html#o3
type_pos
: DBUS_MAXIMUM_MESSAGE_LENGTH_BITS;
structDBusTypeMark.html#o4
00057
group__DBusTypes.html#ga3
dbus_uint32_t
structDBusTypeMark.html#o4
value_pos
: DBUS_MAXIMUM_MESSAGE_LENGTH_BITS;
structDBusTypeMark.html#o5
00058
group__DBusTypes.html#ga3
dbus_uint32_t
structDBusTypeMark.html#o5
array_start_pos
: DBUS_MAXIMUM_MESSAGE_LENGTH_BITS;
00059 };
00060
structDBusTypeReader.html
00065
struct
DBusTypeReader
00066 {
structDBusTypeReader.html#o0
00067
group__DBusTypes.html#ga3
dbus_uint32_t
structDBusTypeReader.html#o0
byte_order
: 8;
structDBusTypeReader.html#o1
00069
group__DBusTypes.html#ga3
dbus_uint32_t
structDBusTypeReader.html#o1
finished
: 1;
structDBusTypeReader.html#o2
00072
group__DBusTypes.html#ga3
dbus_uint32_t
structDBusTypeReader.html#o2
array_len_offset
: 3;
structDBusTypeReader.html#o3
00073
const
structDBusString.html
DBusString
*
structDBusTypeReader.html#o3
type_str
;
structDBusTypeReader.html#o4
00074
int
structDBusTypeReader.html#o4
type_pos
;
structDBusTypeReader.html#o5
00075
const
structDBusString.html
DBusString
*
structDBusTypeReader.html#o5
value_str
;
structDBusTypeReader.html#o6
00076
int
structDBusTypeReader.html#o6
value_pos
;
structDBusTypeReader.html#o7
00078
const
DBusTypeReaderClass *
structDBusTypeReader.html#o7
klass
;
00079
union
00080
{
00081
struct
{
structDBusTypeReader.html#o8
00082
int
structDBusTypeReader.html#o8
start_pos
;
00083     } array;
00084   }
structDBusTypeReader.html#o10
u
;
00085 };
00086
structDBusTypeWriter.html
00090
struct
DBusTypeWriter
00091 {
structDBusTypeWriter.html#o0
00092
group__DBusTypes.html#ga3
dbus_uint32_t
structDBusTypeWriter.html#o0
byte_order
: 8;
structDBusTypeWriter.html#o1
00094
group__DBusTypes.html#ga3
dbus_uint32_t
structDBusTypeWriter.html#o1
container_type
: 8;
structDBusTypeWriter.html#o2
00096
group__DBusTypes.html#ga3
dbus_uint32_t
structDBusTypeWriter.html#o2
type_pos_is_expectation
: 1;
structDBusTypeWriter.html#o3
00098
group__DBusTypes.html#ga3
dbus_uint32_t
structDBusTypeWriter.html#o3
enabled
: 1;
structDBusTypeWriter.html#o4
00100
structDBusString.html
DBusString
*
structDBusTypeWriter.html#o4
type_str
;
structDBusTypeWriter.html#o5
00101
int
structDBusTypeWriter.html#o5
type_pos
;
structDBusTypeWriter.html#o6
00102
structDBusString.html
DBusString
*
structDBusTypeWriter.html#o6
value_str
;
structDBusTypeWriter.html#o7
00103
int
structDBusTypeWriter.html#o7
value_pos
;
00105
union
00106
{
00107
struct
{
structDBusTypeWriter.html#o8
00108
int
structDBusTypeWriter.html#o8
start_pos
;
structDBusTypeWriter.html#o9
00109
int
structDBusTypeWriter.html#o9
len_pos
;
structDBusTypeWriter.html#o10
00110
int
structDBusTypeWriter.html#o10
element_type_pos
;
00111     } array;
00112   }
structDBusTypeWriter.html#o12
u
;
00113 };
00114
structDBusArrayLenFixup.html
00119
struct
DBusArrayLenFixup
00120 {
structDBusArrayLenFixup.html#o0
00121
int
structDBusArrayLenFixup.html#o0
len_pos_in_reader
;
structDBusArrayLenFixup.html#o1
00122
int
structDBusArrayLenFixup.html#o1
new_len
;
00123 };
00124
00125
void
group__DBusMarshal.html#ga104
_dbus_type_reader_init
(DBusTypeReader        *reader,
00126
int
byte_order,
00127
const
structDBusString.html
DBusString
*type_str,
00128
int
type_pos,
00129
const
structDBusString.html
DBusString
*value_str,
00130
int
value_pos);
00131
void
group__DBusMarshal.html#ga105
_dbus_type_reader_init_from_mark
(DBusTypeReader        *reader,
00132
int
byte_order,
00133
const
structDBusString.html
DBusString
*type_str,
00134
const
structDBusString.html
DBusString
*value_str,
00135
const
DBusTypeMark    *mark);
00136
void
group__DBusMarshal.html#ga106
_dbus_type_reader_init_types_only
(DBusTypeReader        *reader,
00137
const
structDBusString.html
DBusString
*type_str,
00138
int
type_pos);
00139
void
group__DBusMarshal.html#ga107
_dbus_type_reader_init_types_only_from_mark
(DBusTypeReader        *reader,
00140
const
structDBusString.html
DBusString
*type_str,
00141
const
DBusTypeMark    *mark);
00142
void
group__DBusMarshal.html#ga108
_dbus_type_reader_save_mark
(
const
DBusTypeReader  *reader,
00143                                                          DBusTypeMark          *mark);
00144
int
group__DBusMarshal.html#ga109
_dbus_type_reader_get_current_type
(
const
DBusTypeReader  *reader);
00145
int
group__DBusMarshal.html#ga110
_dbus_type_reader_get_element_type
(
const
DBusTypeReader  *reader);
00146
int
group__DBusMarshal.html#ga111
_dbus_type_reader_get_value_pos
(
const
DBusTypeReader  *reader);
00147
void
group__DBusMarshal.html#ga113
_dbus_type_reader_read_basic
(
const
DBusTypeReader  *reader,
00148
void
*value);
00149
int
group__DBusMarshal.html#ga114
_dbus_type_reader_get_array_length
(
const
DBusTypeReader  *reader);
00150
void
group__DBusMarshal.html#ga115
_dbus_type_reader_read_fixed_multi
(
const
DBusTypeReader  *reader,
00151
void
*value,
00152
int
*n_elements);
00153
void
group__DBusMarshal.html#ga112
_dbus_type_reader_read_raw
(
const
DBusTypeReader  *reader,
00154
const
unsigned
char
**value_location);
00155
void
group__DBusMarshal.html#ga116
_dbus_type_reader_recurse
(DBusTypeReader        *reader,
00156                                                          DBusTypeReader        *subreader);
00157
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusMarshal.html#ga117
_dbus_type_reader_next
(DBusTypeReader        *reader);
00158
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusMarshal.html#ga118
_dbus_type_reader_has_next
(
const
DBusTypeReader  *reader);
00159
void
group__DBusMarshal.html#ga119
_dbus_type_reader_get_signature
(
const
DBusTypeReader  *reader,
00160
const
structDBusString.html
DBusString
**str_p,
00161
int
*start_p,
00162
int
*len_p);
00163
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusMarshal.html#ga125
_dbus_type_reader_set_basic
(DBusTypeReader        *reader,
00164
const
void
*value,
00165
const
DBusTypeReader  *realign_root);
00166
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusMarshal.html#ga126
_dbus_type_reader_delete
(DBusTypeReader        *reader,
00167
const
DBusTypeReader  *realign_root);
00168
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusMarshal.html#ga127
_dbus_type_reader_greater_than
(
const
DBusTypeReader  *lhs,
00169
const
DBusTypeReader  *rhs);
00170
00171
group__DBusTypes.html#ga2
dbus_bool_t
_dbus_type_reader_equal_values              (
const
DBusTypeReader *lhs,
00172
const
DBusTypeReader *rhs);
00173
00174
void
group__DBusMarshal.html#ga96
_dbus_type_signature_next
(
const
char
*signature,
00175
int
*type_pos);
00176
00177
void
group__DBusMarshal.html#ga128
_dbus_type_writer_init
(DBusTypeWriter        *writer,
00178
int
byte_order,
00179
structDBusString.html
DBusString
*type_str,
00180
int
type_pos,
00181
structDBusString.html
DBusString
*value_str,
00182
int
value_pos);
00183
void
group__DBusMarshal.html#ga129
_dbus_type_writer_init_types_delayed
(DBusTypeWriter        *writer,
00184
int
byte_order,
00185
structDBusString.html
DBusString
*value_str,
00186
int
value_pos);
00187
void
group__DBusMarshal.html#ga130
_dbus_type_writer_add_types
(DBusTypeWriter        *writer,
00188
structDBusString.html
DBusString
*type_str,
00189
int
type_pos);
00190
void
group__DBusMarshal.html#ga131
_dbus_type_writer_remove_types
(DBusTypeWriter        *writer);
00191
void
group__DBusMarshal.html#ga132
_dbus_type_writer_init_values_only
(DBusTypeWriter        *writer,
00192
int
byte_order,
00193
const
structDBusString.html
DBusString
*type_str,
00194
int
type_pos,
00195
structDBusString.html
DBusString
*value_str,
00196
int
value_pos);
00197
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusMarshal.html#ga144
_dbus_type_writer_write_basic
(DBusTypeWriter        *writer,
00198
int
type,
00199
const
void
*value);
00200
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusMarshal.html#ga145
_dbus_type_writer_write_fixed_multi
(DBusTypeWriter        *writer,
00201
int
element_type,
00202
const
void
*value,
00203
int
n_elements);
00204
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusMarshal.html#ga140
_dbus_type_writer_recurse
(DBusTypeWriter        *writer,
00205
int
container_type,
00206
const
structDBusString.html
DBusString
*contained_type,
00207
int
contained_type_start,
00208                                                     DBusTypeWriter        *sub);
00209
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusMarshal.html#ga143
_dbus_type_writer_unrecurse
(DBusTypeWriter        *writer,
00210                                                     DBusTypeWriter        *sub);
00211
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusMarshal.html#ga141
_dbus_type_writer_append_array
(DBusTypeWriter        *writer,
00212
const
structDBusString.html
DBusString
*contained_type,
00213
int
contained_type_start,
00214                                                     DBusTypeWriter        *sub);
00215
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusMarshal.html#ga150
_dbus_type_writer_write_reader
(DBusTypeWriter        *writer,
00216                                                     DBusTypeReader        *reader);
00217
group__DBusTypes.html#ga2
dbus_bool_t
group__DBusMarshal.html#ga149
_dbus_type_writer_write_reader_partial
(DBusTypeWriter        *writer,
00218                                                     DBusTypeReader        *reader,
00219
const
DBusTypeReader  *start_after,
00220
int
start_after_new_pos,
00221
int
start_after_new_len,
00222
structDBusList.html
DBusList
**fixups);
00223
void
group__DBusMarshal.html#ga151
_dbus_type_writer_set_enabled
(DBusTypeWriter        *writer,
00224
group__DBusTypes.html#ga2
dbus_bool_t
enabled);
00225
00226
00227
#endif
/* DBUS_MARSHAL_RECURSIVE_H */
Generated on Tue Sep 13 01:28:07 2005 for D-BUS by
http://www.doxygen.org/index.html
doxygen
1.4.4
