fwupd/plugins/redfish/fu-redfish-smbios.h
Richard Hughes ad825eac24 redfish: Allow discovery of Redfish BMCs specified by VID-PID or MAC
Also, allow overriding the data using the config file.
2021-07-06 17:13:16 +01:00

22 lines
741 B
C

/*
* Copyright (C) 2017 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#pragma once
#include <fwupdplugin.h>
#define FU_TYPE_REDFISH_SMBIOS (fu_redfish_smbios_get_type ())
G_DECLARE_FINAL_TYPE (FuRedfishSmbios, fu_redfish_smbios, FU, REDFISH_SMBIOS, FuFirmware)
FuRedfishSmbios *fu_redfish_smbios_new (void);
guint16 fu_redfish_smbios_get_port (FuRedfishSmbios *self);
guint16 fu_redfish_smbios_get_vid (FuRedfishSmbios *self);
guint16 fu_redfish_smbios_get_pid (FuRedfishSmbios *self);
const gchar *fu_redfish_smbios_get_hostname (FuRedfishSmbios *self);
const gchar *fu_redfish_smbios_get_mac_addr (FuRedfishSmbios *self);
const gchar *fu_redfish_smbios_get_ip_addr (FuRedfishSmbios *self);