diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2017-02-15 15:17:00 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2017-02-23 09:53:56 +0100 |
commit | f4cc493426df00f2ec6a768f6719826424dd5e73 (patch) | |
tree | 7a7ff58dacd711661d6a22d1560dec095a0f102f /src/qmi-firmware-update/qfu-utils.h | |
parent | 5a7d20a6a23961f316e1195050fa09bab97a52d3 (diff) | |
download | external_libqmi-f4cc493426df00f2ec6a768f6719826424dd5e73.zip external_libqmi-f4cc493426df00f2ec6a768f6719826424dd5e73.tar.gz external_libqmi-f4cc493426df00f2ec6a768f6719826424dd5e73.tar.bz2 |
qmi-firmware-update: new optional runtime check to see if MM running
Enabled by default, may be disabled using --without-mm-runtime-check
during configure.
Diffstat (limited to 'src/qmi-firmware-update/qfu-utils.h')
-rw-r--r-- | src/qmi-firmware-update/qfu-utils.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/qmi-firmware-update/qfu-utils.h b/src/qmi-firmware-update/qfu-utils.h index 1490053..3444db1 100644 --- a/src/qmi-firmware-update/qfu-utils.h +++ b/src/qmi-firmware-update/qfu-utils.h @@ -23,6 +23,8 @@ #ifndef QFU_UTILS_H #define QFU_UTILS_H +#include "config.h" + #include <glib.h> #include <gio/gio.h> #include <libqmi-glib.h> @@ -70,6 +72,13 @@ gboolean qfu_utils_power_cycle_finish (QmiClientDms *qmi_client, GAsyncResult *res, GError **error); +#if defined WITH_MM_RUNTIME_CHECK + +gboolean qfu_utils_modemmanager_running (gboolean *mm_running, + GError **error); + +#endif + G_END_DECLS #endif /* QFU_UTILS_H */ |