fwupd/plugins/redfish/fu-redfish-device.h
2021-07-08 15:35:02 +01:00

25 lines
599 B
C

/*
* Copyright (C) 2021 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#pragma once
#include <fwupdplugin.h>
#include "fu-redfish-backend.h"
#define FU_TYPE_REDFISH_DEVICE (fu_redfish_device_get_type ())
G_DECLARE_DERIVABLE_TYPE (FuRedfishDevice, fu_redfish_device, FU, REDFISH_DEVICE, FuDevice)
struct _FuRedfishDeviceClass
{
FuDeviceClass parent_class;
};
FuRedfishBackend *fu_redfish_device_get_backend (FuRedfishDevice *self);
gboolean fu_redfish_device_poll_task (FuRedfishDevice *self,
const gchar *location,
GError **error);