diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2017-01-13 15:14:09 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-01-16 11:24:16 +0100 |
commit | 3038951fe085514f6fa4872d0b578756fe22d492 (patch) | |
tree | e4d16036e9bac1996ee84a88407644117980465e /src/qmi-firmware-update/qfu-utils.h | |
parent | f8c5c6f48b07fce4d6deeb8c4b10aaf393ca8264 (diff) | |
download | external_libqmi-3038951fe085514f6fa4872d0b578756fe22d492.zip external_libqmi-3038951fe085514f6fa4872d0b578756fe22d492.tar.gz external_libqmi-3038951fe085514f6fa4872d0b578756fe22d492.tar.bz2 |
qmi-firmware-update: make QMI client allocation a common util
Diffstat (limited to 'src/qmi-firmware-update/qfu-utils.h')
-rw-r--r-- | src/qmi-firmware-update/qfu-utils.h | 12 |
1 files changed, 12 insertions, 0 deletions
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 <glib.h> #include <gio/gio.h> +#include <libqmi-glib.h> 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 */ |