mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
GDBus: Make message serialization routines take capabilities param
This is needed to e.g. allow encoding maybe types (once we add G_DBUS_CAPABILITY_FLAGS_MAYBE_TYPES) if, and only if, that capability has been negotiated with the peer (via authentication).
This commit is contained in:
@@ -158,6 +158,7 @@ const gchar *g_dbus_message_get_arg0 (GDBusMessage
|
||||
|
||||
GDBusMessage *g_dbus_message_new_from_blob (guchar *blob,
|
||||
gsize blob_len,
|
||||
GDBusCapabilityFlags capabilities,
|
||||
GError **error);
|
||||
|
||||
gssize g_dbus_message_bytes_needed (guchar *blob,
|
||||
@@ -166,6 +167,7 @@ gssize g_dbus_message_bytes_needed (guchar
|
||||
|
||||
guchar *g_dbus_message_to_blob (GDBusMessage *message,
|
||||
gsize *out_size,
|
||||
GDBusCapabilityFlags capabilities,
|
||||
GError **error);
|
||||
|
||||
gboolean g_dbus_message_to_gerror (GDBusMessage *message,
|
||||
|
Reference in New Issue
Block a user