Debian Codegraph @

src/libqmi-glib/qmi-flags64-wds.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) 2021 Google Inc.
21 */
22
23 #ifndef _LIBQMI_GLIB_QMI_FLAGS64_WDS_H_
24 #define _LIBQMI_GLIB_QMI_FLAGS64_WDS_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 #include <glib.h>
31
32 /**
33 * QmiWdsApnTypeMask:
34 * @QMI_WDS_APN_TYPE_MASK_DEFAULT: Default/Internet traffic.
35 * @QMI_WDS_APN_TYPE_MASK_IMS: IP Multimedia Subsystem.
36 * @QMI_WDS_APN_TYPE_MASK_MMS: Multimedia Messaging Service.
37 * @QMI_WDS_APN_TYPE_MASK_DUN: DUN/tethering. Since 1.36.
38 * @QMI_WDS_APN_TYPE_MASK_SUPL: SUPL server access. Since 1.36.
39 * @QMI_WDS_APN_TYPE_MASK_HIPRI: Hi priority. Since 1.36.
40 * @QMI_WDS_APN_TYPE_MASK_FOTA: over the air administration.
41 * @QMI_WDS_APN_TYPE_MASK_CBS: CBS. Since 1.36.
42 * @QMI_WDS_APN_TYPE_MASK_IA: Initial Attach.
43 * @QMI_WDS_APN_TYPE_MASK_EMERGENCY: Emergency.
44 * @QMI_WDS_APN_TYPE_MASK_UT: UT. Since 1.36.
45 * @QMI_WDS_APN_TYPE_MASK_MCX: Mission critical service. Since 1.36.
46 *
47 * APN type as a bitmask.
48 *
49 * Since: 1.30
50 */
51 typedef enum { /*< since=1.30 >*/
52 QMI_WDS_APN_TYPE_MASK_DEFAULT = ((guint64) 1) << 0,
53 QMI_WDS_APN_TYPE_MASK_IMS = ((guint64) 1) << 1,
54 QMI_WDS_APN_TYPE_MASK_MMS = ((guint64) 1) << 2,
55 QMI_WDS_APN_TYPE_MASK_DUN = ((guint64) 1) << 3,
56 QMI_WDS_APN_TYPE_MASK_SUPL = ((guint64) 1) << 4,
57 QMI_WDS_APN_TYPE_MASK_HIPRI = ((guint64) 1) << 5,
58 QMI_WDS_APN_TYPE_MASK_FOTA = ((guint64) 1) << 6,
59 QMI_WDS_APN_TYPE_MASK_CBS = ((guint64) 1) << 7,
60 QMI_WDS_APN_TYPE_MASK_IA = ((guint64) 1) << 8,
61 QMI_WDS_APN_TYPE_MASK_EMERGENCY = ((guint64) 1) << 9,
62 QMI_WDS_APN_TYPE_MASK_UT = ((guint64) 1) << 10,
63 QMI_WDS_APN_TYPE_MASK_MCX = ((guint64) 1) << 11,
64 } QmiWdsApnTypeMask;
65
66 #endif /* _LIBQMI_GLIB_QMI_FLAGS64_WDS_H_ */