diff options
author | Anders Carlsson <andersca@codefactory.se> | 2003-01-21 14:07:09 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@codefactory.se> | 2003-01-21 14:07:09 +0000 |
commit | 9e1199fed2c96fe305a27e5d3d4e1950ed2f0d0f (patch) | |
tree | 273f2d661f6e0d9f7debf2a60dcb076f66811e65 /dbus/dbus-protocol.h | |
parent | aff24a72c18a43dbb6f2d85e6d2226a3c2ea8f10 (diff) |
2003-01-21 Anders Carlsson <andersca@codefactory.se>
* dbus/dbus-marshal.c: (_dbus_marshal_double),
(_dbus_marshal_int32), (_dbus_marshal_uint32),
(_dbus_marshal_int32_array), (_dbus_marshal_uint32_array),
(_dbus_marshal_double_array), (_dbus_marshal_string_array),
(_dbus_demarshal_int32_array), (_dbus_demarshal_uint32_array),
(_dbus_demarshal_double_array), (_dbus_demarshal_string_array),
(_dbus_marshal_get_field_end_pos), (_dbus_marshal_test):
* dbus/dbus-marshal.h:
* dbus/dbus-protocol.h:
Add support for marshalling and demarshalling integer, double
and string arrays.
Diffstat (limited to 'dbus/dbus-protocol.h')
-rw-r--r-- | dbus/dbus-protocol.h | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/dbus/dbus-protocol.h b/dbus/dbus-protocol.h index 76ffa52c..fb0169cd 100644 --- a/dbus/dbus-protocol.h +++ b/dbus/dbus-protocol.h @@ -38,15 +38,18 @@ extern "C" { /* Data types */ #define DBUS_TYPE_INVALID 0 -#define DBUS_TYPE_INT32 1 -#define DBUS_TYPE_UINT32 2 -#define DBUS_TYPE_DOUBLE 3 -#define DBUS_TYPE_INT32_ARRAY 4 -#define DBUS_TYPE_UINT32_ARRAY 5 -#define DBUS_TYPE_DOUBLE_ARRAY 6 -#define DBUS_TYPE_BYTE_ARRAY 7 -#define DBUS_TYPE_STRING 8 +#define DBUS_TYPE_NIL 1 +#define DBUS_TYPE_INT32 2 +#define DBUS_TYPE_UINT32 3 +#define DBUS_TYPE_DOUBLE 4 +#define DBUS_TYPE_STRING 5 +#define DBUS_TYPE_INT32_ARRAY 6 +#define DBUS_TYPE_UINT32_ARRAY 7 +#define DBUS_TYPE_DOUBLE_ARRAY 8 +#define DBUS_TYPE_BYTE_ARRAY 9 +#define DBUS_TYPE_STRING_ARRAY 10 +# /* Header fields */ #define DBUS_HEADER_FIELD_NAME "name" #define DBUS_HEADER_FIELD_SERVICE "srvc" |