mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-15 11:59:02 +00:00
trivial: Remove G_BEGIN_DECLS from all private headers
This commit is contained in:
parent
731875af86
commit
8653e70480
@ -8,9 +8,5 @@
|
|||||||
|
|
||||||
#include "fu-plugin.h"
|
#include "fu-plugin.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_ALTOS_DEVICE (fu_altos_device_get_type ())
|
#define FU_TYPE_ALTOS_DEVICE (fu_altos_device_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuAltosDevice, fu_altos_device, FU, ALTOS_DEVICE, FuUsbDevice)
|
G_DECLARE_FINAL_TYPE (FuAltosDevice, fu_altos_device, FU, ALTOS_DEVICE, FuUsbDevice)
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,12 +8,8 @@
|
|||||||
|
|
||||||
#include "fu-firmware.h"
|
#include "fu-firmware.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_ALTOS_FIRMWARE (fu_altos_firmware_get_type ())
|
#define FU_TYPE_ALTOS_FIRMWARE (fu_altos_firmware_get_type ())
|
||||||
|
|
||||||
G_DECLARE_FINAL_TYPE (FuAltosFirmware, fu_altos_firmware, FU, ALTOS_FIRMWARE, FuFirmware)
|
G_DECLARE_FINAL_TYPE (FuAltosFirmware, fu_altos_firmware, FU, ALTOS_FIRMWARE, FuFirmware)
|
||||||
|
|
||||||
FuFirmware *fu_altos_firmware_new (void);
|
FuFirmware *fu_altos_firmware_new (void);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
#include "fu-plugin.h"
|
#include "fu-plugin.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_ATA_DEVICE (fu_ata_device_get_type ())
|
#define FU_TYPE_ATA_DEVICE (fu_ata_device_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuAtaDevice, fu_ata_device, FU, ATA_DEVICE, FuUdevDevice)
|
G_DECLARE_FINAL_TYPE (FuAtaDevice, fu_ata_device, FU, ATA_DEVICE, FuUdevDevice)
|
||||||
|
|
||||||
@ -20,5 +18,3 @@ FuAtaDevice *fu_ata_device_new_from_blob (const guint8 *buf,
|
|||||||
/* for self tests */
|
/* for self tests */
|
||||||
guint8 fu_ata_device_get_transfer_mode (FuAtaDevice *self);
|
guint8 fu_ata_device_get_transfer_mode (FuAtaDevice *self);
|
||||||
guint16 fu_ata_device_get_transfer_blocks (FuAtaDevice *self);
|
guint16 fu_ata_device_get_transfer_blocks (FuAtaDevice *self);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
CH_ERROR_NONE,
|
CH_ERROR_NONE,
|
||||||
CH_ERROR_UNKNOWN_CMD,
|
CH_ERROR_UNKNOWN_CMD,
|
||||||
@ -51,5 +49,3 @@ typedef enum {
|
|||||||
} ChError;
|
} ChError;
|
||||||
|
|
||||||
const gchar *ch_strerror (ChError error_enum);
|
const gchar *ch_strerror (ChError error_enum);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,9 +8,5 @@
|
|||||||
|
|
||||||
#include "fu-plugin.h"
|
#include "fu-plugin.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_COLORHUG_DEVICE (fu_colorhug_device_get_type ())
|
#define FU_TYPE_COLORHUG_DEVICE (fu_colorhug_device_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuColorhugDevice, fu_colorhug_device, FU, COLORHUG_DEVICE, FuUsbDevice)
|
G_DECLARE_FINAL_TYPE (FuColorhugDevice, fu_colorhug_device, FU, COLORHUG_DEVICE, FuUsbDevice)
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,9 +8,5 @@
|
|||||||
|
|
||||||
#include "fu-plugin.h"
|
#include "fu-plugin.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_CSR_DEVICE (fu_csr_device_get_type ())
|
#define FU_TYPE_CSR_DEVICE (fu_csr_device_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuCsrDevice, fu_csr_device, FU, CSR_DEVICE, FuUsbDevice)
|
G_DECLARE_FINAL_TYPE (FuCsrDevice, fu_csr_device, FU, CSR_DEVICE, FuUsbDevice)
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -19,11 +19,7 @@
|
|||||||
|
|
||||||
#include "fu-usb-device.h"
|
#include "fu-usb-device.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_DELL_DOCK_HUB (fu_dell_dock_hub_get_type ())
|
#define FU_TYPE_DELL_DOCK_HUB (fu_dell_dock_hub_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuDellDockHub, fu_dell_dock_hub, FU, DELL_DOCK_HUB, FuUsbDevice)
|
G_DECLARE_FINAL_TYPE (FuDellDockHub, fu_dell_dock_hub, FU, DELL_DOCK_HUB, FuUsbDevice)
|
||||||
|
|
||||||
FuDellDockHub *fu_dell_dock_hub_new (FuUsbDevice *device);
|
FuDellDockHub *fu_dell_dock_hub_new (FuUsbDevice *device);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -21,15 +21,11 @@
|
|||||||
|
|
||||||
#include "fu-device.h"
|
#include "fu-device.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_DELL_DOCK_EC (fu_dell_dock_ec_get_type ())
|
#define FU_TYPE_DELL_DOCK_EC (fu_dell_dock_ec_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuDellDockEc, fu_dell_dock_ec, FU, DELL_DOCK_EC, FuDevice)
|
G_DECLARE_FINAL_TYPE (FuDellDockEc, fu_dell_dock_ec, FU, DELL_DOCK_EC, FuDevice)
|
||||||
|
|
||||||
FuDellDockEc *fu_dell_dock_ec_new (FuDevice *symbiote);
|
FuDellDockEc *fu_dell_dock_ec_new (FuDevice *symbiote);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
gboolean fu_dell_dock_ec_needs_tbt (FuDevice *device);
|
gboolean fu_dell_dock_ec_needs_tbt (FuDevice *device);
|
||||||
gboolean fu_dell_dock_ec_tbt_passive (FuDevice *device);
|
gboolean fu_dell_dock_ec_tbt_passive (FuDevice *device);
|
||||||
gboolean fu_dell_dock_ec_modify_lock (FuDevice *self,
|
gboolean fu_dell_dock_ec_modify_lock (FuDevice *self,
|
||||||
|
@ -19,11 +19,7 @@
|
|||||||
|
|
||||||
#include "fu-device.h"
|
#include "fu-device.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_DELL_DOCK_MST (fu_dell_dock_mst_get_type ())
|
#define FU_TYPE_DELL_DOCK_MST (fu_dell_dock_mst_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuDellDockMst, fu_dell_dock_mst, FU, DELL_DOCK_MST, FuDevice)
|
G_DECLARE_FINAL_TYPE (FuDellDockMst, fu_dell_dock_mst, FU, DELL_DOCK_MST, FuDevice)
|
||||||
|
|
||||||
FuDellDockMst *fu_dell_dock_mst_new (void);
|
FuDellDockMst *fu_dell_dock_mst_new (void);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -20,11 +20,7 @@
|
|||||||
|
|
||||||
#include "fu-device.h"
|
#include "fu-device.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_DELL_DOCK_TBT (fu_dell_dock_tbt_get_type ())
|
#define FU_TYPE_DELL_DOCK_TBT (fu_dell_dock_tbt_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuDellDockTbt, fu_dell_dock_tbt, FU, DELL_DOCK_TBT, FuDevice)
|
G_DECLARE_FINAL_TYPE (FuDellDockTbt, fu_dell_dock_tbt, FU, DELL_DOCK_TBT, FuDevice)
|
||||||
|
|
||||||
FuDellDockTbt *fu_dell_dock_tbt_new (void);
|
FuDellDockTbt *fu_dell_dock_tbt_new (void);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -19,11 +19,7 @@
|
|||||||
|
|
||||||
#include "fu-device.h"
|
#include "fu-device.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_DELL_DOCK_STATUS (fu_dell_dock_status_get_type ())
|
#define FU_TYPE_DELL_DOCK_STATUS (fu_dell_dock_status_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuDellDockStatus, fu_dell_dock_status, FU, DELL_DOCK_STATUS, FuDevice)
|
G_DECLARE_FINAL_TYPE (FuDellDockStatus, fu_dell_dock_status, FU, DELL_DOCK_STATUS, FuDevice)
|
||||||
|
|
||||||
FuDellDockStatus *fu_dell_dock_status_new (void);
|
FuDellDockStatus *fu_dell_dock_status_new (void);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
#include <gio/gio.h>
|
#include <gio/gio.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
gboolean dfu_cipher_encrypt_xtea (const gchar *key,
|
gboolean dfu_cipher_encrypt_xtea (const gchar *key,
|
||||||
guint8 *data,
|
guint8 *data,
|
||||||
guint32 length,
|
guint32 length,
|
||||||
@ -19,5 +17,3 @@ gboolean dfu_cipher_decrypt_xtea (const gchar *key,
|
|||||||
guint8 *data,
|
guint8 *data,
|
||||||
guint32 length,
|
guint32 length,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <gusb.h>
|
#include <gusb.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DfuRequest:
|
* DfuRequest:
|
||||||
* @DFU_REQUEST_DETACH: Detach
|
* @DFU_REQUEST_DETACH: Detach
|
||||||
@ -156,5 +154,3 @@ const gchar *dfu_version_to_string (DfuVersion version);
|
|||||||
|
|
||||||
/* helpers */
|
/* helpers */
|
||||||
GBytes *dfu_utils_bytes_join_array (GPtrArray *chunks);
|
GBytes *dfu_utils_bytes_join_array (GPtrArray *chunks);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -14,8 +14,6 @@
|
|||||||
|
|
||||||
#include "dfu-device.h"
|
#include "dfu-device.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
void dfu_device_error_fixup (DfuDevice *device,
|
void dfu_device_error_fixup (DfuDevice *device,
|
||||||
GError **error);
|
GError **error);
|
||||||
guint dfu_device_get_download_timeout (DfuDevice *device);
|
guint dfu_device_get_download_timeout (DfuDevice *device);
|
||||||
@ -23,5 +21,3 @@ gchar *dfu_device_get_quirks_as_string (DfuDevice *device);
|
|||||||
gchar *dfu_device_get_attributes_as_string (DfuDevice *device);
|
gchar *dfu_device_get_attributes_as_string (DfuDevice *device);
|
||||||
gboolean dfu_device_ensure_interface (DfuDevice *device,
|
gboolean dfu_device_ensure_interface (DfuDevice *device,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -16,8 +16,6 @@
|
|||||||
#include "dfu-target.h"
|
#include "dfu-target.h"
|
||||||
#include "dfu-firmware.h"
|
#include "dfu-firmware.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define DFU_TYPE_DEVICE (dfu_device_get_type ())
|
#define DFU_TYPE_DEVICE (dfu_device_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (DfuDevice, dfu_device, DFU, DEVICE, FuUsbDevice)
|
G_DECLARE_DERIVABLE_TYPE (DfuDevice, dfu_device, DFU, DEVICE, FuUsbDevice)
|
||||||
|
|
||||||
@ -159,5 +157,3 @@ void dfu_device_set_timeout (DfuDevice *device,
|
|||||||
void dfu_device_set_usb_context (DfuDevice *device,
|
void dfu_device_set_usb_context (DfuDevice *device,
|
||||||
GUsbContext *quirks);
|
GUsbContext *quirks);
|
||||||
GUsbContext *dfu_device_get_usb_context (DfuDevice *device);
|
GUsbContext *dfu_device_get_usb_context (DfuDevice *device);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
#include <gio/gio.h>
|
#include <gio/gio.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define DFU_TYPE_ELEMENT (dfu_element_get_type ())
|
#define DFU_TYPE_ELEMENT (dfu_element_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (DfuElement, dfu_element, DFU, ELEMENT, GObject)
|
G_DECLARE_DERIVABLE_TYPE (DfuElement, dfu_element, DFU, ELEMENT, GObject)
|
||||||
|
|
||||||
@ -33,5 +31,3 @@ void dfu_element_set_padding_value (DfuElement *element,
|
|||||||
guint8 padding_value);
|
guint8 padding_value);
|
||||||
|
|
||||||
gchar *dfu_element_to_string (DfuElement *element);
|
gchar *dfu_element_to_string (DfuElement *element);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -12,8 +12,6 @@
|
|||||||
#include "dfu-common.h"
|
#include "dfu-common.h"
|
||||||
#include "dfu-image.h"
|
#include "dfu-image.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define DFU_TYPE_FIRMWARE (dfu_firmware_get_type ())
|
#define DFU_TYPE_FIRMWARE (dfu_firmware_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (DfuFirmware, dfu_firmware, DFU, FIRMWARE, GObject)
|
G_DECLARE_DERIVABLE_TYPE (DfuFirmware, dfu_firmware, DFU, FIRMWARE, GObject)
|
||||||
|
|
||||||
@ -117,5 +115,3 @@ void dfu_firmware_set_metadata (DfuFirmware *firmware,
|
|||||||
const gchar *value);
|
const gchar *value);
|
||||||
void dfu_firmware_remove_metadata (DfuFirmware *firmware,
|
void dfu_firmware_remove_metadata (DfuFirmware *firmware,
|
||||||
const gchar *key);
|
const gchar *key);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -11,8 +11,6 @@
|
|||||||
|
|
||||||
#include "dfu-firmware.h"
|
#include "dfu-firmware.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
DfuFirmwareFormat dfu_firmware_detect_dfu (GBytes *bytes);
|
DfuFirmwareFormat dfu_firmware_detect_dfu (GBytes *bytes);
|
||||||
GBytes *dfu_firmware_to_dfu (DfuFirmware *firmware,
|
GBytes *dfu_firmware_to_dfu (DfuFirmware *firmware,
|
||||||
GError **error);
|
GError **error);
|
||||||
@ -20,5 +18,3 @@ gboolean dfu_firmware_from_dfu (DfuFirmware *firmware,
|
|||||||
GBytes *bytes,
|
GBytes *bytes,
|
||||||
DfuFirmwareParseFlags flags,
|
DfuFirmwareParseFlags flags,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -11,8 +11,6 @@
|
|||||||
|
|
||||||
#include "dfu-firmware.h"
|
#include "dfu-firmware.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
DfuFirmwareFormat dfu_firmware_detect_dfuse (GBytes *bytes);
|
DfuFirmwareFormat dfu_firmware_detect_dfuse (GBytes *bytes);
|
||||||
GBytes *dfu_firmware_to_dfuse (DfuFirmware *firmware,
|
GBytes *dfu_firmware_to_dfuse (DfuFirmware *firmware,
|
||||||
GError **error);
|
GError **error);
|
||||||
@ -20,5 +18,3 @@ gboolean dfu_firmware_from_dfuse (DfuFirmware *firmware,
|
|||||||
GBytes *bytes,
|
GBytes *bytes,
|
||||||
DfuFirmwareParseFlags flags,
|
DfuFirmwareParseFlags flags,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -11,8 +11,6 @@
|
|||||||
|
|
||||||
#include "dfu-firmware.h"
|
#include "dfu-firmware.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
DfuFirmwareFormat dfu_firmware_detect_ihex (GBytes *bytes);
|
DfuFirmwareFormat dfu_firmware_detect_ihex (GBytes *bytes);
|
||||||
GBytes *dfu_firmware_to_ihex (DfuFirmware *firmware,
|
GBytes *dfu_firmware_to_ihex (DfuFirmware *firmware,
|
||||||
GError **error);
|
GError **error);
|
||||||
@ -20,5 +18,3 @@ gboolean dfu_firmware_from_ihex (DfuFirmware *firmware,
|
|||||||
GBytes *bytes,
|
GBytes *bytes,
|
||||||
DfuFirmwareParseFlags flags,
|
DfuFirmwareParseFlags flags,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -11,13 +11,9 @@
|
|||||||
|
|
||||||
#include "dfu-firmware.h"
|
#include "dfu-firmware.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
GBytes *dfu_firmware_to_metadata (DfuFirmware *firmware,
|
GBytes *dfu_firmware_to_metadata (DfuFirmware *firmware,
|
||||||
GError **error);
|
GError **error);
|
||||||
gboolean dfu_firmware_from_metadata (DfuFirmware *firmware,
|
gboolean dfu_firmware_from_metadata (DfuFirmware *firmware,
|
||||||
GBytes *bytes,
|
GBytes *bytes,
|
||||||
DfuFirmwareParseFlags flags,
|
DfuFirmwareParseFlags flags,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -11,8 +11,6 @@
|
|||||||
|
|
||||||
#include "dfu-firmware.h"
|
#include "dfu-firmware.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
DfuFirmwareFormat dfu_firmware_detect_raw (GBytes *bytes);
|
DfuFirmwareFormat dfu_firmware_detect_raw (GBytes *bytes);
|
||||||
GBytes *dfu_firmware_to_raw (DfuFirmware *firmware,
|
GBytes *dfu_firmware_to_raw (DfuFirmware *firmware,
|
||||||
GError **error);
|
GError **error);
|
||||||
@ -20,5 +18,3 @@ gboolean dfu_firmware_from_raw (DfuFirmware *firmware,
|
|||||||
GBytes *bytes,
|
GBytes *bytes,
|
||||||
DfuFirmwareParseFlags flags,
|
DfuFirmwareParseFlags flags,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -11,8 +11,6 @@
|
|||||||
|
|
||||||
#include "dfu-firmware.h"
|
#include "dfu-firmware.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
DfuFirmwareFormat dfu_firmware_detect_srec (GBytes *bytes);
|
DfuFirmwareFormat dfu_firmware_detect_srec (GBytes *bytes);
|
||||||
GBytes *dfu_firmware_to_srec (DfuFirmware *firmware,
|
GBytes *dfu_firmware_to_srec (DfuFirmware *firmware,
|
||||||
GError **error);
|
GError **error);
|
||||||
@ -20,5 +18,3 @@ gboolean dfu_firmware_from_srec (DfuFirmware *firmware,
|
|||||||
GBytes *bytes,
|
GBytes *bytes,
|
||||||
DfuFirmwareParseFlags flags,
|
DfuFirmwareParseFlags flags,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -11,8 +11,6 @@
|
|||||||
|
|
||||||
#include "dfu-element.h"
|
#include "dfu-element.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define DFU_TYPE_IMAGE (dfu_image_get_type ())
|
#define DFU_TYPE_IMAGE (dfu_image_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (DfuImage, dfu_image, DFU, IMAGE, GObject)
|
G_DECLARE_DERIVABLE_TYPE (DfuImage, dfu_image, DFU, IMAGE, GObject)
|
||||||
|
|
||||||
@ -40,5 +38,3 @@ void dfu_image_set_name (DfuImage *image,
|
|||||||
const gchar *name);
|
const gchar *name);
|
||||||
|
|
||||||
gchar *dfu_image_to_string (DfuImage *image);
|
gchar *dfu_image_to_string (DfuImage *image);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
#include <gio/gio.h>
|
#include <gio/gio.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define DFU_TYPE_PATCH (dfu_patch_get_type ())
|
#define DFU_TYPE_PATCH (dfu_patch_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (DfuPatch, dfu_patch, DFU, PATCH, GObject)
|
G_DECLARE_DERIVABLE_TYPE (DfuPatch, dfu_patch, DFU, PATCH, GObject)
|
||||||
|
|
||||||
@ -51,5 +49,3 @@ GBytes *dfu_patch_apply (DfuPatch *self,
|
|||||||
GError **error);
|
GError **error);
|
||||||
GBytes *dfu_patch_get_checksum_old (DfuPatch *self);
|
GBytes *dfu_patch_get_checksum_old (DfuPatch *self);
|
||||||
GBytes *dfu_patch_get_checksum_new (DfuPatch *self);
|
GBytes *dfu_patch_get_checksum_new (DfuPatch *self);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,13 +8,9 @@
|
|||||||
|
|
||||||
#include "dfu-sector.h"
|
#include "dfu-sector.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
DfuSector *dfu_sector_new (guint32 address,
|
DfuSector *dfu_sector_new (guint32 address,
|
||||||
guint32 size,
|
guint32 size,
|
||||||
guint32 size_left,
|
guint32 size_left,
|
||||||
guint16 zone,
|
guint16 zone,
|
||||||
guint16 number,
|
guint16 number,
|
||||||
DfuSectorCap cap);
|
DfuSectorCap cap);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
#include <gio/gio.h>
|
#include <gio/gio.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define DFU_TYPE_SECTOR (dfu_sector_get_type ())
|
#define DFU_TYPE_SECTOR (dfu_sector_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (DfuSector, dfu_sector, DFU, SECTOR, GObject)
|
G_DECLARE_DERIVABLE_TYPE (DfuSector, dfu_sector, DFU, SECTOR, GObject)
|
||||||
|
|
||||||
@ -46,5 +44,3 @@ guint16 dfu_sector_get_number (DfuSector *sector);
|
|||||||
gboolean dfu_sector_has_cap (DfuSector *sector,
|
gboolean dfu_sector_has_cap (DfuSector *sector,
|
||||||
DfuSectorCap cap);
|
DfuSectorCap cap);
|
||||||
gchar *dfu_sector_to_string (DfuSector *sector);
|
gchar *dfu_sector_to_string (DfuSector *sector);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -11,8 +11,6 @@
|
|||||||
|
|
||||||
#include "dfu-target.h"
|
#include "dfu-target.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define DFU_TYPE_TARGET_AVR (dfu_target_avr_get_type ())
|
#define DFU_TYPE_TARGET_AVR (dfu_target_avr_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (DfuTargetAvr, dfu_target_avr, DFU, TARGET_AVR, DfuTarget)
|
G_DECLARE_DERIVABLE_TYPE (DfuTargetAvr, dfu_target_avr, DFU, TARGET_AVR, DfuTarget)
|
||||||
|
|
||||||
@ -22,5 +20,3 @@ struct _DfuTargetAvrClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
DfuTarget *dfu_target_avr_new (void);
|
DfuTarget *dfu_target_avr_new (void);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -12,8 +12,6 @@
|
|||||||
#include "dfu-target.h"
|
#include "dfu-target.h"
|
||||||
#include "dfu-sector.h"
|
#include "dfu-sector.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
DfuTarget *dfu_target_new (void);
|
DfuTarget *dfu_target_new (void);
|
||||||
|
|
||||||
GBytes *dfu_target_upload_chunk (DfuTarget *target,
|
GBytes *dfu_target_upload_chunk (DfuTarget *target,
|
||||||
@ -53,5 +51,3 @@ DfuSector *dfu_target_get_sector_for_addr (DfuTarget *target,
|
|||||||
gboolean dfu_target_parse_sectors (DfuTarget *target,
|
gboolean dfu_target_parse_sectors (DfuTarget *target,
|
||||||
const gchar *alt_name,
|
const gchar *alt_name,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -11,8 +11,6 @@
|
|||||||
|
|
||||||
#include "dfu-target.h"
|
#include "dfu-target.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define DFU_TYPE_TARGET_STM (dfu_target_stm_get_type ())
|
#define DFU_TYPE_TARGET_STM (dfu_target_stm_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (DfuTargetStm, dfu_target_stm, DFU, TARGET_STM, DfuTarget)
|
G_DECLARE_DERIVABLE_TYPE (DfuTargetStm, dfu_target_stm, DFU, TARGET_STM, DfuTarget)
|
||||||
|
|
||||||
@ -22,5 +20,3 @@ struct _DfuTargetStmClass
|
|||||||
};
|
};
|
||||||
|
|
||||||
DfuTarget *dfu_target_stm_new (void);
|
DfuTarget *dfu_target_stm_new (void);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -16,8 +16,6 @@
|
|||||||
|
|
||||||
#include "fwupd-enums.h"
|
#include "fwupd-enums.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define DFU_TYPE_TARGET (dfu_target_get_type ())
|
#define DFU_TYPE_TARGET (dfu_target_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (DfuTarget, dfu_target, DFU, TARGET, GUsbDevice)
|
G_DECLARE_DERIVABLE_TYPE (DfuTarget, dfu_target, DFU, TARGET, GUsbDevice)
|
||||||
|
|
||||||
@ -88,5 +86,3 @@ gboolean dfu_target_download (DfuTarget *target,
|
|||||||
gboolean dfu_target_mass_erase (DfuTarget *target,
|
gboolean dfu_target_mass_erase (DfuTarget *target,
|
||||||
GError **error);
|
GError **error);
|
||||||
DfuCipherKind dfu_target_get_cipher_kind (DfuTarget *target);
|
DfuCipherKind dfu_target_get_cipher_kind (DfuTarget *target);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/* little endian */
|
/* little endian */
|
||||||
typedef struct __attribute__((packed)) {
|
typedef struct __attribute__((packed)) {
|
||||||
guint32 version;
|
guint32 version;
|
||||||
|
@ -8,12 +8,8 @@
|
|||||||
|
|
||||||
#include "fu-plugin.h"
|
#include "fu-plugin.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_EBITDO_DEVICE (fu_ebitdo_device_get_type ())
|
#define FU_TYPE_EBITDO_DEVICE (fu_ebitdo_device_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuEbitdoDevice, fu_ebitdo_device, FU, EBITDO_DEVICE, FuUsbDevice)
|
G_DECLARE_FINAL_TYPE (FuEbitdoDevice, fu_ebitdo_device, FU, EBITDO_DEVICE, FuUsbDevice)
|
||||||
|
|
||||||
/* getters */
|
/* getters */
|
||||||
const guint32 *fu_ebitdo_device_get_serial (FuEbitdoDevice *device);
|
const guint32 *fu_ebitdo_device_get_serial (FuEbitdoDevice *device);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,9 +8,5 @@
|
|||||||
|
|
||||||
#include "fu-plugin.h"
|
#include "fu-plugin.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_FASTBOOT_DEVICE (fu_fastboot_device_get_type ())
|
#define FU_TYPE_FASTBOOT_DEVICE (fu_fastboot_device_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuFastbootDevice, fu_fastboot_device, FU, FASTBOOT_DEVICE, FuUsbDevice)
|
G_DECLARE_FINAL_TYPE (FuFastbootDevice, fu_fastboot_device, FU, FASTBOOT_DEVICE, FuUsbDevice)
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -12,8 +12,6 @@
|
|||||||
|
|
||||||
#include "fu-plugin.h"
|
#include "fu-plugin.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_MM_DEVICE (fu_mm_device_get_type ())
|
#define FU_TYPE_MM_DEVICE (fu_mm_device_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuMmDevice, fu_mm_device, FU, MM_DEVICE, FuDevice)
|
G_DECLARE_FINAL_TYPE (FuMmDevice, fu_mm_device, FU, MM_DEVICE, FuDevice)
|
||||||
|
|
||||||
@ -49,6 +47,4 @@ void fu_mm_device_udev_add_port (FuMmDevice *device,
|
|||||||
const gchar *path,
|
const gchar *path,
|
||||||
gint ifnum);
|
gint ifnum);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __FU_MM_DEVICE_H */
|
#endif /* __FU_MM_DEVICE_H */
|
||||||
|
@ -10,8 +10,6 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include <gudev/gudev.h>
|
#include <gudev/gudev.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#ifndef HAVE_GUDEV_232
|
#ifndef HAVE_GUDEV_232
|
||||||
#pragma clang diagnostic push
|
#pragma clang diagnostic push
|
||||||
#pragma clang diagnostic ignored "-Wunused-function"
|
#pragma clang diagnostic ignored "-Wunused-function"
|
||||||
@ -29,6 +27,4 @@ gboolean fu_mm_utils_get_port_info (const gchar *path,
|
|||||||
gint *port_ifnum,
|
gint *port_ifnum,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __FU_MM_UTILS_H */
|
#endif /* __FU_MM_UTILS_H */
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
|
|
||||||
#include <libqmi-glib.h>
|
#include <libqmi-glib.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_QMI_PDC_UPDATER (fu_qmi_pdc_updater_get_type ())
|
#define FU_TYPE_QMI_PDC_UPDATER (fu_qmi_pdc_updater_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuQmiPdcUpdater, fu_qmi_pdc_updater, FU, QMI_PDC_UPDATER, GObject)
|
G_DECLARE_FINAL_TYPE (FuQmiPdcUpdater, fu_qmi_pdc_updater, FU, QMI_PDC_UPDATER, GObject)
|
||||||
|
|
||||||
@ -27,6 +25,4 @@ gboolean fu_qmi_pdc_updater_activate (FuQmiPdcUpdater *self,
|
|||||||
gboolean fu_qmi_pdc_updater_close (FuQmiPdcUpdater *self,
|
gboolean fu_qmi_pdc_updater_close (FuQmiPdcUpdater *self,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
|
||||||
#endif /* __FU_QMI_PDC_UPDATER_H */
|
#endif /* __FU_QMI_PDC_UPDATER_H */
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
guint32 fu_nitrokey_perform_crc32 (const guint8 *data,
|
guint32 fu_nitrokey_perform_crc32 (const guint8 *data,
|
||||||
gsize size);
|
gsize size);
|
||||||
|
|
||||||
@ -62,5 +60,3 @@ typedef struct __attribute__((packed)) {
|
|||||||
guint32 ActiveSmartCardID;
|
guint32 ActiveSmartCardID;
|
||||||
guint8 StickKeysNotInitiated;
|
guint8 StickKeysNotInitiated;
|
||||||
} NitrokeyGetDeviceStatusPayload;
|
} NitrokeyGetDeviceStatusPayload;
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
#include "fu-plugin.h"
|
#include "fu-plugin.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_NITROKEY_DEVICE (fu_nitrokey_device_get_type ())
|
#define FU_TYPE_NITROKEY_DEVICE (fu_nitrokey_device_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (FuNitrokeyDevice, fu_nitrokey_device, FU, NITROKEY_DEVICE, FuUsbDevice)
|
G_DECLARE_DERIVABLE_TYPE (FuNitrokeyDevice, fu_nitrokey_device, FU, NITROKEY_DEVICE, FuUsbDevice)
|
||||||
|
|
||||||
@ -17,5 +15,3 @@ struct _FuNitrokeyDeviceClass
|
|||||||
{
|
{
|
||||||
FuUsbDeviceClass parent_class;
|
FuUsbDeviceClass parent_class;
|
||||||
};
|
};
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
/*
|
/*
|
||||||
* Generic Command Status:
|
* Generic Command Status:
|
||||||
@ -122,5 +120,3 @@ enum {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const gchar *fu_nvme_status_to_string (guint32 status);
|
const gchar *fu_nvme_status_to_string (guint32 status);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,13 +8,9 @@
|
|||||||
|
|
||||||
#include "fu-plugin.h"
|
#include "fu-plugin.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_NVME_DEVICE (fu_nvme_device_get_type ())
|
#define FU_TYPE_NVME_DEVICE (fu_nvme_device_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuNvmeDevice, fu_nvme_device, FU, NVME_DEVICE, FuUdevDevice)
|
G_DECLARE_FINAL_TYPE (FuNvmeDevice, fu_nvme_device, FU, NVME_DEVICE, FuUdevDevice)
|
||||||
|
|
||||||
FuNvmeDevice *fu_nvme_device_new_from_blob (const guint8 *buf,
|
FuNvmeDevice *fu_nvme_device_new_from_blob (const guint8 *buf,
|
||||||
gsize sz,
|
gsize sz,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,9 +8,5 @@
|
|||||||
|
|
||||||
#include "fu-plugin.h"
|
#include "fu-plugin.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_OPTIONROM_DEVICE (fu_optionrom_device_get_type ())
|
#define FU_TYPE_OPTIONROM_DEVICE (fu_optionrom_device_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuOptionromDevice, fu_optionrom_device, FU, OPTIONROM_DEVICE, FuUdevDevice)
|
G_DECLARE_FINAL_TYPE (FuOptionromDevice, fu_optionrom_device, FU, OPTIONROM_DEVICE, FuUdevDevice)
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
#include <gio/gio.h>
|
#include <gio/gio.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_ROM (fu_rom_get_type ())
|
#define FU_TYPE_ROM (fu_rom_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuRom, fu_rom, FU, ROM, GObject)
|
G_DECLARE_FINAL_TYPE (FuRom, fu_rom, FU, ROM, GObject)
|
||||||
|
|
||||||
@ -50,5 +48,3 @@ GBytes *fu_rom_get_data (FuRom *self);
|
|||||||
guint16 fu_rom_get_vendor (FuRom *self);
|
guint16 fu_rom_get_vendor (FuRom *self);
|
||||||
guint16 fu_rom_get_model (FuRom *self);
|
guint16 fu_rom_get_model (FuRom *self);
|
||||||
const gchar *fu_rom_kind_to_string (FuRomKind kind);
|
const gchar *fu_rom_kind_to_string (FuRomKind kind);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
#include <gio/gio.h>
|
#include <gio/gio.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define REDFISH_TYPE_CLIENT (fu_redfish_client_get_type ())
|
#define REDFISH_TYPE_CLIENT (fu_redfish_client_get_type ())
|
||||||
|
|
||||||
G_DECLARE_FINAL_TYPE (FuRedfishClient, fu_redfish_client, FU, REDFISH_CLIENT, GObject)
|
G_DECLARE_FINAL_TYPE (FuRedfishClient, fu_redfish_client, FU, REDFISH_CLIENT, GObject)
|
||||||
@ -37,5 +35,3 @@ gboolean fu_redfish_client_setup (FuRedfishClient *self,
|
|||||||
gboolean fu_redfish_client_coldplug (FuRedfishClient *self,
|
gboolean fu_redfish_client_coldplug (FuRedfishClient *self,
|
||||||
GError **error);
|
GError **error);
|
||||||
GPtrArray *fu_redfish_client_get_devices (FuRedfishClient *self);
|
GPtrArray *fu_redfish_client_get_devices (FuRedfishClient *self);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
#include <gio/gio.h>
|
#include <gio/gio.h>
|
||||||
#include <efivar.h>
|
#include <efivar.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/* SMBIOS */
|
/* SMBIOS */
|
||||||
#define REDFISH_SMBIOS_TABLE_TYPE 0x42
|
#define REDFISH_SMBIOS_TABLE_TYPE 0x42
|
||||||
|
|
||||||
@ -46,5 +44,3 @@ GBytes *fu_redfish_common_get_evivar_raw (efi_guid_t guid,
|
|||||||
GError **error);
|
GError **error);
|
||||||
gchar *fu_redfish_common_buffer_to_ipv4 (const guint8 *buffer);
|
gchar *fu_redfish_common_buffer_to_ipv4 (const guint8 *buffer);
|
||||||
gchar *fu_redfish_common_buffer_to_ipv6 (const guint8 *buffer);
|
gchar *fu_redfish_common_buffer_to_ipv6 (const guint8 *buffer);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
#include "fu-plugin.h"
|
#include "fu-plugin.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_RTS54HID_DEVICE (fu_rts54hid_device_get_type ())
|
#define FU_TYPE_RTS54HID_DEVICE (fu_rts54hid_device_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuRts54HidDevice, fu_rts54hid_device, FU, RTS54HID_DEVICE, FuUsbDevice)
|
G_DECLARE_FINAL_TYPE (FuRts54HidDevice, fu_rts54hid_device, FU, RTS54HID_DEVICE, FuUsbDevice)
|
||||||
|
|
||||||
@ -21,5 +19,3 @@ gboolean fu_rts54hid_device_get_report (FuRts54HidDevice *self,
|
|||||||
guint8 *buf,
|
guint8 *buf,
|
||||||
gsize buf_sz,
|
gsize buf_sz,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,11 +8,7 @@
|
|||||||
|
|
||||||
#include "fu-plugin.h"
|
#include "fu-plugin.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_RTS54HID_MODULE (fu_rts54hid_module_get_type ())
|
#define FU_TYPE_RTS54HID_MODULE (fu_rts54hid_module_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuRts54HidModule, fu_rts54hid_module, FU, RTS54HID_MODULE, FuDevice)
|
G_DECLARE_FINAL_TYPE (FuRts54HidModule, fu_rts54hid_module, FU, RTS54HID_MODULE, FuDevice)
|
||||||
|
|
||||||
FuRts54HidModule *fu_rts54hid_module_new (void);
|
FuRts54HidModule *fu_rts54hid_module_new (void);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,9 +8,5 @@
|
|||||||
|
|
||||||
#include "fu-plugin.h"
|
#include "fu-plugin.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_RTS54HUB_DEVICE (fu_rts54hub_device_get_type ())
|
#define FU_TYPE_RTS54HUB_DEVICE (fu_rts54hub_device_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuRts54HubDevice, fu_rts54hub_device, FU, RTS54HUB_DEVICE, FuUsbDevice)
|
G_DECLARE_FINAL_TYPE (FuRts54HubDevice, fu_rts54hub_device, FU, RTS54HUB_DEVICE, FuUsbDevice)
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,9 +8,5 @@
|
|||||||
|
|
||||||
#include "fu-plugin.h"
|
#include "fu-plugin.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_SOLOKEY_DEVICE (fu_solokey_device_get_type ())
|
#define FU_TYPE_SOLOKEY_DEVICE (fu_solokey_device_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuSolokeyDevice, fu_solokey_device, FU, SOLOKEY_DEVICE, FuUsbDevice)
|
G_DECLARE_FINAL_TYPE (FuSolokeyDevice, fu_solokey_device, FU, SOLOKEY_DEVICE, FuUsbDevice)
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,11 +8,7 @@
|
|||||||
|
|
||||||
#include "fu-firmware.h"
|
#include "fu-firmware.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_SOLOKEY_FIRMWARE (fu_solokey_firmware_get_type ())
|
#define FU_TYPE_SOLOKEY_FIRMWARE (fu_solokey_firmware_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuSolokeyFirmware, fu_solokey_firmware, FU, SOLOKEY_FIRMWARE, FuFirmware)
|
G_DECLARE_FINAL_TYPE (FuSolokeyFirmware, fu_solokey_firmware, FU, SOLOKEY_FIRMWARE, FuFirmware)
|
||||||
|
|
||||||
FuFirmware *fu_solokey_firmware_new (void);
|
FuFirmware *fu_solokey_firmware_new (void);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
#include "fu-plugin.h"
|
#include "fu-plugin.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_STEELSERIES_DEVICE (fu_steelseries_device_get_type ())
|
#define FU_TYPE_STEELSERIES_DEVICE (fu_steelseries_device_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (FuSteelseriesDevice, fu_steelseries_device, FU, STEELSERIES_DEVICE, FuUsbDevice)
|
G_DECLARE_DERIVABLE_TYPE (FuSteelseriesDevice, fu_steelseries_device, FU, STEELSERIES_DEVICE, FuUsbDevice)
|
||||||
|
|
||||||
@ -17,5 +15,3 @@ struct _FuSteelseriesDeviceClass
|
|||||||
{
|
{
|
||||||
FuUsbDeviceClass parent_class;
|
FuUsbDeviceClass parent_class;
|
||||||
};
|
};
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
#include "fu-plugin.h"
|
#include "fu-plugin.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/* for all LDNs */
|
/* for all LDNs */
|
||||||
#define SIO_LDNxx_IDX_LDNSEL 0x07
|
#define SIO_LDNxx_IDX_LDNSEL 0x07
|
||||||
#define SIO_LDNxx_IDX_CHIPID1 0x20
|
#define SIO_LDNxx_IDX_CHIPID1 0x20
|
||||||
@ -127,5 +125,3 @@ gboolean fu_superio_inb (gint fd,
|
|||||||
guint16 port,
|
guint16 port,
|
||||||
guint8 *data,
|
guint8 *data,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
#include "fu-plugin.h"
|
#include "fu-plugin.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_SUPERIO_DEVICE (fu_superio_device_get_type ())
|
#define FU_TYPE_SUPERIO_DEVICE (fu_superio_device_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (FuSuperioDevice, fu_superio_device, FU, SUPERIO_DEVICE, FuDevice)
|
G_DECLARE_DERIVABLE_TYPE (FuSuperioDevice, fu_superio_device, FU, SUPERIO_DEVICE, FuDevice)
|
||||||
|
|
||||||
@ -45,5 +43,3 @@ gboolean fu_superio_device_regwrite (FuSuperioDevice *self,
|
|||||||
guint8 addr,
|
guint8 addr,
|
||||||
guint8 data,
|
guint8 data,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,9 +8,5 @@
|
|||||||
|
|
||||||
#include "fu-superio-device.h"
|
#include "fu-superio-device.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_SUPERIO_IT85_DEVICE (fu_superio_it85_device_get_type ())
|
#define FU_TYPE_SUPERIO_IT85_DEVICE (fu_superio_it85_device_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuSuperioIt85Device, fu_superio_it85_device, FU, SUPERIO_IT85_DEVICE, FuSuperioDevice)
|
G_DECLARE_FINAL_TYPE (FuSuperioIt85Device, fu_superio_it85_device, FU, SUPERIO_IT85_DEVICE, FuSuperioDevice)
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,9 +8,5 @@
|
|||||||
|
|
||||||
#include "fu-superio-device.h"
|
#include "fu-superio-device.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_SUPERIO_IT89_DEVICE (fu_superio_it89_device_get_type ())
|
#define FU_TYPE_SUPERIO_IT89_DEVICE (fu_superio_it89_device_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuSuperioIt89Device, fu_superio_it89_device, FU, SUPERIO_IT89_DEVICE, FuSuperioDevice)
|
G_DECLARE_FINAL_TYPE (FuSuperioIt89Device, fu_superio_it89_device, FU, SUPERIO_IT89_DEVICE, FuSuperioDevice)
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
#include "fu-plugin.h"
|
#include "fu-plugin.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_SYNAPTICS_CXAUDIO_DEVICE (fu_synaptics_cxaudio_device_get_type ())
|
#define FU_TYPE_SYNAPTICS_CXAUDIO_DEVICE (fu_synaptics_cxaudio_device_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuSynapticsCxaudioDevice, fu_synaptics_cxaudio_device, FU, SYNAPTICS_CXAUDIO_DEVICE, FuUsbDevice)
|
G_DECLARE_FINAL_TYPE (FuSynapticsCxaudioDevice, fu_synaptics_cxaudio_device, FU, SYNAPTICS_CXAUDIO_DEVICE, FuUsbDevice)
|
||||||
|
|
||||||
@ -17,5 +15,3 @@ struct _FuSynapticsCxaudioDeviceClass
|
|||||||
{
|
{
|
||||||
FuUsbDeviceClass parent_class;
|
FuUsbDeviceClass parent_class;
|
||||||
};
|
};
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -10,8 +10,6 @@
|
|||||||
#include "fu-srec-firmware.h"
|
#include "fu-srec-firmware.h"
|
||||||
#include "fu-synaptics-cxaudio-common.h"
|
#include "fu-synaptics-cxaudio-common.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_SYNAPTICS_CXAUDIO_FIRMWARE (fu_synaptics_cxaudio_firmware_get_type ())
|
#define FU_TYPE_SYNAPTICS_CXAUDIO_FIRMWARE (fu_synaptics_cxaudio_firmware_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuSynapticsCxaudioFirmware, fu_synaptics_cxaudio_firmware, FU, SYNAPTICS_CXAUDIO_FIRMWARE, FuSrecFirmware)
|
G_DECLARE_FINAL_TYPE (FuSynapticsCxaudioFirmware, fu_synaptics_cxaudio_firmware, FU, SYNAPTICS_CXAUDIO_FIRMWARE, FuSrecFirmware)
|
||||||
|
|
||||||
@ -32,5 +30,3 @@ FuFirmware *fu_synaptics_cxaudio_firmware_new (void);
|
|||||||
FuSynapticsCxaudioFileKind fu_synaptics_cxaudio_firmware_get_file_type (FuSynapticsCxaudioFirmware *self);
|
FuSynapticsCxaudioFileKind fu_synaptics_cxaudio_firmware_get_file_type (FuSynapticsCxaudioFirmware *self);
|
||||||
FuSynapticsCxaudioDeviceKind fu_synaptics_cxaudio_firmware_get_devtype (FuSynapticsCxaudioFirmware *self);
|
FuSynapticsCxaudioDeviceKind fu_synaptics_cxaudio_firmware_get_devtype (FuSynapticsCxaudioFirmware *self);
|
||||||
guint8 fu_synaptics_cxaudio_firmware_get_layout_version (FuSynapticsCxaudioFirmware *self);
|
guint8 fu_synaptics_cxaudio_firmware_get_layout_version (FuSynapticsCxaudioFirmware *self);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -10,11 +10,7 @@
|
|||||||
#include "fu-plugin.h"
|
#include "fu-plugin.h"
|
||||||
#include "fu-synaprom-device.h"
|
#include "fu-synaprom-device.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_SYNAPROM_CONFIG (fu_synaprom_config_get_type ())
|
#define FU_TYPE_SYNAPROM_CONFIG (fu_synaprom_config_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuSynapromConfig, fu_synaprom_config, FU, SYNAPROM_CONFIG, FuDevice)
|
G_DECLARE_FINAL_TYPE (FuSynapromConfig, fu_synaprom_config, FU, SYNAPROM_CONFIG, FuDevice)
|
||||||
|
|
||||||
FuSynapromConfig *fu_synaprom_config_new (FuSynapromDevice *device);
|
FuSynapromConfig *fu_synaprom_config_new (FuSynapromDevice *device);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
|
|
||||||
#include "fu-plugin.h"
|
#include "fu-plugin.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_SYNAPROM_DEVICE (fu_synaprom_device_get_type ())
|
#define FU_TYPE_SYNAPROM_DEVICE (fu_synaprom_device_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuSynapromDevice, fu_synaprom_device, FU, SYNAPROM_DEVICE, FuUsbDevice)
|
G_DECLARE_FINAL_TYPE (FuSynapromDevice, fu_synaprom_device, FU, SYNAPROM_DEVICE, FuUsbDevice)
|
||||||
|
|
||||||
@ -41,5 +39,3 @@ FuFirmware *fu_synaprom_device_prepare_fw (FuDevice *device,
|
|||||||
GBytes *fw,
|
GBytes *fw,
|
||||||
FwupdInstallFlags flags,
|
FwupdInstallFlags flags,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
|
|
||||||
#include "fu-firmware.h"
|
#include "fu-firmware.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_SYNAPROM_FIRMWARE (fu_synaprom_firmware_get_type ())
|
#define FU_TYPE_SYNAPROM_FIRMWARE (fu_synaprom_firmware_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuSynapromFirmware, fu_synaprom_firmware, FU, SYNAPROM_FIRMWARE, FuFirmware)
|
G_DECLARE_FINAL_TYPE (FuSynapromFirmware, fu_synaprom_firmware, FU, SYNAPROM_FIRMWARE, FuFirmware)
|
||||||
|
|
||||||
@ -40,5 +38,3 @@ typedef struct __attribute__((packed)) {
|
|||||||
} FuSynapromFirmwareCfgHeader;
|
} FuSynapromFirmwareCfgHeader;
|
||||||
|
|
||||||
FuFirmware *fu_synaprom_firmware_new (void);
|
FuFirmware *fu_synaprom_firmware_new (void);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -10,8 +10,6 @@
|
|||||||
|
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define RMI_PRODUCT_ID_LENGTH 10
|
#define RMI_PRODUCT_ID_LENGTH 10
|
||||||
#define RMI_DEVICE_PDT_ENTRY_SIZE 6
|
#define RMI_DEVICE_PDT_ENTRY_SIZE 6
|
||||||
|
|
||||||
@ -36,5 +34,3 @@ FuSynapticsRmiFunction *fu_synaptics_rmi_function_parse (GByteArray *buf,
|
|||||||
gboolean fu_synaptics_rmi_device_writeln (const gchar *fn,
|
gboolean fu_synaptics_rmi_device_writeln (const gchar *fn,
|
||||||
const gchar *buf,
|
const gchar *buf,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
#include "fu-synaptics-rmi-common.h"
|
#include "fu-synaptics-rmi-common.h"
|
||||||
#include "fu-udev-device.h"
|
#include "fu-udev-device.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_SYNAPTICS_RMI_DEVICE (fu_synaptics_rmi_device_get_type ())
|
#define FU_TYPE_SYNAPTICS_RMI_DEVICE (fu_synaptics_rmi_device_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (FuSynapticsRmiDevice, fu_synaptics_rmi_device, FU, SYNAPTICS_RMI_DEVICE, FuUdevDevice)
|
G_DECLARE_DERIVABLE_TYPE (FuSynapticsRmiDevice, fu_synaptics_rmi_device, FU, SYNAPTICS_RMI_DEVICE, FuUdevDevice)
|
||||||
|
|
||||||
@ -76,5 +74,3 @@ gboolean fu_synaptics_rmi_device_rebind_driver (FuSynapticsRmiDevice *self,
|
|||||||
GError **error);
|
GError **error);
|
||||||
gboolean fu_synaptics_rmi_device_poll_wait (FuSynapticsRmiDevice *self,
|
gboolean fu_synaptics_rmi_device_poll_wait (FuSynapticsRmiDevice *self,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,13 +8,9 @@
|
|||||||
|
|
||||||
#include "fu-firmware.h"
|
#include "fu-firmware.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_SYNAPTICS_RMI_FIRMWARE (fu_synaptics_rmi_firmware_get_type ())
|
#define FU_TYPE_SYNAPTICS_RMI_FIRMWARE (fu_synaptics_rmi_firmware_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuSynapticsRmiFirmware, fu_synaptics_rmi_firmware, FU, SYNAPTICS_RMI_FIRMWARE, FuFirmware)
|
G_DECLARE_FINAL_TYPE (FuSynapticsRmiFirmware, fu_synaptics_rmi_firmware, FU, SYNAPTICS_RMI_FIRMWARE, FuFirmware)
|
||||||
|
|
||||||
FuFirmware *fu_synaptics_rmi_firmware_new (void);
|
FuFirmware *fu_synaptics_rmi_firmware_new (void);
|
||||||
GBytes *fu_synaptics_rmi_firmware_generate_v0x (void);
|
GBytes *fu_synaptics_rmi_firmware_generate_v0x (void);
|
||||||
GBytes *fu_synaptics_rmi_firmware_generate_v10 (void);
|
GBytes *fu_synaptics_rmi_firmware_generate_v10 (void);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -10,8 +10,6 @@
|
|||||||
|
|
||||||
#include "fu-synaptics-rmi-device.h"
|
#include "fu-synaptics-rmi-device.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
gboolean fu_synaptics_rmi_v5_device_detach (FuDevice *device,
|
gboolean fu_synaptics_rmi_v5_device_detach (FuDevice *device,
|
||||||
GError **error);
|
GError **error);
|
||||||
gboolean fu_synaptics_rmi_v5_device_write_firmware (FuDevice *device,
|
gboolean fu_synaptics_rmi_v5_device_write_firmware (FuDevice *device,
|
||||||
@ -22,5 +20,3 @@ gboolean fu_synaptics_rmi_v5_device_setup (FuSynapticsRmiDevice *self,
|
|||||||
GError **error);
|
GError **error);
|
||||||
gboolean fu_synaptics_rmi_v5_device_query_status (FuSynapticsRmiDevice *self,
|
gboolean fu_synaptics_rmi_v5_device_query_status (FuSynapticsRmiDevice *self,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -10,9 +10,5 @@
|
|||||||
|
|
||||||
#include "fu-synaptics-rmi-device.h"
|
#include "fu-synaptics-rmi-device.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
gboolean fu_synaptics_rmi_v6_device_setup (FuSynapticsRmiDevice *self,
|
gboolean fu_synaptics_rmi_v6_device_setup (FuSynapticsRmiDevice *self,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -10,8 +10,6 @@
|
|||||||
|
|
||||||
#include "fu-synaptics-rmi-device.h"
|
#include "fu-synaptics-rmi-device.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
gboolean fu_synaptics_rmi_v7_device_detach (FuDevice *device,
|
gboolean fu_synaptics_rmi_v7_device_detach (FuDevice *device,
|
||||||
GError **error);
|
GError **error);
|
||||||
gboolean fu_synaptics_rmi_v7_device_write_firmware (FuDevice *device,
|
gboolean fu_synaptics_rmi_v7_device_write_firmware (FuDevice *device,
|
||||||
@ -22,5 +20,3 @@ gboolean fu_synaptics_rmi_v7_device_setup (FuSynapticsRmiDevice *self,
|
|||||||
GError **error);
|
GError **error);
|
||||||
gboolean fu_synaptics_rmi_v7_device_query_status (FuSynapticsRmiDevice *self,
|
gboolean fu_synaptics_rmi_v7_device_query_status (FuSynapticsRmiDevice *self,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,13 +8,9 @@
|
|||||||
|
|
||||||
#include "fu-plugin.h"
|
#include "fu-plugin.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_SYNAPTICSMST_DEVICE (fu_synapticsmst_device_get_type ())
|
#define FU_TYPE_SYNAPTICSMST_DEVICE (fu_synapticsmst_device_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuSynapticsmstDevice, fu_synapticsmst_device, FU, SYNAPTICSMST_DEVICE, FuUdevDevice)
|
G_DECLARE_FINAL_TYPE (FuSynapticsmstDevice, fu_synapticsmst_device, FU, SYNAPTICSMST_DEVICE, FuUdevDevice)
|
||||||
|
|
||||||
FuSynapticsmstDevice *fu_synapticsmst_device_new (FuUdevDevice *device);
|
FuSynapticsmstDevice *fu_synapticsmst_device_new (FuUdevDevice *device);
|
||||||
void fu_synapticsmst_device_set_system_type (FuSynapticsmstDevice *self,
|
void fu_synapticsmst_device_set_system_type (FuSynapticsmstDevice *self,
|
||||||
const gchar *system_type);
|
const gchar *system_type);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -9,9 +9,5 @@
|
|||||||
|
|
||||||
#include "fu-plugin.h"
|
#include "fu-plugin.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_THELIO_IO_DEVICE (fu_thelio_io_device_get_type ())
|
#define FU_TYPE_THELIO_IO_DEVICE (fu_thelio_io_device_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuThelioIoDevice, fu_thelio_io_device, FU, THELIO_IO_DEVICE, FuUsbDevice)
|
G_DECLARE_FINAL_TYPE (FuThelioIoDevice, fu_thelio_io_device, FU, THELIO_IO_DEVICE, FuUsbDevice)
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -6,8 +6,6 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_UEFI_BGRT (fu_uefi_bgrt_get_type ())
|
#define FU_TYPE_UEFI_BGRT (fu_uefi_bgrt_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuUefiBgrt, fu_uefi_bgrt, FU, UEFI_BGRT, GObject)
|
G_DECLARE_FINAL_TYPE (FuUefiBgrt, fu_uefi_bgrt, FU, UEFI_BGRT, GObject)
|
||||||
|
|
||||||
@ -19,5 +17,3 @@ guint32 fu_uefi_bgrt_get_xoffset (FuUefiBgrt *self);
|
|||||||
guint32 fu_uefi_bgrt_get_yoffset (FuUefiBgrt *self);
|
guint32 fu_uefi_bgrt_get_yoffset (FuUefiBgrt *self);
|
||||||
guint32 fu_uefi_bgrt_get_width (FuUefiBgrt *self);
|
guint32 fu_uefi_bgrt_get_width (FuUefiBgrt *self);
|
||||||
guint32 fu_uefi_bgrt_get_height (FuUefiBgrt *self);
|
guint32 fu_uefi_bgrt_get_height (FuUefiBgrt *self);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -10,8 +10,6 @@
|
|||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <efivar.h>
|
#include <efivar.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
FU_UEFI_BOOTMGR_FLAG_NONE = 0,
|
FU_UEFI_BOOTMGR_FLAG_NONE = 0,
|
||||||
FU_UEFI_BOOTMGR_FLAG_USE_SHIM_FOR_SB = 1 << 0,
|
FU_UEFI_BOOTMGR_FLAG_USE_SHIM_FOR_SB = 1 << 0,
|
||||||
@ -23,5 +21,3 @@ gboolean fu_uefi_bootmgr_bootnext (const gchar *esp_path,
|
|||||||
const gchar *description,
|
const gchar *description,
|
||||||
FuUefiBootmgrFlags flags,
|
FuUefiBootmgrFlags flags,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -10,8 +10,6 @@
|
|||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <efivar.h>
|
#include <efivar.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define EFI_CAPSULE_HEADER_FLAGS_PERSIST_ACROSS_RESET 0x00010000
|
#define EFI_CAPSULE_HEADER_FLAGS_PERSIST_ACROSS_RESET 0x00010000
|
||||||
#define EFI_CAPSULE_HEADER_FLAGS_POPULATE_SYSTEM_TABLE 0x00020000
|
#define EFI_CAPSULE_HEADER_FLAGS_POPULATE_SYSTEM_TABLE 0x00020000
|
||||||
#define EFI_CAPSULE_HEADER_FLAGS_INITIATE_RESET 0x00040000
|
#define EFI_CAPSULE_HEADER_FLAGS_INITIATE_RESET 0x00040000
|
||||||
@ -84,5 +82,3 @@ GPtrArray *fu_uefi_get_esrt_entry_paths (const gchar *esrt_path,
|
|||||||
guint64 fu_uefi_read_file_as_uint64 (const gchar *path,
|
guint64 fu_uefi_read_file_as_uint64 (const gchar *path,
|
||||||
const gchar *attr_name);
|
const gchar *attr_name);
|
||||||
void fu_uefi_print_efivar_errors (void);
|
void fu_uefi_print_efivar_errors (void);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -11,8 +11,6 @@
|
|||||||
#include "fu-uefi-device.h"
|
#include "fu-uefi-device.h"
|
||||||
#include "fu-uefi-update-info.h"
|
#include "fu-uefi-update-info.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_UEFI_DEVICE (fu_uefi_device_get_type ())
|
#define FU_TYPE_UEFI_DEVICE (fu_uefi_device_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuUefiDevice, fu_uefi_device, FU, UEFI_DEVICE, FuDevice)
|
G_DECLARE_FINAL_TYPE (FuUefiDevice, fu_uefi_device, FU, UEFI_DEVICE, FuDevice)
|
||||||
|
|
||||||
@ -62,5 +60,3 @@ gboolean fu_uefi_device_write_update_info (FuUefiDevice *self,
|
|||||||
const gchar *varname,
|
const gchar *varname,
|
||||||
const efi_guid_t *guid,
|
const efi_guid_t *guid,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
FU_UEFI_DEVPATH_PARSE_FLAG_NONE = 0,
|
FU_UEFI_DEVPATH_PARSE_FLAG_NONE = 0,
|
||||||
FU_UEFI_DEVPATH_PARSE_FLAG_REPAIR = 1 << 0,
|
FU_UEFI_DEVPATH_PARSE_FLAG_REPAIR = 1 << 0,
|
||||||
@ -24,5 +22,3 @@ GBytes *fu_uefi_devpath_find_data (GPtrArray *dps,
|
|||||||
guint8 type,
|
guint8 type,
|
||||||
guint8 subtype,
|
guint8 subtype,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -6,8 +6,6 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_UEFI_PCRS (fu_uefi_pcrs_get_type ())
|
#define FU_TYPE_UEFI_PCRS (fu_uefi_pcrs_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuUefiPcrs, fu_uefi_pcrs, FU, UEFI_PCRS, GObject)
|
G_DECLARE_FINAL_TYPE (FuUefiPcrs, fu_uefi_pcrs, FU, UEFI_PCRS, GObject)
|
||||||
|
|
||||||
@ -16,5 +14,3 @@ gboolean fu_uefi_pcrs_setup (FuUefiPcrs *self,
|
|||||||
GError **error);
|
GError **error);
|
||||||
GPtrArray *fu_uefi_pcrs_get_checksums (FuUefiPcrs *self,
|
GPtrArray *fu_uefi_pcrs_get_checksums (FuUefiPcrs *self,
|
||||||
guint idx);
|
guint idx);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -6,8 +6,6 @@
|
|||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_UEFI_UPDATE_INFO (fu_uefi_update_info_get_type ())
|
#define FU_TYPE_UEFI_UPDATE_INFO (fu_uefi_update_info_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuUefiUpdateInfo, fu_uefi_update_info, FU, UEFI_UPDATE_INFO, GObject)
|
G_DECLARE_FINAL_TYPE (FuUefiUpdateInfo, fu_uefi_update_info, FU, UEFI_UPDATE_INFO, GObject)
|
||||||
|
|
||||||
@ -29,5 +27,3 @@ const gchar *fu_uefi_update_info_get_capsule_fn (FuUefiUpdateInfo *self);
|
|||||||
guint32 fu_uefi_update_info_get_capsule_flags (FuUefiUpdateInfo *self);
|
guint32 fu_uefi_update_info_get_capsule_flags (FuUefiUpdateInfo *self);
|
||||||
guint64 fu_uefi_update_info_get_hw_inst (FuUefiUpdateInfo *self);
|
guint64 fu_uefi_update_info_get_hw_inst (FuUefiUpdateInfo *self);
|
||||||
FuUefiUpdateInfoStatus fu_uefi_update_info_get_status (FuUefiUpdateInfo *self);
|
FuUefiUpdateInfoStatus fu_uefi_update_info_get_status (FuUefiUpdateInfo *self);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_UEFI_VARS_GUID_EFI_GLOBAL "8be4df61-93ca-11d2-aa0d-00e098032b8c"
|
#define FU_UEFI_VARS_GUID_EFI_GLOBAL "8be4df61-93ca-11d2-aa0d-00e098032b8c"
|
||||||
#define FU_UEFI_VARS_GUID_FWUPDATE "0abba7dc-e516-4167-bbf5-4d9d1c739416"
|
#define FU_UEFI_VARS_GUID_FWUPDATE "0abba7dc-e516-4167-bbf5-4d9d1c739416"
|
||||||
#define FU_UEFI_VARS_GUID_UX_CAPSULE "3b8c8162-188c-46a4-aec9-be43f1d65697"
|
#define FU_UEFI_VARS_GUID_UX_CAPSULE "3b8c8162-188c-46a4-aec9-be43f1d65697"
|
||||||
@ -44,5 +42,3 @@ gboolean fu_uefi_vars_delete (const gchar *guid,
|
|||||||
gboolean fu_uefi_vars_delete_with_glob (const gchar *guid,
|
gboolean fu_uefi_vars_delete_with_glob (const gchar *guid,
|
||||||
const gchar *name_glob,
|
const gchar *name_glob,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,9 +8,5 @@
|
|||||||
|
|
||||||
#include "fu-unifying-bootloader.h"
|
#include "fu-unifying-bootloader.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_UNIFYING_BOOTLOADER_NORDIC (fu_unifying_bootloader_nordic_get_type ())
|
#define FU_TYPE_UNIFYING_BOOTLOADER_NORDIC (fu_unifying_bootloader_nordic_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuUnifyingBootloaderNordic, fu_unifying_bootloader_nordic, FU, UNIFYING_BOOTLOADER_NORDIC, FuUnifyingBootloader)
|
G_DECLARE_FINAL_TYPE (FuUnifyingBootloaderNordic, fu_unifying_bootloader_nordic, FU, UNIFYING_BOOTLOADER_NORDIC, FuUnifyingBootloader)
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,9 +8,5 @@
|
|||||||
|
|
||||||
#include "fu-unifying-bootloader.h"
|
#include "fu-unifying-bootloader.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_UNIFYING_BOOTLOADER_TEXAS (fu_unifying_bootloader_texas_get_type ())
|
#define FU_TYPE_UNIFYING_BOOTLOADER_TEXAS (fu_unifying_bootloader_texas_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuUnifyingBootloaderTexas, fu_unifying_bootloader_texas, FU, UNIFYING_BOOTLOADER_TEXAS, FuUnifyingBootloader)
|
G_DECLARE_FINAL_TYPE (FuUnifyingBootloaderTexas, fu_unifying_bootloader_texas, FU, UNIFYING_BOOTLOADER_TEXAS, FuUnifyingBootloader)
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
#include "fu-usb-device.h"
|
#include "fu-usb-device.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_UNIFYING_BOOTLOADER (fu_unifying_bootloader_get_type ())
|
#define FU_TYPE_UNIFYING_BOOTLOADER (fu_unifying_bootloader_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (FuUnifyingBootloader, fu_unifying_bootloader, FU, UNIFYING_BOOTLOADER, FuUsbDevice)
|
G_DECLARE_DERIVABLE_TYPE (FuUnifyingBootloader, fu_unifying_bootloader, FU, UNIFYING_BOOTLOADER, FuUsbDevice)
|
||||||
|
|
||||||
@ -76,5 +74,3 @@ gboolean fu_unifying_bootloader_request (FuUnifyingBootloader *self,
|
|||||||
guint16 fu_unifying_bootloader_get_addr_lo (FuUnifyingBootloader *self);
|
guint16 fu_unifying_bootloader_get_addr_lo (FuUnifyingBootloader *self);
|
||||||
guint16 fu_unifying_bootloader_get_addr_hi (FuUnifyingBootloader *self);
|
guint16 fu_unifying_bootloader_get_addr_hi (FuUnifyingBootloader *self);
|
||||||
guint16 fu_unifying_bootloader_get_blocksize (FuUnifyingBootloader *self);
|
guint16 fu_unifying_bootloader_get_blocksize (FuUnifyingBootloader *self);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_UNIFYING_DEVICE_VID 0x046d
|
#define FU_UNIFYING_DEVICE_VID 0x046d
|
||||||
|
|
||||||
#define FU_UNIFYING_DEVICE_PID_RUNTIME 0xc52b
|
#define FU_UNIFYING_DEVICE_PID_RUNTIME 0xc52b
|
||||||
@ -28,5 +26,3 @@ gchar *fu_unifying_format_version (const gchar *name,
|
|||||||
guint8 major,
|
guint8 major,
|
||||||
guint8 minor,
|
guint8 minor,
|
||||||
guint16 build);
|
guint16 build);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
FU_UNIFYING_HIDPP_MSG_FLAG_NONE,
|
FU_UNIFYING_HIDPP_MSG_FLAG_NONE,
|
||||||
FU_UNIFYING_HIDPP_MSG_FLAG_LONGER_TIMEOUT = 1 << 0,
|
FU_UNIFYING_HIDPP_MSG_FLAG_LONGER_TIMEOUT = 1 << 0,
|
||||||
@ -54,5 +52,3 @@ const gchar *fu_unifying_hidpp_msg_dev_id_to_string (FuUnifyingHidppMsg *msg);
|
|||||||
const gchar *fu_unifying_hidpp_msg_rpt_id_to_string (FuUnifyingHidppMsg *msg);
|
const gchar *fu_unifying_hidpp_msg_rpt_id_to_string (FuUnifyingHidppMsg *msg);
|
||||||
const gchar *fu_unifying_hidpp_msg_sub_id_to_string (FuUnifyingHidppMsg *msg);
|
const gchar *fu_unifying_hidpp_msg_sub_id_to_string (FuUnifyingHidppMsg *msg);
|
||||||
const gchar *fu_unifying_hidpp_msg_fcn_id_to_string (FuUnifyingHidppMsg *msg);
|
const gchar *fu_unifying_hidpp_msg_fcn_id_to_string (FuUnifyingHidppMsg *msg);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -10,8 +10,6 @@
|
|||||||
|
|
||||||
#include "fu-io-channel.h"
|
#include "fu-io-channel.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Based on the HID++ documentation provided by Nestor Lopez Casado at:
|
* Based on the HID++ documentation provided by Nestor Lopez Casado at:
|
||||||
* https://drive.google.com/folderview?id=0BxbRzx7vEV7eWmgwazJ3NUFfQ28&usp=sharing
|
* https://drive.google.com/folderview?id=0BxbRzx7vEV7eWmgwazJ3NUFfQ28&usp=sharing
|
||||||
@ -148,5 +146,3 @@ gboolean fu_unifying_hidpp_receive (FuIOChannel *self,
|
|||||||
gboolean fu_unifying_hidpp_transfer (FuIOChannel *self,
|
gboolean fu_unifying_hidpp_transfer (FuIOChannel *self,
|
||||||
FuUnifyingHidppMsg *msg,
|
FuUnifyingHidppMsg *msg,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,9 +8,5 @@
|
|||||||
|
|
||||||
#include "fu-udev-device.h"
|
#include "fu-udev-device.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_UNIFYING_PERIPHERAL (fu_unifying_peripheral_get_type ())
|
#define FU_TYPE_UNIFYING_PERIPHERAL (fu_unifying_peripheral_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuUnifyingPeripheral, fu_unifying_peripheral, FU, UNIFYING_PERIPHERAL, FuUdevDevice)
|
G_DECLARE_FINAL_TYPE (FuUnifyingPeripheral, fu_unifying_peripheral, FU, UNIFYING_PERIPHERAL, FuUdevDevice)
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,9 +8,5 @@
|
|||||||
|
|
||||||
#include "fu-udev-device.h"
|
#include "fu-udev-device.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_UNIFYING_RUNTIME (fu_unifying_runtime_get_type ())
|
#define FU_TYPE_UNIFYING_RUNTIME (fu_unifying_runtime_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuUnifyingRuntime, fu_unifying_runtime, FU, UNIFYING_RUNTIME, FuUdevDevice)
|
G_DECLARE_FINAL_TYPE (FuUnifyingRuntime, fu_unifying_runtime, FU, UNIFYING_RUNTIME, FuUdevDevice)
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,11 +8,7 @@
|
|||||||
|
|
||||||
#include "fu-wacom-device.h"
|
#include "fu-wacom-device.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_WACOM_AES_DEVICE (fu_wacom_aes_device_get_type ())
|
#define FU_TYPE_WACOM_AES_DEVICE (fu_wacom_aes_device_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuWacomAesDevice, fu_wacom_aes_device, FU, WACOM_AES_DEVICE, FuWacomDevice)
|
G_DECLARE_FINAL_TYPE (FuWacomAesDevice, fu_wacom_aes_device, FU, WACOM_AES_DEVICE, FuWacomDevice)
|
||||||
|
|
||||||
FuWacomAesDevice *fu_wacom_aes_device_new (FuUdevDevice *device);
|
FuWacomAesDevice *fu_wacom_aes_device_new (FuUdevDevice *device);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_WACOM_RAW_CMD_RETRIES 1000
|
#define FU_WACOM_RAW_CMD_RETRIES 1000
|
||||||
|
|
||||||
#define FU_WACOM_RAW_STATUS_REPORT_ID 0x04
|
#define FU_WACOM_RAW_STATUS_REPORT_ID 0x04
|
||||||
@ -72,5 +70,3 @@ gboolean fu_wacom_common_check_reply (const FuWacomRawRequest *req,
|
|||||||
GError **error);
|
GError **error);
|
||||||
gboolean fu_wacom_common_block_is_empty (const guint8 *data,
|
gboolean fu_wacom_common_block_is_empty (const guint8 *data,
|
||||||
guint16 datasz);
|
guint16 datasz);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
#include "fu-wacom-common.h"
|
#include "fu-wacom-common.h"
|
||||||
#include "fu-udev-device.h"
|
#include "fu-udev-device.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_WACOM_DEVICE (fu_wacom_device_get_type ())
|
#define FU_TYPE_WACOM_DEVICE (fu_wacom_device_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (FuWacomDevice, fu_wacom_device, FU, WACOM_DEVICE, FuUdevDevice)
|
G_DECLARE_DERIVABLE_TYPE (FuWacomDevice, fu_wacom_device, FU, WACOM_DEVICE, FuUdevDevice)
|
||||||
|
|
||||||
@ -48,5 +46,3 @@ gboolean fu_wacom_device_check_mpu (FuWacomDevice *self,
|
|||||||
GError **error);
|
GError **error);
|
||||||
guint fu_wacom_device_get_block_sz (FuWacomDevice *self);
|
guint fu_wacom_device_get_block_sz (FuWacomDevice *self);
|
||||||
guint fu_wacom_device_get_base_addr (FuWacomDevice *self);
|
guint fu_wacom_device_get_base_addr (FuWacomDevice *self);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,11 +8,7 @@
|
|||||||
|
|
||||||
#include "fu-wacom-device.h"
|
#include "fu-wacom-device.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_WACOM_EMR_DEVICE (fu_wacom_emr_device_get_type ())
|
#define FU_TYPE_WACOM_EMR_DEVICE (fu_wacom_emr_device_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuWacomEmrDevice, fu_wacom_emr_device, FU, WACOM_EMR_DEVICE, FuUdevDevice)
|
G_DECLARE_FINAL_TYPE (FuWacomEmrDevice, fu_wacom_emr_device, FU, WACOM_EMR_DEVICE, FuUdevDevice)
|
||||||
|
|
||||||
FuWacomEmrDevice *fu_wacom_emr_device_new (FuUdevDevice *device);
|
FuWacomEmrDevice *fu_wacom_emr_device_new (FuUdevDevice *device);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_WAC_PACKET_LEN 512
|
#define FU_WAC_PACKET_LEN 512
|
||||||
|
|
||||||
#define FU_WAC_REPORT_ID_COMMAND 0x01
|
#define FU_WAC_REPORT_ID_COMMAND 0x01
|
||||||
@ -47,5 +45,3 @@ void fu_wac_buffer_dump (const gchar *title,
|
|||||||
guint8 cmd,
|
guint8 cmd,
|
||||||
const guint8 *buf,
|
const guint8 *buf,
|
||||||
gsize sz);
|
gsize sz);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
#include "fu-plugin.h"
|
#include "fu-plugin.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_WAC_DEVICE (fu_wac_device_get_type ())
|
#define FU_TYPE_WAC_DEVICE (fu_wac_device_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuWacDevice, fu_wac_device, FU, WAC_DEVICE, FuUsbDevice)
|
G_DECLARE_FINAL_TYPE (FuWacDevice, fu_wac_device, FU, WAC_DEVICE, FuUsbDevice)
|
||||||
|
|
||||||
@ -32,5 +30,3 @@ gboolean fu_wac_device_set_feature_report (FuWacDevice *self,
|
|||||||
gsize bufsz,
|
gsize bufsz,
|
||||||
FuWacDeviceFeatureFlags flags,
|
FuWacDeviceFeatureFlags flags,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,11 +8,7 @@
|
|||||||
|
|
||||||
#include "fu-firmware.h"
|
#include "fu-firmware.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_WAC_FIRMWARE (fu_wac_firmware_get_type ())
|
#define FU_TYPE_WAC_FIRMWARE (fu_wac_firmware_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuWacFirmware, fu_wac_firmware, FU, WAC_FIRMWARE, FuFirmware)
|
G_DECLARE_FINAL_TYPE (FuWacFirmware, fu_wac_firmware, FU, WAC_FIRMWARE, FuFirmware)
|
||||||
|
|
||||||
FuFirmware *fu_wac_firmware_new (void);
|
FuFirmware *fu_wac_firmware_new (void);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,11 +8,7 @@
|
|||||||
|
|
||||||
#include "fu-wac-module.h"
|
#include "fu-wac-module.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_WAC_MODULE_BLUETOOTH (fu_wac_module_bluetooth_get_type ())
|
#define FU_TYPE_WAC_MODULE_BLUETOOTH (fu_wac_module_bluetooth_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuWacModuleBluetooth, fu_wac_module_bluetooth, FU, WAC_MODULE_BLUETOOTH, FuWacModule)
|
G_DECLARE_FINAL_TYPE (FuWacModuleBluetooth, fu_wac_module_bluetooth, FU, WAC_MODULE_BLUETOOTH, FuWacModule)
|
||||||
|
|
||||||
FuWacModule *fu_wac_module_bluetooth_new (GUsbDevice *usb_device);
|
FuWacModule *fu_wac_module_bluetooth_new (GUsbDevice *usb_device);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,11 +8,7 @@
|
|||||||
|
|
||||||
#include "fu-wac-module.h"
|
#include "fu-wac-module.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_WAC_MODULE_TOUCH (fu_wac_module_touch_get_type ())
|
#define FU_TYPE_WAC_MODULE_TOUCH (fu_wac_module_touch_get_type ())
|
||||||
G_DECLARE_FINAL_TYPE (FuWacModuleTouch, fu_wac_module_touch, FU, WAC_MODULE_TOUCH, FuWacModule)
|
G_DECLARE_FINAL_TYPE (FuWacModuleTouch, fu_wac_module_touch, FU, WAC_MODULE_TOUCH, FuWacModule)
|
||||||
|
|
||||||
FuWacModule *fu_wac_module_touch_new (GUsbDevice *usb_device);
|
FuWacModule *fu_wac_module_touch_new (GUsbDevice *usb_device);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
#include "fu-plugin.h"
|
#include "fu-plugin.h"
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_WAC_MODULE (fu_wac_module_get_type ())
|
#define FU_TYPE_WAC_MODULE (fu_wac_module_get_type ())
|
||||||
G_DECLARE_DERIVABLE_TYPE (FuWacModule, fu_wac_module, FU, WAC_MODULE, FuDevice)
|
G_DECLARE_DERIVABLE_TYPE (FuWacModule, fu_wac_module, FU, WAC_MODULE, FuDevice)
|
||||||
|
|
||||||
@ -32,5 +30,3 @@ gboolean fu_wac_module_set_feature (FuWacModule *self,
|
|||||||
guint8 command,
|
guint8 command,
|
||||||
GBytes *blob,
|
GBytes *blob,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
#include <glib-object.h>
|
#include <glib-object.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
#define FU_TYPE_ARCHIVE (fu_archive_get_type ())
|
#define FU_TYPE_ARCHIVE (fu_archive_get_type ())
|
||||||
|
|
||||||
G_DECLARE_FINAL_TYPE (FuArchive, fu_archive, FU, ARCHIVE, GObject)
|
G_DECLARE_FINAL_TYPE (FuArchive, fu_archive, FU, ARCHIVE, GObject)
|
||||||
@ -51,5 +49,3 @@ GBytes *fu_archive_lookup_by_fn (FuArchive *self,
|
|||||||
void fu_archive_iterate (FuArchive *self,
|
void fu_archive_iterate (FuArchive *self,
|
||||||
FuArchiveIterateFunc callback,
|
FuArchiveIterateFunc callback,
|
||||||
gpointer user_data);
|
gpointer user_data);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <gusb.h>
|
#include <gusb.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
guint32 idx;
|
guint32 idx;
|
||||||
guint32 page;
|
guint32 page;
|
||||||
@ -36,5 +34,3 @@ GPtrArray *fu_chunk_array_new_from_bytes (GBytes *blob,
|
|||||||
guint32 addr_start,
|
guint32 addr_start,
|
||||||
guint32 page_sz,
|
guint32 page_sz,
|
||||||
guint32 packet_sz);
|
guint32 packet_sz);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,10 +8,6 @@
|
|||||||
|
|
||||||
#include <xmlb.h>
|
#include <xmlb.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
XbSilo *fu_common_cab_build_silo (GBytes *blob,
|
XbSilo *fu_common_cab_build_silo (GBytes *blob,
|
||||||
guint64 size_max,
|
guint64 size_max,
|
||||||
GError **error);
|
GError **error);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,8 +8,4 @@
|
|||||||
|
|
||||||
#include <gio/gio.h>
|
#include <gio/gio.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
gboolean fu_common_guid_is_plausible (const guint8 *buf);
|
gboolean fu_common_guid_is_plausible (const guint8 *buf);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
@ -9,8 +9,6 @@
|
|||||||
#include <gio/gio.h>
|
#include <gio/gio.h>
|
||||||
#include <fwupd.h>
|
#include <fwupd.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
gint fu_common_vercmp (const gchar *version_a,
|
gint fu_common_vercmp (const gchar *version_a,
|
||||||
const gchar *version_b);
|
const gchar *version_b);
|
||||||
gchar *fu_common_version_from_uint32 (guint32 val,
|
gchar *fu_common_version_from_uint32 (guint32 val,
|
||||||
@ -23,4 +21,3 @@ FwupdVersionFormat fu_common_version_guess_format (const gchar *version);
|
|||||||
gboolean fu_common_version_verify_format (const gchar *version,
|
gboolean fu_common_version_verify_format (const gchar *version,
|
||||||
FwupdVersionFormat fmt,
|
FwupdVersionFormat fmt,
|
||||||
GError **error);
|
GError **error);
|
||||||
G_END_DECLS
|
|
||||||
|
@ -8,8 +8,6 @@
|
|||||||
|
|
||||||
#include <gio/gio.h>
|
#include <gio/gio.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* FuAppFlags:
|
* FuAppFlags:
|
||||||
* @FU_APP_FLAGS_NONE: No flags set
|
* @FU_APP_FLAGS_NONE: No flags set
|
||||||
@ -195,5 +193,3 @@ gchar **fu_common_strnsplit (const gchar *str,
|
|||||||
gsize sz,
|
gsize sz,
|
||||||
const gchar *delimiter,
|
const gchar *delimiter,
|
||||||
gint max_tokens);
|
gint max_tokens);
|
||||||
|
|
||||||
G_END_DECLS
|
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user