summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-marshal-basic.h
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2005-01-27 23:39:26 +0000
committerHavoc Pennington <hp@redhat.com>2005-01-27 23:39:26 +0000
commitfddbc09c4a9125fcb168fb31ff300d4132919ea6 (patch)
treeb9f9779991f96ea4207a6795679a2f55087ac8ed /dbus/dbus-marshal-basic.h
parent382d5ad0b4adf0070948fc2da623bc52894a7788 (diff)
2005-01-27 Havoc Pennington <hp@redhat.com>
* dbus/dbus-message.c: byteswap the message if you init an iterator to read/write from it * dbus/dbus-marshal-byteswap.c: new file implementing _dbus_marshal_byteswap() * dbus/dbus-marshal-basic.c: add _dbus_swap_array()
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 d8ded1ca..375f2a3e 100644
--- a/dbus/dbus-marshal-basic.h
+++ b/dbus/dbus-marshal-basic.h
@@ -218,4 +218,8 @@ const char* _dbus_type_to_string (int typecode);
int _dbus_first_type_in_signature (const DBusString *str,
int pos);
+void _dbus_swap_array (unsigned char *data,
+ int n_elements,
+ int alignment);
+
#endif /* DBUS_MARSHAL_BASIC_H */