mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-18 00:31:54 +00:00
28 lines
592 B
C
28 lines
592 B
C
/*
|
|
* Copyright (C) 2015-2016 Richard Hughes <richard@hughsie.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#ifndef __DFU_FORMAT_IHEX_H
|
|
#define __DFU_FORMAT_IHEX_H
|
|
|
|
#include <glib-object.h>
|
|
#include <gio/gio.h>
|
|
|
|
#include "dfu-firmware.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
DfuFirmwareFormat dfu_firmware_detect_ihex (GBytes *bytes);
|
|
GBytes *dfu_firmware_to_ihex (DfuFirmware *firmware,
|
|
GError **error);
|
|
gboolean dfu_firmware_from_ihex (DfuFirmware *firmware,
|
|
GBytes *bytes,
|
|
DfuFirmwareParseFlags flags,
|
|
GError **error);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* __DFU_FORMAT_IHEX_H */
|