From 3038951fe085514f6fa4872d0b578756fe22d492 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Fri, 13 Jan 2017 15:14:09 +0100 Subject: qmi-firmware-update: make QMI client allocation a common util --- src/qmi-firmware-update/qfu-utils.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/qmi-firmware-update/qfu-utils.h') diff --git a/src/qmi-firmware-update/qfu-utils.h b/src/qmi-firmware-update/qfu-utils.h index 8180a83..076520e 100644 --- a/src/qmi-firmware-update/qfu-utils.h +++ b/src/qmi-firmware-update/qfu-utils.h @@ -25,6 +25,7 @@ #include #include +#include G_BEGIN_DECLS @@ -43,6 +44,17 @@ gboolean qfu_utils_parse_cwe_version_string (const gchar *version, gchar **carrier, GError **error); +void qfu_utils_new_client_dms (GFile *cdc_wdm_file, + gboolean device_open_proxy, + gboolean device_open_mbim, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +gboolean qfu_utils_new_client_dms_finish (GAsyncResult *res, + QmiDevice **qmi_device, + QmiClientDms **qmi_client, + GError **error); + G_END_DECLS #endif /* QFU_UTILS_H */ -- cgit v1.1