Debian Codegraph @

src/qmi-firmware-update/qfu-operation.h

raw
1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * qmi-firmware-update -- Command line tool to update firmware in QMI devices
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 *
18 * Copyright (C) 2016 Zodiac Inflight Innovations
19 * Copyright (C) 2016-2017 Aleksander Morgado <[email protected]>
20 */
21
22 #ifndef QFU_OPERATION_H
23 #define QFU_OPERATION_H
24
25 #include "config.h"
26
27 #include <glib.h>
28 #include <libqmi-glib.h>
29 #include "qfu-device-selection.h"
30
31 G_BEGIN_DECLS
32
33 gboolean qfu_operation_update_run (const gchar **images,
34 QfuDeviceSelection *device_selection,
35 const gchar *firmware_version,
36 const gchar *config_version,
37 const gchar *carrier,
38 QmiDeviceOpenFlags device_open_flags,
39 gboolean ignore_version_errors,
40 gboolean override_download,
41 guint8 modem_storage_index,
42 gboolean skip_validation);
43 gboolean qfu_operation_update_download_run (const gchar **images,
44 QfuDeviceSelection *device_selection);
45 gboolean qfu_operation_verify_run (const gchar **images);
46 gboolean qfu_operation_reset_run (QfuDeviceSelection *device_selection,
47 QmiDeviceOpenFlags device_open_flags);
48
49 G_END_DECLS
50
51 #endif /* QFU_OPERATION_H */