Struct

FwupdPluginCborItem

Description

struct FuCborItem {
  /* No available fields */
}

No description available.

Functions

fu_cbor_item_kind_to_string

Converts an enumerated value to a string.

fu_cbor_item_new_array

Creates a CBOR object representing an array.

since: 2.1.2

fu_cbor_item_new_boolean

Creates a CBOR object representing a boolean.

since: 2.1.2

fu_cbor_item_new_bytes

Creates a CBOR object representing a byte string.

since: 2.1.2

fu_cbor_item_new_integer

Creates a CBOR object representing an integer.

since: 2.1.2

fu_cbor_item_new_map

Creates a CBOR object representing a map, usually a dictionary.

since: 2.1.2

fu_cbor_item_new_string

Creates a CBOR object representing a string.

since: 2.1.2

Instance methods

fu_cbor_item_array_append

Adds an item to a CBOR object.

since: 2.1.2

fu_cbor_item_array_index

Gets a specific item in an array.

since: 2.1.2

fu_cbor_item_array_length

Gets the length of the CBOR array.

since: 2.1.2

fu_cbor_item_get_boolean

Gets an integer from a CBOR item.

since: 2.1.2

fu_cbor_item_get_bytes

Gets a raw bytestring from a CBOR item.

since: 2.1.2

fu_cbor_item_get_integer

Gets an integer from a CBOR item.

since: 2.1.2

fu_cbor_item_get_kind

Get the CBOR item kind.

since: 2.1.2

fu_cbor_item_get_string

Gets a string from a CBOR item.

since: 2.1.2

fu_cbor_item_map_append

Adds key-value items to a CBOR map.

since: 2.1.2

fu_cbor_item_map_index

Gets a specific pair from a map.

since: 2.1.2

fu_cbor_item_map_length

Gets the length of the CBOR map.

since: 2.1.2

fu_cbor_item_ref

Increases the reference count of a CBOR object.

since: 2.1.2

fu_cbor_item_to_string

Converts a CBOR item to a debug string.

since: 2.1.2

fu_cbor_item_unref

Decreases the reference count of a CBOR object.

since: 2.1.2

fu_cbor_item_write

Writes CBOR items into a buffer.

since: 2.1.2