Debian Codegraph @

src/qmi-firmware-update/qfu-log.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-2017 Zodiac Inflight Innovations
19 * Copyright (C) 2016-2017 Aleksander Morgado <[email protected]>
20 */
21
22 #ifndef QFU_LOG_H
23 #define QFU_LOG_H
24
25 #include <glib.h>
26
27 G_BEGIN_DECLS
28
29 gboolean qfu_log_init (gboolean stdout_verbose,
30 gboolean stdout_silent,
31 const gchar *verbose_log_path);
32 void qfu_log_shutdown (void);
33 gboolean qfu_log_get_verbose (void);
34 gboolean qfu_log_get_verbose_stdout (void);
35
36 G_END_DECLS
37
38 #endif /* QFU_LOG_H */