Function

FwupdCodecstring_append_bool

since: 2.0.0

Declaration [src]

void
fwupd_codec_string_append_bool (
  GString* str,
  guint idt,
  const gchar* key,
  gboolean value
)

Description [src]

Appends a key and boolean value to a string.

Available since: 2.0.0

Parameters

str

Type: GString

A GString.

The data is owned by the caller of the function.
idt

Type: guint

The indent.

key

Type: const gchar*

A string to append.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
value

Type: gboolean

Boolean.