summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-marshal-basic.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2005-01-02 00:37:24 +0000
committerHavoc Pennington <hp@redhat.com>2005-01-02 00:37:24 +0000
commit441907e73affff202c75564f4c4b968ff37f094b (patch)
tree7cb58d850facd9508a276276522a3402f7b8eeb3 /dbus/dbus-marshal-basic.h
parenta6580a59402ca09499f907601ad6535394e197f2 (diff)
add DBusTypeMark
Diffstat (limited to 'dbus/dbus-marshal-basic.h')
-rw-r--r--dbus/dbus-marshal-basic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dbus/dbus-marshal-basic.h b/dbus/dbus-marshal-basic.h
index 992e6764..9e78aa84 100644
--- a/dbus/dbus-marshal-basic.h
+++ b/dbus/dbus-marshal-basic.h
@@ -104,6 +104,10 @@
#define DBUS_STRUCT_END_CHAR_AS_STRING ")"
#define DBUS_MAXIMUM_SIGNATURE_LENGTH 255
+#define DBUS_MAXIMUM_ARRAY_LENGTH (67108864)
+#define DBUS_MAXIMUM_ARRAY_LENGTH_BITS 26
+#define DBUS_MAXIMUM_MESSAGE_LENGTH (DBUS_MAXIMUM_ARRAY_LENGTH * 2)
+#define DBUS_MAXIMUM_MESSAGE_LENGTH_BITS 27
static const char *
_hack_dbus_type_to_string (int type)