~ubuntu-branches/ubuntu/utopic/libmbim/utopic-proposed

« back to all changes in this revision

Viewing changes to src/libmbim-glib/mbim-uuid.h

  • Committer: Package Import Robot
  • Author(s): Thomas Bechtold
  • Date: 2014-03-25 07:51:28 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20140325075128-rrycs0azf6u6j2af
Tags: 1.8.0-1
* New upstream release.
* Update debian/libmbim-glib0.symbols.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
};
51
51
#undef MBIM_PACKED
52
52
 
53
 
gboolean  mbim_uuid_cmp           (const MbimUuid *a,
54
 
                                   const MbimUuid *b);
55
 
gchar    *mbim_uuid_get_printable (const MbimUuid *uuid);
 
53
gboolean  mbim_uuid_cmp            (const MbimUuid *a,
 
54
                                    const MbimUuid *b);
 
55
gchar    *mbim_uuid_get_printable  (const MbimUuid *uuid);
 
56
gboolean  mbim_uuid_from_printable (const gchar *str,
 
57
                                    MbimUuid    *uuid);
56
58
 
57
59
/*****************************************************************************/
58
60
 
66
68
 * @MBIM_SERVICE_STK: SIM toolkit service.
67
69
 * @MBIM_SERVICE_AUTH: Authentication service.
68
70
 * @MBIM_SERVICE_DSS: Device Service Stream service.
 
71
 * @MBIM_SERVICE_MS_FIRMWARE_ID: Microsoft Firmware ID service.
 
72
 * @MBIM_SERVICE_MS_HOST_SHUTDOWN: Microsoft Host Shutdown service.
69
73
 *
70
74
 * Enumeration of the generic MBIM services.
71
75
 */
72
76
typedef enum {
73
 
    MBIM_SERVICE_INVALID       = 0,
74
 
    MBIM_SERVICE_BASIC_CONNECT = 1,
75
 
    MBIM_SERVICE_SMS           = 2,
76
 
    MBIM_SERVICE_USSD          = 3,
77
 
    MBIM_SERVICE_PHONEBOOK     = 4,
78
 
    MBIM_SERVICE_STK           = 5,
79
 
    MBIM_SERVICE_AUTH          = 6,
80
 
    MBIM_SERVICE_DSS           = 7,
 
77
    MBIM_SERVICE_INVALID          = 0,
 
78
    MBIM_SERVICE_BASIC_CONNECT    = 1,
 
79
    MBIM_SERVICE_SMS              = 2,
 
80
    MBIM_SERVICE_USSD             = 3,
 
81
    MBIM_SERVICE_PHONEBOOK        = 4,
 
82
    MBIM_SERVICE_STK              = 5,
 
83
    MBIM_SERVICE_AUTH             = 6,
 
84
    MBIM_SERVICE_DSS              = 7,
 
85
    MBIM_SERVICE_MS_FIRMWARE_ID   = 8,
 
86
    MBIM_SERVICE_MS_HOST_SHUTDOWN = 9,
81
87
} MbimService;
82
88
 
83
89
/**
152
158
 */
153
159
#define MBIM_UUID_DSS mbim_uuid_from_service (MBIM_SERVICE_DSS)
154
160
 
 
161
/**
 
162
 * MBIM_UUID_MS_FIRMWARE_ID:
 
163
 *
 
164
 * Get the UUID of the %MBIM_SERVICE_MS_FIRMWARE_ID service.
 
165
 *
 
166
 * Returns: (transfer none): a #MbimUuid.
 
167
 */
 
168
#define MBIM_UUID_MS_FIRMWARE_ID mbim_uuid_from_service (MBIM_SERVICE_MS_FIRMWARE_ID)
 
169
 
 
170
/**
 
171
 * MBIM_UUID_MS_HOST_SHUTDOWN:
 
172
 *
 
173
 * Get the UUID of the %MBIM_SERVICE_MS_HOST_SHUTDOWN service.
 
174
 *
 
175
 * Returns: (transfer none): a #MbimUuid.
 
176
 */
 
177
#define MBIM_UUID_MS_HOST_SHUTDOWN mbim_uuid_from_service (MBIM_SERVICE_MS_HOST_SHUTDOWN)
 
178
 
155
179
/* To/From service */
156
180
const MbimUuid *mbim_uuid_from_service  (MbimService     service);
157
181
MbimService     mbim_uuid_to_service    (const MbimUuid *uuid);