mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 06:33:41 +02:00
GDBusMessage: Add a way to get/set byte order of a message
Also use this in the test cases to check that serialization to and from both big and little endian works. Signed-off-by: David Zeuthen <davidz@redhat.com>
This commit is contained in:
@@ -59,6 +59,10 @@ GDBusMessage *g_dbus_message_new_method_error_literal (GDBusMessage
|
||||
gchar *g_dbus_message_print (GDBusMessage *message,
|
||||
guint indent);
|
||||
|
||||
GDBusMessageByteOrder g_dbus_message_get_byte_order (GDBusMessage *message);
|
||||
void g_dbus_message_set_byte_order (GDBusMessage *message,
|
||||
GDBusMessageByteOrder byte_order);
|
||||
|
||||
GDBusMessageType g_dbus_message_get_message_type (GDBusMessage *message);
|
||||
void g_dbus_message_set_message_type (GDBusMessage *message,
|
||||
GDBusMessageType type);
|
||||
|
Reference in New Issue
Block a user