Debian Codegraph @

src/libqmi-glib/qmi-enums-qos.h

raw
1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * libqmi-glib -- GLib/GIO based library to control QMI devices
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library 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 GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301 USA.
19 *
20 * Copyright (C) 2018 Aleksander Morgado <[email protected]>
21 */
22
23 #ifndef _LIBQMI_GLIB_QMI_ENUMS_QOS_H_
24 #define _LIBQMI_GLIB_QMI_ENUMS_QOS_H_
25
26 #if !defined (__LIBQMI_GLIB_H_INSIDE__) && !defined (LIBQMI_GLIB_COMPILATION)
27 #error "Only <libqmi-glib.h> can be included directly."
28 #endif
29
30 /**
31 * SECTION: qmi-enums-qos
32 * @title: QOS enumerations and flags
33 * @short_description: Enumerations and flags in the QOS service.
34 *
35 * This section defines enumerations and flags used in the QOS service
36 * interface.
37 */
38
39 /**
40 * QmiQosStatus:
41 * @QMI_QOS_STATUS_UNKNOWN: Unknown.
42 * @QMI_QOS_STATUS_ACTIVATED: Activated.
43 * @QMI_QOS_STATUS_SUSPENDED: Suspended.
44 * @QMI_QOS_STATUS_GONE: Gone.
45 *
46 * QoS flow status.
47 *
48 * Since: 1.22
49 */
50 typedef enum { /*< since=1.22 >*/
51 QMI_QOS_STATUS_UNKNOWN = 0,
52 QMI_QOS_STATUS_ACTIVATED = 1,
53 QMI_QOS_STATUS_SUSPENDED = 2,
54 QMI_QOS_STATUS_GONE = 3,
55 } QmiQosStatus;
56
57 /**
58 * QmiQosEvent:
59 * @QMI_QOS_EVENT_UNKNOWN: Unknown.
60 * @QMI_QOS_EVENT_ACTIVATED: Activated.
61 * @QMI_QOS_EVENT_SUSPENDED: Suspended.
62 * @QMI_QOS_EVENT_GONE: Gone.
63 * @QMI_QOS_EVENT_MODIFY_ACCEPTED: Modify accepted.
64 * @QMI_QOS_EVENT_MODIFY_REJECTED: Modify rejected.
65 * @QMI_QOS_EVENT_INFO_CODE_UPDATED: Information code updated.
66 *
67 * QoS event.
68 *
69 * Since: 1.22
70 */
71 typedef enum { /*< since=1.22 >*/
72 QMI_QOS_EVENT_UNKNOWN = 0,
73 QMI_QOS_EVENT_ACTIVATED = 1,
74 QMI_QOS_EVENT_SUSPENDED = 2,
75 QMI_QOS_EVENT_GONE = 3,
76 QMI_QOS_EVENT_MODIFY_ACCEPTED = 4,
77 QMI_QOS_EVENT_MODIFY_REJECTED = 5,
78 QMI_QOS_EVENT_INFO_CODE_UPDATED = 6,
79 } QmiQosEvent;
80
81 #endif /* _LIBQMI_GLIB_QMI_ENUMS_QOS_H_ */