summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-protocol.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@codefactory.se>2003-01-06 22:09:16 +0000
committerAnders Carlsson <andersca@codefactory.se>2003-01-06 22:09:16 +0000
commit5175ad00e1d648a89efdf8d397b31bf84fd203c8 (patch)
treefd610f81616ccc7309a43e4eee8206d6c5e08abf /dbus/dbus-protocol.h
parent5cf7ec5c399537b89fdbf6637413c4d2c002f4a4 (diff)
2003-01-07 Anders Carlsson <andersca@codefactory.se>
* dbus/dbus-marshal.c: (_dbus_marshal_string), (_dbus_demarshal_string), (_dbus_marshal_test): * dbus/dbus-marshal.h: Document these functions. * dbus/dbus-message.c: (dbus_message_get_name), (dbus_message_append_int32), (dbus_message_append_uint32), (dbus_message_append_double), (dbus_message_append_string), (dbus_message_append_byte_array): * dbus/dbus-message.h: Add functions for adding message fields of different types. * dbus/dbus-protocol.h: Add the different types.
Diffstat (limited to 'dbus/dbus-protocol.h')
-rw-r--r--dbus/dbus-protocol.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/dbus/dbus-protocol.h b/dbus/dbus-protocol.h
index 0e009241..e1a17b54 100644
--- a/dbus/dbus-protocol.h
+++ b/dbus/dbus-protocol.h
@@ -36,6 +36,17 @@ extern "C" {
#define DBUS_LITTLE_ENDIAN ('l') /* LSB first */
#define DBUS_BIG_ENDIAN ('B') /* MSB first */
+/* 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_UTF8_STRING 8
+
#ifdef __cplusplus
}
#endif