diff options
author | Dylan Van Assche <me@dylanvanassche.be> | 2022-02-06 18:47:24 +0100 |
---|---|---|
committer | Dylan Van Assche <me@dylanvanassche.be> | 2022-02-08 19:33:56 +0100 |
commit | 90397fa1bbae2297aca169f8fbfa981fa0f5d4e6 (patch) | |
tree | 3f608612b0681484d9d52eb3c1031f4c9282016c /src/mm-iface-modem-firmware.h | |
parent | bdf4d898f6a490ce2c1c9dc41871c4baced1e37b (diff) |
iface-modem-firmware: expose device id builder
Expose the generic device id method as a public API for plugins.
Plugins can call this method first and then add their own device ids on
top in case the generic ones aren't specific enough like in the case of
Quectel modems.
Diffstat (limited to 'src/mm-iface-modem-firmware.h')
-rw-r--r-- | src/mm-iface-modem-firmware.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mm-iface-modem-firmware.h b/src/mm-iface-modem-firmware.h index 365bfb15..0e823827 100644 --- a/src/mm-iface-modem-firmware.h +++ b/src/mm-iface-modem-firmware.h @@ -72,6 +72,10 @@ struct _MMIfaceModemFirmware { GType mm_iface_modem_firmware_get_type (void); G_DEFINE_AUTOPTR_CLEANUP_FUNC (MMIfaceModemFirmware, g_object_unref) +/* Get generic device ids */ +GPtrArray *mm_iface_firmware_build_generic_device_ids (MMIfaceModemFirmware *self, + GError **error); + /* Initialize Firmware interface (async) */ void mm_iface_modem_firmware_initialize (MMIfaceModemFirmware *self, GCancellable *cancellable, |