Method
Gio DBusMessageset_header
since: 2.26
Declaration [src]
void
g_dbus_message_set_header(
GDBusMessage*message,
GDBusMessageHeaderFieldheader_field,
GVariant*value
)
Description [src]
Sets a header field on message.
If value is floating, message assumes ownership of value.
Available since: 2.26
Parameters
header_field-
Type:
GDBusMessageHeaderFieldA 8-bit unsigned integer (typically a value from the
GDBusMessageHeaderFieldenumeration). value-
Type:
A
GVariantto set the header field orNULLto clear the header field.The argument can beNULL.The data is owned by the caller of the method.