/*
 * Copyright 2019 Richard Hughes <richard@hughsie.com>
 * Copyright 2019 Synaptics Inc
 *
 * SPDX-License-Identifier: LGPL-2.1-or-later
 */

#pragma once

#include <fwupdplugin.h>

#define FU_TYPE_SYNAPROM_FIRMWARE (fu_synaprom_firmware_get_type())

#define FU_SYNAPROM_FIRMWARE_PROMETHEUS_SIGSIZE 0x100
#define FU_SYNAPROM_FIRMWARE_TRITON_SIGSIZE	0x180

G_DECLARE_FINAL_TYPE(FuSynapromFirmware, fu_synaprom_firmware, FU, SYNAPROM_FIRMWARE, FuFirmware)

FuFirmware *
fu_synaprom_firmware_new(void);
guint32
fu_synaprom_firmware_get_product_id(FuSynapromFirmware *self);
gboolean
fu_synaprom_firmware_set_signature_size(FuSynapromFirmware *self, guint32 signature_size);
