Gio.DBusMessage.get_header_fields

### Method

# Gio DBusMessageget_header_fields

since: 2.26

#### Declaration [src]

    guchar*
    g_dbus_message_get_header_fields (
      GDBusMessage* message
    )

#### Description [src]

Gets an array of all header fields on `message` that are set.

Each element in the array is an `unsigned char`.

Available since: 2.26

#### Return value

Type: An array of `guchar`

An array of header fields terminated by `G_DBUS_MESSAGE_HEADER_FIELD_INVALID`.

The array is `NULL`-terminated.
The caller of the method takes ownership of the returned data container, but not the data inside it.