FwupdPlugin.Cabinet.parse

### Method

# FwupdPlugin Cabinetparse

#### Declaration [src]

    gboolean
    fu_cabinet_parse (
      FuCabinet* self,
      GBytes* data,
      FuCabinetParseFlags flags,
      GError** error
    )

#### Description [src]

Parses the cabinet archive.

Available since: | 1.4.0

#### Parameters

`data` | `GBytes`
| Cabinet archive.
| The data is owned by the caller of the function.
`flags` | `FuCabinetParseFlags`
| Parse flags, e.g. `FU_CABINET_PARSE_FLAG_NONE`.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `gboolean`
| `TRUE` for success.