mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-16 13:54:31 +00:00
25 lines
512 B
C
25 lines
512 B
C
/*
|
|
* Copyright (C) 2015-2016 Richard Hughes <richard@hughsie.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <glib-object.h>
|
|
#include <gio/gio.h>
|
|
|
|
#include "dfu-firmware.h"
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
DfuFirmwareFormat dfu_firmware_detect_raw (GBytes *bytes);
|
|
GBytes *dfu_firmware_to_raw (DfuFirmware *firmware,
|
|
GError **error);
|
|
gboolean dfu_firmware_from_raw (DfuFirmware *firmware,
|
|
GBytes *bytes,
|
|
DfuFirmwareParseFlags flags,
|
|
GError **error);
|
|
|
|
G_END_DECLS
|