rename send to _send to avoid conflict with system headers
[project/uqmi.git] / qmi-enums.h
1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * uqmi -- tiny QMI support implementation
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) 2012 Google, Inc.
21  */
22
23 #ifndef _LIBQMI_GLIB_QMI_ENUMS_H_
24 #define _LIBQMI_GLIB_QMI_ENUMS_H_
25
26 /**
27  * SECTION: qmi-enums
28  * @title: Common enumerations and flags
29  *
30  * This section defines common enumerations and flags used in the interface.
31  */
32
33 /**
34  * QmiService:
35  * @QMI_SERVICE_UNKNOWN: Unknown service.
36  * @QMI_SERVICE_CTL: Control service.
37  * @QMI_SERVICE_WDS: Wireless Data Service.
38  * @QMI_SERVICE_DMS: Device Management Service.
39  * @QMI_SERVICE_NAS: Network Access Service.
40  * @QMI_SERVICE_QOS: Quality Of Service service.
41  * @QMI_SERVICE_WMS: Wireless Messaging Service.
42  * @QMI_SERVICE_PDS: Position Determination Service.
43  * @QMI_SERVICE_AUTH: Authentication service.
44  * @QMI_SERVICE_AT: AT service.
45  * @QMI_SERVICE_VOICE: Voice service.
46  * @QMI_SERVICE_CAT2: Card Application Toolkit service (v2).
47  * @QMI_SERVICE_UIM: User Identity Module service.
48  * @QMI_SERVICE_PBM: Phonebook Management service.
49  * @QMI_SERVICE_LOC: Location service (~ PDS v2).
50  * @QMI_SERVICE_SAR: SAR.
51  * @QMI_SERVICE_RMTFS: Remote Filesystem service.
52  * @QMI_SERVICE_CAT: Card Application Toolkit service (v1).
53  * @QMI_SERVICE_RMS: Remote Management Service.
54  * @QMI_SERVICE_OMA: Open Mobile Alliance device management service.
55  *
56  * QMI services.
57  */
58 typedef enum {
59     /* Unknown service */
60     QMI_SERVICE_UNKNOWN = -1,
61     /* Control service */
62     QMI_SERVICE_CTL = 0x00,
63     /* Wireless Data Service */
64     QMI_SERVICE_WDS = 0x01,
65     /* Device Management Service */
66     QMI_SERVICE_DMS = 0x02,
67     /* Network Access Service */
68     QMI_SERVICE_NAS = 0x03,
69     /* Quality Of Service service */
70     QMI_SERVICE_QOS = 0x04,
71     /* Wireless Messaging Service */
72     QMI_SERVICE_WMS = 0x05,
73     /* Position Determination Service */
74     QMI_SERVICE_PDS = 0x06,
75     /* Authentication service */
76     QMI_SERVICE_AUTH = 0x07,
77     /* AT service */
78     QMI_SERVICE_AT = 0x08,
79     /* Voice service */
80     QMI_SERVICE_VOICE = 0x09,
81     /* Card Application Toolkit service (major version 2) */
82     QMI_SERVICE_CAT2 = 0x0A,
83     /* User Identity Module service */
84     QMI_SERVICE_UIM = 0x0B,
85     /* Phonebook Management service */
86     QMI_SERVICE_PBM = 0x0C,
87     /* Location service (~ PDS major version 2) */
88     QMI_SERVICE_LOC = 0x10,
89     /* No idea what this one means.. Search And Rescue? */
90     QMI_SERVICE_SAR = 0x11,
91     /* Remote Filesystem service */
92     QMI_SERVICE_RMTFS = 0x14,
93     /* Card Application Toolkit service */
94     QMI_SERVICE_CAT = 0xE0,
95     /* Remote Management Service */
96     QMI_SERVICE_RMS = 0xE1,
97     /* Open Mobile Alliance device management service */
98     QMI_SERVICE_OMA = 0xE2
99 } QmiService;
100
101 #endif /* _LIBQMI_GLIB_QMI_ENUMS_H_ */