FwupdPlugin.Firmware.export
Description: Reference for FwupdPlugin.Firmware.export

### Virtual Method

# FwupdPlugin Firmwareexport

since: 1.6.0

#### Declaration [src]

    void
    export (
      FuFirmware* self,
      guint64 flags,
      XbBuilderNode* bn
    )

#### Description [src]

This allows us to build an XML object for the nested firmware.

The image children will have a predictable order if the firmware has `FU_FIRMWARE_FLAG_DEDUPE_ID` or `FU_FIRMWARE_FLAG_DEDUPE_IDX` and `FU_FIRMWARE_EXPORT_FLAG_SORTED` is also used in `flags`.

Available since: 1.6.0

#### Parameters

`flags`

  Type: `guint64`

  Firmware export flags, e.g. `FU_FIRMWARE_EXPORT_FLAG_INCLUDE_DEBUG`.

`bn`

  Type: `XbBuilderNode`

  A Xmlb builder node.

  The data is owned by the caller of the method.