summaryrefslogtreecommitdiffstats
path: root/dbus/dbus-marshal-header.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-header.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-header.h')
-rw-r--r--dbus/dbus-marshal-header.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/dbus/dbus-marshal-header.h b/dbus/dbus-marshal-header.h
index fed2888b..837c937b 100644
--- a/dbus/dbus-marshal-header.h
+++ b/dbus/dbus-marshal-header.h
@@ -125,7 +125,8 @@ dbus_bool_t _dbus_header_load (DBusHeader *header,
const DBusString *str,
int start,
int len);
-
+void _dbus_header_byteswap (DBusHeader *header,
+ int new_order);