Function

FwupdPlugincoswid_write_tag_string

since: 1.9.17

Declaration [src]

void
fu_coswid_write_tag_string (
  FuCborItem* item,
  FuCoswidTag tag,
  const gchar* value
)

Description [src]

Writes a string tag value.

Available since: 1.9.17

Parameters

item

Type: FuCborItem

A FuCborItem.

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

Type: FuCoswidTag

A FuCoswidTag, e.g. FU_COSWID_TAG_PAYLOAD.

value

Type: const gchar*

String.

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