fwupd/plugins/ebitdo/fu-ebitdo-firmware.h
Richard Hughes 7f1b8e7dce ebitdo: Modernize the plugin to use FuFirmware
This allows us to do three things:

* Fuzz the loader with `fwupdtool firmware-parse`
* Check the firmware *before* the hardware is put into bootloader mode
* Use FuChunk to build the 32 byte payload chunks
2019-10-31 09:21:35 -05:00

15 lines
359 B
C

/*
* Copyright (C) 2016-2019 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#pragma once
#include "fu-firmware.h"
#define FU_TYPE_EBITDO_FIRMWARE (fu_ebitdo_firmware_get_type ())
G_DECLARE_FINAL_TYPE (FuEbitdoFirmware, fu_ebitdo_firmware, FU, EBITDO_FIRMWARE, FuFirmware)
FuFirmware *fu_ebitdo_firmware_new (void);