mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-02 13:24:30 +00:00

This feature adds support for platform capability BOS descriptors which allows the device itself to ship quirk data. Use `sudo fwupdtool get-devices --save-backends=FILENAME` to save fake backend devices to a file. This allows easy creation of self tests that do not require physical hardware.
23 lines
421 B
C
23 lines
421 B
C
/*
|
|
* Copyright (C) 2022 Richard Hughes <richard@hughsie.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "fu-backend.h"
|
|
|
|
gboolean
|
|
fu_backend_load(FuBackend *self,
|
|
JsonObject *json_object,
|
|
const gchar *tag,
|
|
FuBackendLoadFlags flags,
|
|
GError **error);
|
|
gboolean
|
|
fu_backend_save(FuBackend *self,
|
|
JsonBuilder *json_builder,
|
|
const gchar *tag,
|
|
FuBackendSaveFlags flags,
|
|
GError **error);
|