Debian Codegraph @

src/libqmi-glib/qmi-compat.h

raw
1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This library is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Lesser General Public
5 * License as published by the Free Software Foundation; either
6 * version 2 of the License, or (at your option) any later version.
7 *
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public
14 * License along with this library; if not, write to the
15 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16 * Boston, MA 02110-1301 USA.
17 *
18 * Copyright (C) 2016-2022 Aleksander Morgado <[email protected]>
19 */
20
21 #ifndef _LIBQMI_GLIB_QMI_COMPAT_H_
22 #define _LIBQMI_GLIB_QMI_COMPAT_H_
23
24 #ifndef QMI_DISABLE_DEPRECATED
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 "qmi-device.h"
31 #include "qmi-dms.h"
32 #include "qmi-nas.h"
33 #include "qmi-uim.h"
34 #include "qmi-wda.h"
35 #include "qmi-wds.h"
36 #include "qmi-pdc.h"
37 #include "qmi-loc.h"
38 #include "qmi-enums-nas.h"
39 #include "qmi-enums-wms.h"
40 #include "qmi-enums-pdc.h"
41
42 /**
43 * SECTION:qmi-compat
44 * @short_description: Deprecated types and methods.
45 *
46 * These types and methods are flagged as deprecated and therefore
47 * shouldn't be used in newly written code. They are provided to avoid
48 * innecessary API/ABI breaks, for compatibility purposes only.
49 */
50
51 /**
52 * qmi_utils_read_guint8_from_buffer:
53 * @buffer: a buffer with raw binary data.
54 * @buffer_size: size of @buffer.
55 * @out: return location for the read variable.
56 *
57 * Reads an unsigned byte from the buffer.
58 *
59 * The user needs to make sure that at least 1 byte is available
60 * in the buffer.
61 *
62 * Also note that both @buffer and @buffer_size get updated after the 1 byte
63 * read.
64 *
65 * Since: 1.0
66 * Deprecated: 1.12: Use qmi_message_tlv_read_guint8() instead.
67 */
68 G_DEPRECATED_FOR (qmi_message_tlv_read_guint8)
69 void qmi_utils_read_guint8_from_buffer (const guint8 **buffer,
70 guint16 *buffer_size,
71 guint8 *out);
72
73 /**
74 * qmi_utils_read_gint8_from_buffer:
75 * @buffer: a buffer with raw binary data.
76 * @buffer_size: size of @buffer.
77 * @out: return location for the read variable.
78 *
79 * Reads a signed byte from the buffer.
80 *
81 * The user needs to make sure that at least 1 byte is available
82 * in the buffer.
83 *
84 * Also note that both @buffer and @buffer_size get updated after the 1 byte
85 * read.
86 *
87 * Since: 1.0
88 * Deprecated: 1.12: Use qmi_message_tlv_read_gint8() instead.
89 */
90 G_DEPRECATED_FOR (qmi_message_tlv_read_gint8)
91 void qmi_utils_read_gint8_from_buffer (const guint8 **buffer,
92 guint16 *buffer_size,
93 gint8 *out);
94
95 /**
96 * qmi_utils_read_guint16_from_buffer:
97 * @buffer: a buffer with raw binary data.
98 * @buffer_size: size of @buffer.
99 * @endian: endianness of firmware value; swapped to host byte order if necessary
100 * @out: return location for the read variable.
101 *
102 * Reads an unsigned 16-bit integer from the buffer. The number in the buffer is
103 * expected to be given in the byte order specificed by @endian, and this method
104 * takes care of converting the read value to the proper host endianness.
105 *
106 * The user needs to make sure that at least 2 bytes are available
107 * in the buffer.
108 *
109 * Also note that both @buffer and @buffer_size get updated after the 2 bytes
110 * read.
111 *
112 * Since: 1.0
113 * Deprecated: 1.12: Use qmi_message_tlv_read_guint16() instead.
114 */
115 G_DEPRECATED_FOR (qmi_message_tlv_read_guint16)
116 void qmi_utils_read_guint16_from_buffer (const guint8 **buffer,
117 guint16 *buffer_size,
118 QmiEndian endian,
119 guint16 *out);
120
121 /**
122 * qmi_utils_read_gint16_from_buffer:
123 * @buffer: a buffer with raw binary data.
124 * @buffer_size: size of @buffer.
125 * @endian: endianness of firmware value; swapped to host byte order if necessary
126 * @out: return location for the read variable.
127 *
128 * Reads a signed 16-bit integer from the buffer. The number in the buffer is
129 * expected to be given in the byte order specified by @endian, and this method
130 * takes care of converting the read value to the proper host endianness.
131 *
132 * The user needs to make sure that at least 2 bytes are available
133 * in the buffer.
134 *
135 * Also note that both @buffer and @buffer_size get updated after the 2 bytes
136 * read.
137 *
138 * Since: 1.0
139 * Deprecated: 1.12: Use qmi_message_tlv_read_gint16() instead.
140 */
141 G_DEPRECATED_FOR (qmi_message_tlv_read_gint16)
142 void qmi_utils_read_gint16_from_buffer (const guint8 **buffer,
143 guint16 *buffer_size,
144 QmiEndian endian,
145 gint16 *out);
146
147 /**
148 * qmi_utils_read_guint32_from_buffer:
149 * @buffer: a buffer with raw binary data.
150 * @buffer_size: size of @buffer.
151 * @endian: endianness of firmware value; swapped to host byte order if necessary
152 * @out: return location for the read variable.
153 *
154 * Reads an unsigned 32-bit integer from the buffer. The number in the buffer is
155 * expected to be given in the byte order specified by @endian, and this method
156 * takes care of converting the read value to the proper host endianness.
157 *
158 * The user needs to make sure that at least 4 bytes are available
159 * in the buffer.
160 *
161 * Also note that both @buffer and @buffer_size get updated after the 4 bytes
162 * read.
163 *
164 * Since: 1.0
165 * Deprecated: 1.12: Use qmi_message_tlv_read_guint32() instead.
166 */
167 G_DEPRECATED_FOR (qmi_message_tlv_read_guint32)
168 void qmi_utils_read_guint32_from_buffer (const guint8 **buffer,
169 guint16 *buffer_size,
170 QmiEndian endian,
171 guint32 *out);
172
173 /**
174 * qmi_utils_read_gint32_from_buffer:
175 * @buffer: a buffer with raw binary data.
176 * @buffer_size: size of @buffer.
177 * @endian: endianness of firmware value; swapped to host byte order if necessary
178 * @out: return location for the read variable.
179 *
180 * Reads a signed 32-bit integer from the buffer. The number in the buffer is
181 * expected to be given in the byte order specified by @endian, and this method
182 * takes care of converting the read value to the proper host endianness.
183 *
184 * The user needs to make sure that at least 4 bytes are available
185 * in the buffer.
186 *
187 * Also note that both @buffer and @buffer_size get updated after the 4 bytes
188 * read.
189 *
190 * Since: 1.0
191 * Deprecated: 1.12: Use qmi_message_tlv_read_gint32() instead.
192 */
193 G_DEPRECATED_FOR (qmi_message_tlv_read_gint32)
194 void qmi_utils_read_gint32_from_buffer (const guint8 **buffer,
195 guint16 *buffer_size,
196 QmiEndian endian,
197 gint32 *out);
198
199 /**
200 * qmi_utils_read_guint64_from_buffer:
201 * @buffer: a buffer with raw binary data.
202 * @buffer_size: size of @buffer.
203 * @endian: endianness of firmware value; swapped to host byte order if necessary
204 * @out: return location for the read variable.
205 *
206 * Reads an unsigned 64-bit integer from the buffer. The number in the buffer is
207 * expected to be given in the byte order specified by @endian, and this method
208 * takes care of converting the read value to the proper host endianness.
209 *
210 * The user needs to make sure that at least 8 bytes are available
211 * in the buffer.
212 *
213 * Also note that both @buffer and @buffer_size get updated after the 8 bytes
214 * read.
215 *
216 * Since: 1.0
217 * Deprecated: 1.12: Use qmi_message_tlv_read_guint64() instead.
218 */
219 G_DEPRECATED_FOR (qmi_message_tlv_read_guint64)
220 void qmi_utils_read_guint64_from_buffer (const guint8 **buffer,
221 guint16 *buffer_size,
222 QmiEndian endian,
223 guint64 *out);
224
225 /**
226 * qmi_utils_read_gint64_from_buffer:
227 * @buffer: a buffer with raw binary data.
228 * @buffer_size: size of @buffer.
229 * @endian: endianness of firmware value; swapped to host byte order if necessary
230 * @out: return location for the read variable.
231 *
232 * Reads a signed 64-bit integer from the buffer. The number in the buffer is
233 * expected to be given in the byte order specified by @endian, and this method
234 * takes care of converting the read value to the proper host endianness.
235 *
236 * The user needs to make sure that at least 8 bytes are available
237 * in the buffer.
238 *
239 * Also note that both @buffer and @buffer_size get updated after the 8 bytes
240 * read.
241 *
242 * Since: 1.0
243 * Deprecated: 1.12: Use qmi_message_tlv_read_gint64() instead.
244 */
245 G_DEPRECATED_FOR (qmi_message_tlv_read_gint64)
246 void qmi_utils_read_gint64_from_buffer (const guint8 **buffer,
247 guint16 *buffer_size,
248 QmiEndian endian,
249 gint64 *out);
250
251 /**
252 * qmi_utils_read_sized_guint_from_buffer:
253 * @buffer: a buffer with raw binary data.
254 * @buffer_size: size of @buffer.
255 * @n_bytes: number of bytes to read.
256 * @endian: endianness of firmware value; swapped to host byte order if necessary
257 * @out: return location for the read variable.
258 *
259 * Reads a @n_bytes-sized unsigned integer from the buffer. The number in the
260 * buffer is expected to be given in the byte order specified by @endian, and
261 * this method takes care of converting the read value to the proper host
262 * endianness.
263 *
264 * The user needs to make sure that at least @n_bytes bytes are available
265 * in the buffer.
266 *
267 * Also note that both @buffer and @buffer_size get updated after the @n_bytes
268 * bytes read.
269 *
270 * Since: 1.0
271 * Deprecated: 1.12: Use qmi_message_tlv_read_sized_guint() instead.
272 */
273 G_DEPRECATED_FOR (qmi_message_tlv_read_sized_guint)
274 void qmi_utils_read_sized_guint_from_buffer (const guint8 **buffer,
275 guint16 *buffer_size,
276 guint n_bytes,
277 QmiEndian endian,
278 guint64 *out);
279
280 /**
281 * qmi_utils_read_gfloat_from_buffer:
282 * @buffer: a buffer with raw binary data.
283 * @buffer_size: size of @buffer.
284 * @out: return location for the read variable.
285 *
286 * Reads a 32-bit floating-point number from the buffer.
287 *
288 * The user needs to make sure that at least 4 bytes are available
289 * in the buffer.
290 *
291 * Also note that both @buffer and @buffer_size get updated after the 4 bytes
292 * read.
293 *
294 * Since: 1.10
295 * Deprecated: 1.12: Use qmi_message_tlv_read_gfloat() instead.
296 */
297 G_DEPRECATED_FOR (qmi_message_tlv_read_gfloat)
298 void qmi_utils_read_gfloat_from_buffer (const guint8 **buffer,
299 guint16 *buffer_size,
300 gfloat *out);
301
302 /**
303 * qmi_utils_write_guint8_to_buffer:
304 * @buffer: a buffer.
305 * @buffer_size: size of @buffer.
306 * @in: location of the variable to be written.
307 *
308 * Writes an unsigned byte into the buffer.
309 *
310 * The user needs to make sure that the buffer is at least 1 byte long.
311 *
312 * Also note that both @buffer and @buffer_size get updated after the 1 byte
313 * write.
314 *
315 * Since: 1.0
316 * Deprecated: 1.12: Use qmi_message_tlv_write_guint8() instead.
317 */
318 G_DEPRECATED_FOR (qmi_message_tlv_write_guint8)
319 void qmi_utils_write_guint8_to_buffer (guint8 **buffer,
320 guint16 *buffer_size,
321 guint8 *in);
322
323 /**
324 * qmi_utils_write_gint8_to_buffer:
325 * @buffer: a buffer.
326 * @buffer_size: size of @buffer.
327 * @in: location of the variable to be written.
328 *
329 * Writes a signed byte into the buffer.
330 *
331 * The user needs to make sure that the buffer is at least 1 byte long.
332 *
333 * Also note that both @buffer and @buffer_size get updated after the 1 byte
334 * write.
335 *
336 * Since: 1.0
337 * Deprecated: 1.12: Use qmi_message_tlv_write_gint8() instead.
338 */
339 G_DEPRECATED_FOR (qmi_message_tlv_write_gint8)
340 void qmi_utils_write_gint8_to_buffer (guint8 **buffer,
341 guint16 *buffer_size,
342 gint8 *in);
343
344 /**
345 * qmi_utils_write_guint16_to_buffer:
346 * @buffer: a buffer.
347 * @buffer_size: size of @buffer.
348 * @endian: endianness of firmware value; swapped from host byte order if necessary
349 * @in: location of the variable to be written.
350 *
351 * Writes an unsigned 16-bit integer into the buffer. The number to be written
352 * is expected to be given in host endianness, and this method takes care of
353 * converting the value written to the byte order specified by @endian.
354 *
355 * The user needs to make sure that the buffer is at least 2 bytes long.
356 *
357 * Also note that both @buffer and @buffer_size get updated after the 2 bytes
358 * write.
359 *
360 * Since: 1.0
361 * Deprecated: 1.12: Use qmi_message_tlv_write_guint16() instead.
362 */
363 G_DEPRECATED_FOR (qmi_message_tlv_write_guint16)
364 void qmi_utils_write_guint16_to_buffer (guint8 **buffer,
365 guint16 *buffer_size,
366 QmiEndian endian,
367 guint16 *in);
368
369 /**
370 * qmi_utils_write_gint16_to_buffer:
371 * @buffer: a buffer.
372 * @buffer_size: size of @buffer.
373 * @endian: endianness of firmware value; swapped from host byte order if necessary
374 * @in: location of the variable to be written.
375 *
376 * Writes a signed 16-bit integer into the buffer. The number to be written
377 * is expected to be given in host endianness, and this method takes care of
378 * converting the value written to the byte order specified by @endian.
379 *
380 * The user needs to make sure that the buffer is at least 2 bytes long.
381 *
382 * Also note that both @buffer and @buffer_size get updated after the 2 bytes
383 * write.
384 *
385 * Since: 1.0
386 * Deprecated: 1.12: Use qmi_message_tlv_write_gint16() instead.
387 */
388 G_DEPRECATED_FOR (qmi_message_tlv_write_gint16)
389 void qmi_utils_write_gint16_to_buffer (guint8 **buffer,
390 guint16 *buffer_size,
391 QmiEndian endian,
392 gint16 *in);
393
394 /**
395 * qmi_utils_write_guint32_to_buffer:
396 * @buffer: a buffer.
397 * @buffer_size: size of @buffer.
398 * @endian: endianness of firmware value; swapped from host byte order if necessary
399 * @in: location of the variable to be written.
400 *
401 * Writes an unsigned 32-bit integer into the buffer. The number to be written
402 * is expected to be given in host endianness, and this method takes care of
403 * converting the value written to the byte order specified by @endian.
404 *
405 * The user needs to make sure that the buffer is at least 4 bytes long.
406 *
407 * Also note that both @buffer and @buffer_size get updated after the 4 bytes
408 * write.
409 *
410 * Since: 1.0
411 * Deprecated: 1.12: Use qmi_message_tlv_write_guint32() instead.
412 */
413 G_DEPRECATED_FOR (qmi_message_tlv_write_guint32)
414 void qmi_utils_write_guint32_to_buffer (guint8 **buffer,
415 guint16 *buffer_size,
416 QmiEndian endian,
417 guint32 *in);
418
419 /**
420 * qmi_utils_write_gint32_to_buffer:
421 * @buffer: a buffer.
422 * @buffer_size: size of @buffer.
423 * @endian: endianness of firmware value; swapped from host byte order if necessary
424 * @in: location of the variable to be written.
425 *
426 * Writes a signed 32-bit integer into the buffer. The number to be written
427 * is expected to be given in host endianness, and this method takes care of
428 * converting the value written to the byte order specified by @endian.
429 *
430 * The user needs to make sure that the buffer is at least 4 bytes long.
431 *
432 * Also note that both @buffer and @buffer_size get updated after the 4 bytes
433 * write.
434 *
435 * Since: 1.0
436 * Deprecated: 1.12: Use qmi_message_tlv_write_gint32() instead.
437 */
438 G_DEPRECATED_FOR (qmi_message_tlv_write_gint32)
439 void qmi_utils_write_gint32_to_buffer (guint8 **buffer,
440 guint16 *buffer_size,
441 QmiEndian endian,
442 gint32 *in);
443
444 /**
445 * qmi_utils_write_guint64_to_buffer:
446 * @buffer: a buffer.
447 * @buffer_size: size of @buffer.
448 * @endian: endianness of firmware value; swapped from host byte order if necessary
449 * @in: location of the variable to be written.
450 *
451 * Writes an unsigned 64-bit integer into the buffer. The number to be written
452 * is expected to be given in host endianness, and this method takes care of
453 * converting the value written to the byte order specified by @endian.
454 *
455 * The user needs to make sure that the buffer is at least 8 bytes long.
456 *
457 * Also note that both @buffer and @buffer_size get updated after the 8 bytes
458 * write.
459 *
460 * Since: 1.0
461 * Deprecated: 1.12: Use qmi_message_tlv_write_guint64() instead.
462 */
463 G_DEPRECATED_FOR (qmi_message_tlv_write_guint64)
464 void qmi_utils_write_guint64_to_buffer (guint8 **buffer,
465 guint16 *buffer_size,
466 QmiEndian endian,
467 guint64 *in);
468
469 /**
470 * qmi_utils_write_gint64_to_buffer:
471 * @buffer: a buffer.
472 * @buffer_size: size of @buffer.
473 * @endian: endianness of firmware value; swapped from host byte order if necessary
474 * @in: location of the variable to be written.
475 *
476 * Writes a signed 64-bit integer into the buffer. The number to be written
477 * is expected to be given in host endianness, and this method takes care of
478 * converting the value written to the byte order specified by @endian.
479 *
480 * The user needs to make sure that the buffer is at least 8 bytes long.
481 *
482 * Also note that both @buffer and @buffer_size get updated after the 8 bytes
483 * write.
484 *
485 * Since: 1.0
486 * Deprecated: 1.12: Use qmi_message_tlv_write_gint64() instead.
487 */
488 G_DEPRECATED_FOR (qmi_message_tlv_write_gint64)
489 void qmi_utils_write_gint64_to_buffer (guint8 **buffer,
490 guint16 *buffer_size,
491 QmiEndian endian,
492 gint64 *in);
493
494 /**
495 * qmi_utils_write_sized_guint_to_buffer:
496 * @buffer: a buffer.
497 * @buffer_size: size of @buffer.
498 * @n_bytes: number of bytes to write.
499 * @endian: endianness of firmware value; swapped from host byte order if necessary
500 * @in: location of the variable to be written.
501 *
502 * Writes a @n_bytes-sized unsigned integer into the buffer. The number to be
503 * written is expected to be given in host endianness, and this method takes
504 * care of converting the value written to the byte order specified by @endian.
505 *
506 * The user needs to make sure that the buffer is at least @n_bytes bytes long.
507 *
508 * Also note that both @buffer and @buffer_size get updated after the @n_bytes
509 * bytes write.
510 *
511 * Since: 1.0
512 * Deprecated: 1.12: Use qmi_message_tlv_write_sized_guint() instead.
513 */
514 G_DEPRECATED_FOR (qmi_message_tlv_write_sized_guint)
515 void qmi_utils_write_sized_guint_to_buffer (guint8 **buffer,
516 guint16 *buffer_size,
517 guint n_bytes,
518 QmiEndian endian,
519 guint64 *in);
520
521 /**
522 * qmi_utils_read_string_from_buffer:
523 * @buffer: a buffer with raw binary data.
524 * @buffer_size: size of @buffer.
525 * @length_prefix_size: size of the length prefix integer in bits.
526 * @max_size: maximum number of bytes to read, or 0 to read all available bytes.
527 * @out: return location for the read string. The returned value should be freed with g_free().
528 *
529 * Reads a string from the buffer.
530 *
531 * If @length_prefix_size is greater than 0, only the amount of bytes given
532 * there will be read. Otherwise, up to @buffer_size bytes will be read.
533 *
534 * Also note that both @buffer and @buffer_size get updated after the write.
535 *
536 * Since: 1.0
537 * Deprecated: 1.12: Use qmi_message_tlv_read_string() instead.
538 */
539 G_DEPRECATED_FOR (qmi_message_tlv_read_string)
540 void qmi_utils_read_string_from_buffer (const guint8 **buffer,
541 guint16 *buffer_size,
542 guint8 length_prefix_size,
543 guint16 max_size,
544 gchar **out);
545
546 /**
547 * qmi_utils_write_string_to_buffer:
548 * @buffer: a buffer.
549 * @buffer_size: size of @buffer.
550 * @length_prefix_size: size of the length prefix integer in bits.
551 * @in: string to write.
552 *
553 * Writes a string to the buffer.
554 *
555 * If @length_prefix_size is greater than 0, a length prefix integer will be
556 * included in the write operation.
557 *
558 * The user needs to make sure that the buffer has enough space for both the
559 * whole string and the length prefix.
560 *
561 * Also note that both @buffer and @buffer_size get updated after the write.
562 *
563 * Since: 1.0
564 * Deprecated: 1.12: Use qmi_message_tlv_write_string() instead.
565 */
566 G_DEPRECATED_FOR (qmi_message_tlv_write_string)
567 void qmi_utils_write_string_to_buffer (guint8 **buffer,
568 guint16 *buffer_size,
569 guint8 length_prefix_size,
570 const gchar *in);
571
572 /**
573 * qmi_utils_read_fixed_size_string_from_buffer:
574 * @buffer: a buffer with raw binary data.
575 * @buffer_size: size of @buffer.
576 * @fixed_size: number of bytes to read.
577 * @out: buffer preallocated by the client, with at least @fixed_size bytes.
578 *
579 * Reads a @fixed_size-sized string from the buffer into the @out buffer.
580 *
581 * Also note that both @buffer and @buffer_size get updated after the
582 * @fixed_size bytes read.
583 *
584 * Since: 1.0
585 * Deprecated: 1.12: Use qmi_message_tlv_read_fixed_size_string() instead.
586 */
587 G_DEPRECATED_FOR (qmi_message_tlv_read_fixed_size_string)
588 void qmi_utils_read_fixed_size_string_from_buffer (const guint8 **buffer,
589 guint16 *buffer_size,
590 guint16 fixed_size,
591 gchar *out);
592
593 /**
594 * qmi_utils_write_fixed_size_string_to_buffer:
595 * @buffer: a buffer.
596 * @buffer_size: size of @buffer.
597 * @fixed_size: number of bytes to write.
598 * @in: string to write.
599 *
600 * Writes a @fixed_size-sized string to the buffer, without any length prefix.
601 *
602 * The user needs to make sure that the buffer is at least @fixed_size bytes
603 * long.
604 *
605 * Also note that both @buffer and @buffer_size get updated after the
606 * @fixed_size bytes write.
607 *
608 * Since: 1.0
609 * Deprecated: 1.12: Use qmi_message_tlv_write_string() instead.
610 */
611 G_DEPRECATED_FOR (qmi_message_tlv_write_string)
612 void qmi_utils_write_fixed_size_string_to_buffer (guint8 **buffer,
613 guint16 *buffer_size,
614 guint16 fixed_size,
615 const gchar *in);
616
617 /**
618 * QMI_NAS_SIM_REJECT_STATE_SIM_VAILABLE:
619 *
620 * SIM available.
621 *
622 * Since: 1.0
623 * Deprecated: 1.14.0: Use the correct #QMI_NAS_SIM_REJECT_STATE_SIM_AVAILABLE name instead.
624 */
625 G_DEPRECATED typedef int QmiDeprecatedNasSimRejectState;
626 #define QMI_NAS_SIM_REJECT_STATE_SIM_VAILABLE (QmiDeprecatedNasSimRejectState) QMI_NAS_SIM_REJECT_STATE_SIM_AVAILABLE
627
628 /**
629 * qmi_message_get_printable:
630 * @self: a #QmiMessage.
631 * @line_prefix: prefix string to use in each new generated line.
632 *
633 * Gets a printable string with the contents of the whole QMI message.
634 *
635 * If known, the printable string will contain translated TLV values as well as the raw
636 * data buffer contents.
637 *
638 * Returns: (transfer full): a newly allocated string, which should be freed with g_free().
639 *
640 * Since: 1.0
641 * Deprecated: 1.18: Use qmi_message_get_printable_full() instead.
642 */
643 G_DEPRECATED_FOR (qmi_message_get_printable_full)
644 gchar *qmi_message_get_printable (QmiMessage *self,
645 const gchar *line_prefix);
646
647 /**
648 * qmi_message_get_version_introduced:
649 * @self: a #QmiMessage.
650 * @major: (out): return location for the major version.
651 * @minor: (out): return location for the minor version.
652 *
653 * Gets, if known, the service version in which the given message was first
654 * introduced.
655 *
656 * Returns: %TRUE if @major and @minor are set, %FALSE otherwise.
657 *
658 * Since: 1.0
659 * Deprecated: 1.18: Use qmi_message_get_version_introduced_full() instead.
660 */
661 G_DEPRECATED_FOR (qmi_message_get_version_introduced_full)
662 gboolean qmi_message_get_version_introduced (QmiMessage *self,
663 guint *major,
664 guint *minor);
665
666 /**
667 * qmi_message_get_version_introduced_full:
668 * @self: a #QmiMessage.
669 * @context: a #QmiMessageContext.
670 * @major: (out): return location for the major version.
671 * @minor: (out): return location for the minor version.
672 *
673 * Gets, if known, the service version in which the given message was first
674 * introduced.
675 *
676 * The lookup of the version may be specific to the @context provided, e.g. for
677 * vendor-specific messages.
678 *
679 * If no @context given, the behavior is the same as qmi_message_get_version_introduced().
680 *
681 * Since 1.26, this method will return %FALSE as the library no longer provides
682 * version information for each message, given that this information was never
683 * reliable.
684 *
685 * Returns: %TRUE if @major and @minor are set, %FALSE otherwise.
686 *
687 * Since: 1.18
688 * Deprecated: 1.26: The version information of each message is no longer available.
689 */
690 G_DEPRECATED
691 gboolean qmi_message_get_version_introduced_full (QmiMessage *self,
692 QmiMessageContext *context,
693 guint *major,
694 guint *minor);
695
696 /**
697 * qmi_device_close:
698 * @self: a #QmiDevice
699 * @error: Return location for error or %NULL.
700 *
701 * Synchronously closes a #QmiDevice, preventing any further I/O.
702 *
703 * If this device was opened with @QMI_DEVICE_OPEN_FLAGS_MBIM, this
704 * operation will not wait for the response of the underlying MBIM
705 * close sequence.
706 *
707 * Closing a #QmiDevice multiple times will not return an error.
708 *
709 * Returns: %TRUE if successful, %FALSE if @error is set.
710 *
711 * Since: 1.0
712 * Deprecated: 1.18: Use qmi_device_close_async() instead.
713 */
714 G_DEPRECATED_FOR (qmi_device_close_async)
715 gboolean qmi_device_close (QmiDevice *self,
716 GError **error);
717
718 /**
719 * qmi_device_command:
720 * @self: a #QmiDevice.
721 * @message: the message to send.
722 * @timeout: maximum time, in seconds, to wait for the response.
723 * @cancellable: a #GCancellable, or %NULL.
724 * @callback: a #GAsyncReadyCallback to call when the operation is finished.
725 * @user_data: the data to pass to callback function.
726 *
727 * Asynchronously sends a generic #QmiMessage to the device with no context.
728 *
729 * If the operation is cancelled via @cancellable, a %QMI_PROTOCOL_ERROR_ABORTED
730 * error will be returned always. If the QMI method may be aborted, there is
731 * no guarantee that the operation is truly aborted before the error is returned
732 * so it may really happen that the operation really succeeded and the method
733 * would still return %QMI_PROTOCOL_ERROR_ABORTED. In order to use abortable
734 * methods and make sure the response is the correct one, use
735 * qmi_device_command_abortable().
736 *
737 * When the operation is finished @callback will be called. You can then call
738 * qmi_device_command_finish() to get the result of the operation.
739 *
740 * Since: 1.0
741 * Deprecated: 1.18: Use qmi_device_command_full() instead.
742 */
743 G_DEPRECATED_FOR (qmi_device_command_full)
744 void qmi_device_command (QmiDevice *self,
745 QmiMessage *message,
746 guint timeout,
747 GCancellable *cancellable,
748 GAsyncReadyCallback callback,
749 gpointer user_data);
750
751 /**
752 * qmi_device_command_finish:
753 * @self: a #QmiDevice.
754 * @res: a #GAsyncResult.
755 * @error: Return location for error or %NULL.
756 *
757 * Finishes an operation started with qmi_device_command().
758 *
759 * Returns: (transfer full): a #QmiMessage response, or %NULL if @error is set. The returned value should be freed with qmi_message_unref().
760 *
761 * Since: 1.0
762 * Deprecated: 1.18. Use qmi_device_command_full_finish() instead.
763 */
764 G_DEPRECATED_FOR (qmi_device_command_full_finish)
765 QmiMessage *qmi_device_command_finish (QmiDevice *self,
766 GAsyncResult *res,
767 GError **error);
768
769 /**
770 * QMI_WDS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_VACANT:
771 *
772 * Address is valid but not yet allocated.
773 *
774 * Since: 1.0
775 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_VACANT name instead.
776 */
777 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
778 #define QMI_WDS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_VACANT (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_VACANT
779
780 /**
781 * QMI_WDS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_TRANSLATION_FAILURE:
782 *
783 * Address is invalid.
784 *
785 * Since: 1.0
786 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_TRANSLATION_FAILURE name instead.
787 */
788 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
789 #define QMI_WDS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_TRANSLATION_FAILURE (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_NETWORK_ADDRESS_TRANSLATION_FAILURE
790
791 /**
792 * QMI_WDS_CDMA_CAUSE_CODE_NETWORK_RESOURCE_SHORTAGE:
793 *
794 * Network resource shortage.
795 *
796 * Since: 1.0
797 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_NETWORK_RESOURCE_SHORTAGE name instead.
798 */
799 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
800 #define QMI_WDS_CDMA_CAUSE_CODE_NETWORK_RESOURCE_SHORTAGE (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_NETWORK_RESOURCE_SHORTAGE
801
802 /**
803 * QMI_WDS_CDMA_CAUSE_CODE_NETWORK_FAILURE:
804 *
805 * Network failed.
806 *
807 * Since: 1.0
808 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_NETWORK_FAILURE name instead.
809 */
810 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
811 #define QMI_WDS_CDMA_CAUSE_CODE_NETWORK_FAILURE (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_NETWORK_FAILURE
812
813 /**
814 * QMI_WDS_CDMA_CAUSE_CODE_NETWORK_INVALID_TELESERVICE_ID:
815 *
816 * SMS teleservice ID is invalid.
817 *
818 * Since: 1.0
819 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_NETWORK_INVALID_TELESERVICE_ID name instead.
820 */
821 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
822 #define QMI_WDS_CDMA_CAUSE_CODE_NETWORK_INVALID_TELESERVICE_ID (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_NETWORK_INVALID_TELESERVICE_ID
823
824 /**
825 * QMI_WDS_CDMA_CAUSE_CODE_NETWORK_OTHER:
826 *
827 * Other network error.
828 *
829 * Since: 1.0
830 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_NETWORK_OTHER name instead.
831 */
832 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
833 #define QMI_WDS_CDMA_CAUSE_CODE_NETWORK_OTHER (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_NETWORK_OTHER
834
835 /**
836 * QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_NO_PAGE_RESPONSE:
837 *
838 * No page response from destination.
839 *
840 * Since: 1.0
841 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_NO_PAGE_RESPONSE name instead.
842 */
843 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
844 #define QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_NO_PAGE_RESPONSE (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_NO_PAGE_RESPONSE
845
846 /**
847 * QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_BUSY:
848 *
849 * Destination is busy.
850 *
851 * Since: 1.0
852 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_BUSY name instead.
853 */
854 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
855 #define QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_BUSY (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_BUSY
856
857 /**
858 * QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_NO_ACK:
859 *
860 * No acknowledge from destination.
861 *
862 * Since: 1.0
863 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_NO_ACK name instead.
864 */
865 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
866 #define QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_NO_ACK (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_NO_ACK
867
868 /**
869 * QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_RESOURCE_SHORTAGE:
870 *
871 * Destination resource shortage.
872 *
873 * Since: 1.0
874 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_RESOURCE_SHORTAGE name instead.
875 */
876 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
877 #define QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_RESOURCE_SHORTAGE (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_RESOURCE_SHORTAGE
878
879 /**
880 * QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_SMS_DELIVERY_POSTPONED:
881 *
882 * SMS delivery postponed.
883 *
884 * Since: 1.0
885 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_SMS_DELIVERY_POSTPONED name instead.
886 */
887 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
888 #define QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_SMS_DELIVERY_POSTPONED (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_SMS_DELIVERY_POSTPONED
889
890 /**
891 * QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_OUT_OF_SERVICE:
892 *
893 * Destination out of service.
894 *
895 * Since: 1.0
896 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_OUT_OF_SERVICE name instead.
897 */
898 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
899 #define QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_OUT_OF_SERVICE (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_OUT_OF_SERVICE
900
901 /**
902 * QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_NOT_AT_ADDRESS:
903 *
904 * Destination not at address.
905 *
906 * Since: 1.0
907 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_NOT_AT_ADDRESS name instead.
908 */
909 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
910 #define QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_NOT_AT_ADDRESS (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_NOT_AT_ADDRESS
911
912 /**
913 * QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_OTHER:
914 *
915 * Other destination error.
916 *
917 * Since: 1.0
918 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_OTHER name instead.
919 */
920 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
921 #define QMI_WDS_CDMA_CAUSE_CODE_DESTINATION_OTHER (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_DESTINATION_OTHER
922
923 /**
924 * QMI_WDS_CDMA_CAUSE_CODE_RADIO_INTERFACE_RESOURCE_SHORTAGE:
925 *
926 * Radio interface resource shortage.
927 *
928 * Since: 1.0
929 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_RADIO_INTERFACE_RESOURCE_SHORTAGE name instead.
930 */
931 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
932 #define QMI_WDS_CDMA_CAUSE_CODE_RADIO_INTERFACE_RESOURCE_SHORTAGE (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_RADIO_INTERFACE_RESOURCE_SHORTAGE
933
934 /**
935 * QMI_WDS_CDMA_CAUSE_CODE_RADIO_INTERFACE_INCOMPATIBILITY:
936 *
937 * Radio interface incompatibility.
938 *
939 * Since: 1.0
940 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_RADIO_INTERFACE_INCOMPATIBILITY name instead.
941 */
942 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
943 #define QMI_WDS_CDMA_CAUSE_CODE_RADIO_INTERFACE_INCOMPATIBILITY (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_RADIO_INTERFACE_INCOMPATIBILITY
944
945 /**
946 * QMI_WDS_CDMA_CAUSE_CODE_RADIO_INTERFACE_OTHER:
947 *
948 * Other radio interface error
949 *
950 * Since: 1.0
951 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_RADIO_INTERFACE_OTHER name instead.
952 */
953 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
954 #define QMI_WDS_CDMA_CAUSE_CODE_RADIO_INTERFACE_OTHER (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_RADIO_INTERFACE_OTHER
955
956 /**
957 * QMI_WDS_CDMA_CAUSE_CODE_GENERAL_ENCODING:
958 *
959 * Encoding error.
960 *
961 * Since: 1.0
962 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_GENERAL_ENCODING name instead.
963 */
964 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
965 #define QMI_WDS_CDMA_CAUSE_CODE_GENERAL_ENCODING (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_GENERAL_ENCODING
966
967 /**
968 * QMI_WDS_CDMA_CAUSE_CODE_GENERAL_SMS_ORIGIN_DENIED:
969 *
970 * SMS origin denied.
971 *
972 * Since: 1.0
973 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_GENERAL_SMS_ORIGIN_DENIED name instead.
974 */
975 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
976 #define QMI_WDS_CDMA_CAUSE_CODE_GENERAL_SMS_ORIGIN_DENIED (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_GENERAL_SMS_ORIGIN_DENIED
977
978 /**
979 * QMI_WDS_CDMA_CAUSE_CODE_GENERAL_SMS_DESTINATION_DENIED:
980 *
981 * SMS destination denied.
982 *
983 * Since: 1.0
984 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_GENERAL_SMS_DESTINATION_DENIED name instead.
985 */
986 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
987 #define QMI_WDS_CDMA_CAUSE_CODE_GENERAL_SMS_DESTINATION_DENIED (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_GENERAL_SMS_DESTINATION_DENIED
988
989 /**
990 * QMI_WDS_CDMA_CAUSE_CODE_GENERAL_SUPPLEMENTARY_SERVICE_NOT_SUPPORTED:
991 *
992 * Supplementary service not supported.
993 *
994 * Since: 1.0
995 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_GENERAL_SUPPLEMENTARY_SERVICE_NOT_SUPPORTED name instead.
996 */
997 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
998 #define QMI_WDS_CDMA_CAUSE_CODE_GENERAL_SUPPLEMENTARY_SERVICE_NOT_SUPPORTED (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_GENERAL_SUPPLEMENTARY_SERVICE_NOT_SUPPORTED
999
1000 /**
1001 * QMI_WDS_CDMA_CAUSE_CODE_GENERAL_SMS_NOT_SUPPORTED:
1002 *
1003 * SMS not supported.
1004 *
1005 * Since: 1.0
1006 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_GENERAL_SMS_NOT_SUPPORTED name instead.
1007 */
1008 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
1009 #define QMI_WDS_CDMA_CAUSE_CODE_GENERAL_SMS_NOT_SUPPORTED (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_GENERAL_SMS_NOT_SUPPORTED
1010
1011 /**
1012 * QMI_WDS_CDMA_CAUSE_CODE_GENERAL_MISSING_EXPECTED_PARAMETER:
1013 *
1014 * Missing optional expected parameter.
1015 *
1016 * Since: 1.0
1017 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_GENERAL_MISSING_EXPECTED_PARAMETER name instead.
1018 */
1019 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
1020 #define QMI_WDS_CDMA_CAUSE_CODE_GENERAL_MISSING_EXPECTED_PARAMETER (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_GENERAL_MISSING_EXPECTED_PARAMETER
1021
1022 /**
1023 * QMI_WDS_CDMA_CAUSE_CODE_GENERAL_MISSING_MANDATORY_PARAMETER:
1024 *
1025 * Missing mandatory parameter.
1026 *
1027 * Since: 1.0
1028 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_GENERAL_MISSING_MANDATORY_PARAMETER name instead.
1029 */
1030 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
1031 #define QMI_WDS_CDMA_CAUSE_CODE_GENERAL_MISSING_MANDATORY_PARAMETER (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_GENERAL_MISSING_MANDATORY_PARAMETER
1032
1033 /**
1034 * QMI_WDS_CDMA_CAUSE_CODE_GENERAL_UNRECOGNIZED_PARAMETER_VALUE:
1035 *
1036 * Unrecognized parameter value.
1037 *
1038 * Since: 1.0
1039 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_GENERAL_UNRECOGNIZED_PARAMETER_VALUE name instead.
1040 */
1041 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
1042 #define QMI_WDS_CDMA_CAUSE_CODE_GENERAL_UNRECOGNIZED_PARAMETER_VALUE (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_GENERAL_UNRECOGNIZED_PARAMETER_VALUE
1043
1044 /**
1045 * QMI_WDS_CDMA_CAUSE_CODE_GENERAL_UNEXPECTED_PARAMETER_VALUE:
1046 *
1047 * Unexpected parameter value.
1048 *
1049 * Since: 1.0
1050 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_GENERAL_UNEXPECTED_PARAMETER_VALUE name instead.
1051 */
1052 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
1053 #define QMI_WDS_CDMA_CAUSE_CODE_GENERAL_UNEXPECTED_PARAMETER_VALUE (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_GENERAL_UNEXPECTED_PARAMETER_VALUE
1054
1055 /**
1056 * QMI_WDS_CDMA_CAUSE_CODE_GENERAL_USER_DATA_SIZE_ERROR:
1057 *
1058 * User data size error.
1059 *
1060 * Since: 1.0
1061 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_GENERAL_USER_DATA_SIZE_ERROR name instead.
1062 */
1063 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
1064 #define QMI_WDS_CDMA_CAUSE_CODE_GENERAL_USER_DATA_SIZE_ERROR (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_GENERAL_USER_DATA_SIZE_ERROR
1065
1066 /**
1067 * QMI_WDS_CDMA_CAUSE_CODE_GENERAL_OTHER:
1068 *
1069 * Other general error.
1070 *
1071 * Since: 1.0
1072 * Deprecated: 1.18.0: Use the correct #QMI_WMS_CDMA_CAUSE_CODE_GENERAL_OTHER name instead.
1073 */
1074 G_DEPRECATED typedef int QmiDeprecatedWdsCdmaCauseCode;
1075 #define QMI_WDS_CDMA_CAUSE_CODE_GENERAL_OTHER (QmiDeprecatedWdsCdmaCauseCode) QMI_WMS_CDMA_CAUSE_CODE_GENERAL_OTHER
1076
1077 /**
1078 * QMI_PROTOCOL_ERROR_QOS_UNAVAILABLE:
1079 *
1080 * QoS unavailable.
1081 *
1082 * Since: 1.0
1083 * Deprecated: 1.22.0: Use the #QMI_PROTOCOL_ERROR_REQUESTED_NUMBER_UNSUPPORTED instead.
1084 */
1085 G_DEPRECATED typedef int QmiDeprecatedProtocolError;
1086 #define QMI_PROTOCOL_ERROR_QOS_UNAVAILABLE (QmiDeprecatedProtocolError) QMI_PROTOCOL_ERROR_REQUESTED_NUMBER_UNSUPPORTED
1087
1088 /**
1089 * QMI_WDS_VERBOSE_CALL_END_REASON_CM_CONFIGURATION_FAILED:
1090 *
1091 * Conference (not configuration) failed.
1092 *
1093 * Since: 1.0
1094 * Deprecated: 1.24.10: Use the correct #QMI_WDS_VERBOSE_CALL_END_REASON_CM_CONFERENCE_FAILED name instead.
1095 */
1096 G_DEPRECATED typedef int QmiDeprecatedWdsVerboseCallEndReasonCm;
1097 #define QMI_WDS_VERBOSE_CALL_END_REASON_CM_CONFIGURATION_FAILED (QmiDeprecatedWdsVerboseCallEndReasonCm) QMI_WDS_VERBOSE_CALL_END_REASON_CM_CONFERENCE_FAILED
1098
1099 /**
1100 * QMI_WDS_VERBOSE_CALL_END_REASON_CM_MESSAGE_EXCEED_MAX_L2_LIMIT:
1101 *
1102 * Message exceed max L2 limit.
1103 *
1104 * Deprecated: 1.36: Use the correct #QMI_WDS_VERBOSE_CALL_END_REASON_CM_MESSAGE_EXCEEDS_MAX_L2_LIMIT name instead.
1105 */
1106 G_DEPRECATED typedef int QmiDeprecatedWdsVerboseCallEndReasonCm;
1107 #define QMI_WDS_VERBOSE_CALL_END_REASON_CM_MESSAGE_EXCEED_MAX_L2_LIMIT (QmiDeprecatedWdsVerboseCallEndReasonCm) QMI_WDS_VERBOSE_CALL_END_REASON_CM_MESSAGE_EXCEEDS_MAX_L2_LIMIT
1108
1109 /**
1110 * qmi_message_tlv_read_gfloat:
1111 * @self: a #QmiMessage.
1112 * @tlv_offset: offset that was returned by qmi_message_tlv_read_init().
1113 * @offset: address of a the offset within the TLV value.
1114 * @out: return location for the read #gfloat.
1115 * @error: return location for error or %NULL.
1116 *
1117 * Reads a 32-bit floating-point number from the TLV.
1118 *
1119 * @offset needs to point to a valid @gsize specifying the index to start
1120 * reading from within the TLV value (0 for the first item). If the variable
1121 * is successfully read, @offset will be updated to point past the read item.
1122 *
1123 * The implementation assumes the float is encoded with the same endianness as
1124 * the host, which may not be true. The use of this method is discouraged, and
1125 * new code should use qmi_message_tlv_read_gfloat_endian() instead.
1126 *
1127 * Returns: %TRUE if the variable is successfully read, otherwise %FALSE is returned and @error is set.
1128 *
1129 * Since: 1.12
1130 * Deprecated: 1.22: Use qmi_message_tlv_read_gfloat_endian() instead.
1131 */
1132 G_DEPRECATED_FOR (qmi_message_tlv_read_gfloat_endian)
1133 gboolean qmi_message_tlv_read_gfloat (QmiMessage *self,
1134 gsize tlv_offset,
1135 gsize *offset,
1136 gfloat *out,
1137 GError **error);
1138
1139 /**
1140 * QmiDmsDellFirmwareVersionType:
1141 * @QMI_DMS_DELL_FIRMWARE_VERSION_TYPE_FIRMWARE_MCFG: E.g. T77W968.F0.0.0.2.3.GC.004.
1142 * @QMI_DMS_DELL_FIRMWARE_VERSION_TYPE_FIRMWARE_MCFG_APPS: E.g. T77W968.F0.0.0.2.3.GC.004.011.
1143 * @QMI_DMS_DELL_FIRMWARE_VERSION_TYPE_APPS: E.g. 011.
1144 *
1145 * Dell specific firmware version types.
1146 *
1147 * Since: 1.22.4
1148 * Deprecated: 1.26: Use #QmiDmsFoxconnFirmwareVersionType instead.
1149 */
1150
1151 /* The following type exists just so that we don't get deprecation warnings on
1152 * our own methods */
1153 typedef enum {
1154 QMI_DMS_DELL_FIRMWARE_VERSION_TYPE_FIRMWARE_MCFG = QMI_DMS_FOXCONN_FIRMWARE_VERSION_TYPE_FIRMWARE_MCFG,
1155 QMI_DMS_DELL_FIRMWARE_VERSION_TYPE_FIRMWARE_MCFG_APPS = QMI_DMS_FOXCONN_FIRMWARE_VERSION_TYPE_FIRMWARE_MCFG_APPS,
1156 QMI_DMS_DELL_FIRMWARE_VERSION_TYPE_APPS = QMI_DMS_FOXCONN_FIRMWARE_VERSION_TYPE_APPS,
1157 } QmiDeprecatedDmsDellFirmwareVersionType;
1158
1159 G_DEPRECATED
1160 typedef QmiDeprecatedDmsDellFirmwareVersionType QmiDmsDellFirmwareVersionType;
1161
1162 G_DEPRECATED_FOR (qmi_dms_foxconn_firmware_version_type_get_type)
1163 GType qmi_dms_dell_firmware_version_type_get_type (void) G_GNUC_CONST;
1164 #define QMI_TYPE_DMS_DELL_FIRMWARE_VERSION_TYPE QMI_TYPE_DMS_FOXCONN_FIRMWARE_VERSION_TYPE
1165
1166 /**
1167 * qmi_dms_dell_firmware_version_type_get_string:
1168 * @val: a #QmiDmsFoxconnFirmwareVersionType.
1169 *
1170 * Gets the nickname string for the #QmiDmsFoxconnFirmwareVersionType specified at @val.
1171 *
1172 * Returns: (transfer none): a string with the nickname, or %NULL if not found. Do not free the returned value.
1173 *
1174 * Since: 1.22.4
1175 * Deprecated: 1.26: Use qmi_dms_foxconn_firmware_version_type_get_string() instead.
1176 */
1177 G_DEPRECATED_FOR (qmi_dms_foxconn_firmware_version_type_get_string)
1178 const gchar *qmi_dms_dell_firmware_version_type_get_string (QmiDeprecatedDmsDellFirmwareVersionType val);
1179
1180 /**
1181 * QmiDmsDellDeviceMode:
1182 * @QMI_DMS_DELL_DEVICE_MODE_UNKNOWN: Unknown mode.
1183 * @QMI_DMS_DELL_DEVICE_MODE_FASTBOOT_ONLINE: Fastboot download mode for full partition files.
1184 * @QMI_DMS_DELL_DEVICE_MODE_FASTBOOT_OTA: Fastboot download mode for OTA files.
1185 *
1186 * Dell specific device modes.
1187 *
1188 * Since: 1.22.4
1189 * Deprecated: 1.26: Use #QmiDmsFoxconnDeviceMode instead.
1190 */
1191
1192 /* The following type exists just so that we don't get deprecation warnings on
1193 * our own methods */
1194 typedef enum {
1195 QMI_DMS_DELL_DEVICE_MODE_UNKNOWN = QMI_DMS_FOXCONN_DEVICE_MODE_UNKNOWN,
1196 QMI_DMS_DELL_DEVICE_MODE_FASTBOOT_ONLINE = QMI_DMS_FOXCONN_DEVICE_MODE_FASTBOOT_ONLINE,
1197 QMI_DMS_DELL_DEVICE_MODE_FASTBOOT_OTA = QMI_DMS_FOXCONN_DEVICE_MODE_FASTBOOT_OTA,
1198 } QmiDeprecatedDmsDellDeviceMode;
1199
1200 G_DEPRECATED
1201 typedef QmiDeprecatedDmsDellDeviceMode QmiDmsDellDeviceMode;
1202
1203 G_DEPRECATED_FOR (qmi_dms_foxconn_device_mode_get_type)
1204 GType qmi_dms_dell_device_mode_get_type (void) G_GNUC_CONST;
1205 #define QMI_TYPE_DMS_DELL_DEVICE_MODE QMI_TYPE_DMS_FOXCONN_DEVICE_MODE
1206
1207 /**
1208 * qmi_dms_dell_device_mode_get_string:
1209 * @val: a QmiDmsDellDeviceMode.
1210 *
1211 * Gets the nickname string for the #QmiDmsDellDeviceMode specified at @val.
1212 *
1213 * Returns: (transfer none): a string with the nickname, or %NULL if not found. Do not free the returned value.
1214 *
1215 * Since: 1.22.4
1216 * Deprecated: 1.26: Use qmi_dms_foxconn_device_mode_get_string() instead.
1217 */
1218 G_DEPRECATED_FOR (qmi_dms_foxconn_device_mode_get_string)
1219 const gchar *qmi_dms_dell_device_mode_get_string (QmiDeprecatedDmsDellDeviceMode val);
1220
1221
1222 /**
1223 * QmiWdsGetCurrentSettingsRequestedSettings:
1224 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_NONE: no settings requested
1225 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_PROFILE_ID: request profile ID
1226 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_PROFILE_NAME: request profile name
1227 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_PDP_TYPE: request PDP context type
1228 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_APN_NAME: request APN name
1229 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_DNS_ADDRESS: request DNS server addresses
1230 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_GRANTED_QOS: request granted QoS
1231 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_USERNAME: request username
1232 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_AUTH_PROTOCOL: request authentication protocol, ie PAP/CHAP/none.
1233 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_IP_ADDRESS: request IP address
1234 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_GATEWAY_INFO: request gateway address
1235 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_PCSCF_ADDRESS: request PCSCF address
1236 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_PCSCF_SERVER_ADDRESS_LIST: request PCSCF server address list
1237 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_PCSCF_DOMAIN_NAME_LIST: request PCSCF domain name list
1238 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_MTU: request MTU
1239 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_DOMAIN_NAME_LIST: request domain name list
1240 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_IP_FAMILY: request IP family, ie IPv4 or IPv6.
1241 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_IMCN_FLAG: request IMCN flag
1242 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_EXTENDED_TECHNOLOGY: request extended technology info
1243 * @QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_OPERATOR_RESERVED_PCO: operator reserved protocol configuration option. Since 1.32.
1244 *
1245 * Flags specifying WDS bearer settings.
1246 *
1247 * Since: 1.0
1248 * Deprecated: 1.32: Use #QmiWdsRequestedSettings instead.
1249 */
1250
1251 /* The following type exists just so that we don't get deprecation warnings on
1252 * our own methods */
1253 typedef enum {
1254 QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_NONE = QMI_WDS_REQUESTED_SETTINGS_NONE,
1255 QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_PROFILE_ID = QMI_WDS_REQUESTED_SETTINGS_PROFILE_ID,
1256 QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_PROFILE_NAME = QMI_WDS_REQUESTED_SETTINGS_PROFILE_NAME,
1257 QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_PDP_TYPE = QMI_WDS_REQUESTED_SETTINGS_PDP_TYPE,
1258 QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_APN_NAME = QMI_WDS_REQUESTED_SETTINGS_APN_NAME,
1259 QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_DNS_ADDRESS = QMI_WDS_REQUESTED_SETTINGS_DNS_ADDRESS,
1260 QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_GRANTED_QOS = QMI_WDS_REQUESTED_SETTINGS_GRANTED_QOS,
1261 QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_USERNAME = QMI_WDS_REQUESTED_SETTINGS_USERNAME,
1262 QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_AUTH_PROTOCOL = QMI_WDS_REQUESTED_SETTINGS_AUTH_PROTOCOL,
1263 QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_IP_ADDRESS = QMI_WDS_REQUESTED_SETTINGS_IP_ADDRESS,
1264 QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_GATEWAY_INFO = QMI_WDS_REQUESTED_SETTINGS_GATEWAY_INFO,
1265 QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_PCSCF_ADDRESS = QMI_WDS_REQUESTED_SETTINGS_PCSCF_ADDRESS,
1266 QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_PCSCF_SERVER_ADDRESS_LIST = QMI_WDS_REQUESTED_SETTINGS_PCSCF_SERVER_ADDRESS_LIST,
1267 QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_PCSCF_DOMAIN_NAME_LIST = QMI_WDS_REQUESTED_SETTINGS_PCSCF_DOMAIN_NAME_LIST,
1268 QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_MTU = QMI_WDS_REQUESTED_SETTINGS_MTU,
1269 QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_DOMAIN_NAME_LIST = QMI_WDS_REQUESTED_SETTINGS_DOMAIN_NAME_LIST,
1270 QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_IP_FAMILY = QMI_WDS_REQUESTED_SETTINGS_IP_FAMILY,
1271 QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_IMCN_FLAG = QMI_WDS_REQUESTED_SETTINGS_IMCN_FLAG,
1272 QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_EXTENDED_TECHNOLOGY = QMI_WDS_REQUESTED_SETTINGS_EXTENDED_TECHNOLOGY,
1273 QMI_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS_OPERATOR_RESERVED_PCO = QMI_WDS_REQUESTED_SETTINGS_OPERATOR_RESERVED_PCO,
1274 } QmiDeprecatedWdsGetCurrentSettingsRequestedSettings;
1275
1276 G_DEPRECATED
1277 typedef QmiDeprecatedWdsGetCurrentSettingsRequestedSettings QmiWdsGetCurrentSettingsRequestedSettings;
1278
1279 G_DEPRECATED_FOR (qmi_wds_get_current_settings_requested_settings_get_type)
1280 GType qmi_wds_get_current_settings_requested_settings_get_type (void) G_GNUC_CONST;
1281 #define QMI_TYPE_WDS_GET_CURRENT_SETTINGS_REQUESTED_SETTINGS QMI_TYPE_WDS_REQUESTED_SETTINGS
1282
1283 /**
1284 * qmi_wds_get_current_settings_requested_settings_build_string_from_mask:
1285 * @mask: bitmask of QmiWdsGetCurrentSettingsRequestedSettings values.
1286 *
1287 * Builds a string containing a comma-separated list of nicknames for
1288 * each #QmiWdsGetCurrentSettingsRequestedSettings in @mask.
1289 *
1290 * Returns: (transfer full): a string with the list of nicknames, or %NULL if none given. The returned value should be freed with g_free().
1291 * Since: 1.0
1292 * Deprecated: 1.32: Use qmi_wds_requested_settings_build_string_from_mask() instead.
1293 */
1294 G_DEPRECATED_FOR (qmi_wds_requested_settings_build_string_from_mask)
1295 gchar *qmi_wds_get_current_settings_requested_settings_build_string_from_mask (QmiDeprecatedWdsGetCurrentSettingsRequestedSettings mask);
1296
1297 /**
1298 * QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_UNKNOWN:
1299 *
1300 * Unknown personalization feature.
1301 *
1302 * This name was originally defined in the #QmiUimCardApplicationPersonalizationFeatureStatus
1303 * enum, which was renamed to #QmiUimCardApplicationPersonalizationFeatureStatus.
1304 *
1305 * Since: 1.10
1306 * Deprecated: 1.34.0: Use #QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_STATUS_UNKNOWN instead.
1307 */
1308 G_DEPRECATED typedef int QmiDeprecatedUimCardApplicationPersonalizationFeature;
1309 #define QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_UNKNOWN (QmiDeprecatedUimCardApplicationPersonalizationFeature) QMI_UIM_CARD_APPLICATION_PERSONALIZATION_FEATURE_STATUS_UNKNOWN
1310
1311 /******************************************************************************/
1312 /* Conditional method definitions */
1313
1314 #if defined HAVE_QMI_MESSAGE_DMS_SET_SERVICE_PROGRAMMING_CODE
1315
1316 /**
1317 * qmi_message_dms_set_service_programming_code_input_get_new:
1318 * @self: a #QmiMessageDmsSetServiceProgrammingCodeInput.
1319 * @arg_new: a placeholder for the output constant string, or %NULL if not required.
1320 * @error: Return location for error or %NULL.
1321 *
1322 * Get the 'New Code' field from @self.
1323 *
1324 * Returns: %TRUE if the field is found, %FALSE otherwise.
1325 *
1326 * Since: 1.0
1327 * Deprecated: 1.14.0: Use qmi_message_dms_set_service_programming_code_input_get_new_code() instead.
1328 */
1329 G_DEPRECATED_FOR (qmi_message_dms_set_service_programming_code_input_get_new_code)
1330 gboolean qmi_message_dms_set_service_programming_code_input_get_new (
1331 QmiMessageDmsSetServiceProgrammingCodeInput *self,
1332 const gchar **arg_new,
1333 GError **error);
1334
1335 /**
1336 * qmi_message_dms_set_service_programming_code_input_set_new:
1337 * @self: a #QmiMessageDmsSetServiceProgrammingCodeInput.
1338 * @arg_new: a constant string of exactly 6 characters.
1339 * @error: Return location for error or %NULL.
1340 *
1341 * Set the 'New Code' field in the message.
1342 *
1343 * Returns: %TRUE if @value was successfully set, %FALSE otherwise.
1344 *
1345 * Since: 1.0
1346 * Deprecated: 1.14.0: Use qmi_message_dms_set_service_programming_code_input_set_new_code() instead.
1347 */
1348 G_DEPRECATED_FOR (qmi_message_dms_set_service_programming_code_input_set_new_code)
1349 gboolean qmi_message_dms_set_service_programming_code_input_set_new (
1350 QmiMessageDmsSetServiceProgrammingCodeInput *self,
1351 const gchar *arg_new,
1352 GError **error);
1353
1354 /**
1355 * qmi_message_dms_set_service_programming_code_input_get_current:
1356 * @self: a #QmiMessageDmsSetServiceProgrammingCodeInput.
1357 * @arg_current: a placeholder for the output constant string, or %NULL if not required.
1358 * @error: Return location for error or %NULL.
1359 *
1360 * Get the 'Current Code' field from @self.
1361 *
1362 * Returns: %TRUE if the field is found, %FALSE otherwise.
1363 *
1364 * Since: 1.0
1365 * Deprecated: 1.14.0: Use qmi_message_dms_set_service_programming_code_input_get_current_code() instead.
1366 */
1367 G_DEPRECATED_FOR (qmi_message_dms_set_service_programming_code_input_get_current_code)
1368 gboolean qmi_message_dms_set_service_programming_code_input_get_current (
1369 QmiMessageDmsSetServiceProgrammingCodeInput *self,
1370 const gchar **arg_current,
1371 GError **error);
1372
1373 /**
1374 * qmi_message_dms_set_service_programming_code_input_set_current:
1375 * @self: a #QmiMessageDmsSetServiceProgrammingCodeInput.
1376 * @arg_current: a placeholder for the output constant string, or %NULL if not required.
1377 * @error: Return location for error or %NULL.
1378 *
1379 * Get the 'Current Code' field from @self.
1380 *
1381 * Returns: %TRUE if the field is found, %FALSE otherwise.
1382 *
1383 * Since: 1.0
1384 * Deprecated: 1.14.0: Use qmi_message_dms_set_service_programming_code_input_set_current_code() instead.
1385 */
1386 G_DEPRECATED_FOR (qmi_message_dms_set_service_programming_code_input_set_current_code)
1387 gboolean qmi_message_dms_set_service_programming_code_input_set_current (
1388 QmiMessageDmsSetServiceProgrammingCodeInput *self,
1389 const gchar *arg_current,
1390 GError **error);
1391
1392 #endif /* HAVE_QMI_MESSAGE_DMS_SET_SERVICE_PROGRAMMING_CODE */
1393
1394 #if defined HAVE_QMI_MESSAGE_UIM_READ_TRANSPARENT
1395
1396 /**
1397 * qmi_message_uim_read_transparent_input_get_session_information:
1398 * @self: a #QmiMessageUimReadTransparentInput.
1399 * @value_session_information_session_type: a placeholder for the output #QmiUimSessionType, or %NULL if not required.
1400 * @value_session_information_application_identifier: a placeholder for the output constant string, or %NULL if not required.
1401 * @error: Return location for error or %NULL.
1402 *
1403 * Get the 'Session Information' field from @self.
1404 *
1405 * Returns: %TRUE if the field is found, %FALSE otherwise.
1406 *
1407 * Since: 1.6
1408 * Deprecated: 1.22: Use qmi_message_uim_read_transparent_input_get_session() instead.
1409 */
1410 G_DEPRECATED_FOR (qmi_message_uim_read_transparent_input_get_session)
1411 gboolean qmi_message_uim_read_transparent_input_get_session_information (
1412 QmiMessageUimReadTransparentInput *self,
1413 QmiUimSessionType *value_session_information_session_type,
1414 const gchar **value_session_information_application_identifier,
1415 GError **error);
1416
1417 /**
1418 * qmi_message_uim_read_transparent_input_set_session_information:
1419 * @self: a #QmiMessageUimReadTransparentInput.
1420 * @value_session_information_session_type: a #QmiUimSessionType.
1421 * @value_session_information_application_identifier: a constant string.
1422 * @error: Return location for error or %NULL.
1423 *
1424 * Set the 'Session Information' field in the message.
1425 *
1426 * Returns: %TRUE if @value was successfully set, %FALSE otherwise.
1427 *
1428 * Since: 1.6
1429 * Deprecated: 1.22: Use qmi_message_uim_read_transparent_input_set_session() instead.
1430 */
1431 G_DEPRECATED_FOR (qmi_message_uim_read_transparent_input_set_session)
1432 gboolean qmi_message_uim_read_transparent_input_set_session_information (
1433 QmiMessageUimReadTransparentInput *self,
1434 QmiUimSessionType value_session_information_session_type,
1435 const gchar *value_session_information_application_identifier,
1436 GError **error);
1437
1438 #endif /* HAVE_QMI_MESSAGE_UIM_READ_TRANSPARENT */
1439
1440 #if defined HAVE_QMI_MESSAGE_UIM_READ_RECORD
1441
1442 /**
1443 * qmi_message_uim_read_record_input_get_session_information:
1444 * @self: a #QmiMessageUimReadRecordInput.
1445 * @value_session_information_session_type: a placeholder for the output #QmiUimSessionType, or %NULL if not required.
1446 * @value_session_information_application_identifier: a placeholder for the output constant string, or %NULL if not required.
1447 * @error: Return location for error or %NULL.
1448 *
1449 * Get the 'Session Information' field from @self.
1450 *
1451 * Returns: %TRUE if the field is found, %FALSE otherwise.
1452 *
1453 * Since: 1.6
1454 * Deprecated: 1.22: Use qmi_message_uim_read_record_input_get_session_information() instead.
1455 */
1456 G_DEPRECATED_FOR (qmi_message_uim_read_record_input_get_session_information)
1457 gboolean qmi_message_uim_read_record_input_get_session_information (
1458 QmiMessageUimReadRecordInput *self,
1459 QmiUimSessionType *value_session_information_session_type,
1460 const gchar **value_session_information_application_identifier,
1461 GError **error);
1462
1463 /**
1464 * qmi_message_uim_read_record_input_set_session_information:
1465 * @self: a #QmiMessageUimReadRecordInput.
1466 * @value_session_information_session_type: a #QmiUimSessionType.
1467 * @value_session_information_application_identifier: a constant string.
1468 * @error: Return location for error or %NULL.
1469 *
1470 * Set the 'Session Information' field in the message.
1471 *
1472 * Returns: %TRUE if @value was successfully set, %FALSE otherwise.
1473 *
1474 * Since: 1.6
1475 * Deprecated: 1.22: Use qmi_message_uim_read_record_input_set_session() instead.
1476 */
1477 G_DEPRECATED_FOR (qmi_message_uim_read_record_input_set_session)
1478 gboolean qmi_message_uim_read_record_input_set_session_information (
1479 QmiMessageUimReadRecordInput *self,
1480 QmiUimSessionType value_session_information_session_type,
1481 const gchar *value_session_information_application_identifier,
1482 GError **error);
1483
1484 #endif /* HAVE_QMI_MESSAGE_UIM_READ_RECORD */
1485
1486 #if defined HAVE_QMI_MESSAGE_UIM_GET_FILE_ATTRIBUTES
1487
1488 /**
1489 * qmi_message_uim_get_file_attributes_input_get_session_information:
1490 * @self: a #QmiMessageUimGetFileAttributesInput.
1491 * @value_session_information_session_type: a placeholder for the output #QmiUimSessionType, or %NULL if not required.
1492 * @value_session_information_application_identifier: a placeholder for the output constant string, or %NULL if not required.
1493 * @error: Return location for error or %NULL.
1494 *
1495 * Get the 'Session Information' field from @self.
1496 *
1497 * Returns: %TRUE if the field is found, %FALSE otherwise.
1498 *
1499 * Since: 1.6
1500 * Deprecated: 1.22: Use qmi_message_uim_get_file_attributes_input_get_session() instead.
1501 */
1502 G_DEPRECATED_FOR (qmi_message_uim_get_file_attributes_input_get_session)
1503 gboolean qmi_message_uim_get_file_attributes_input_get_session_information (
1504 QmiMessageUimGetFileAttributesInput *self,
1505 QmiUimSessionType *value_session_information_session_type,
1506 const gchar **value_session_information_application_identifier,
1507 GError **error);
1508
1509 /**
1510 * qmi_message_uim_get_file_attributes_input_set_session_information:
1511 * @self: a #QmiMessageUimGetFileAttributesInput.
1512 * @value_session_information_session_type: a #QmiUimSessionType.
1513 * @value_session_information_application_identifier: a constant string.
1514 * @error: Return location for error or %NULL.
1515 *
1516 * Set the 'Session Information' field in the message.
1517 *
1518 * Returns: %TRUE if @value was successfully set, %FALSE otherwise.
1519 *
1520 * Since: 1.6
1521 * Deprecated: 1.22: Use qmi_message_uim_get_file_attributes_input_set_session() instead.
1522 */
1523 G_DEPRECATED_FOR (qmi_message_uim_get_file_attributes_input_set_session)
1524 gboolean qmi_message_uim_get_file_attributes_input_set_session_information (
1525 QmiMessageUimGetFileAttributesInput *self,
1526 QmiUimSessionType value_session_information_session_type,
1527 const gchar *value_session_information_application_identifier,
1528 GError **error);
1529
1530 #endif /* HAVE_QMI_MESSAGE_UIM_GET_FILE_ATTRIBUTES */
1531
1532 #if defined HAVE_QMI_MESSAGE_UIM_SET_PIN_PROTECTION
1533
1534 /**
1535 * qmi_message_uim_set_pin_protection_input_get_session_information:
1536 * @self: a #QmiMessageUimSetPinProtectionInput.
1537 * @value_session_information_session_type: a placeholder for the output #QmiUimSessionType, or %NULL if not required.
1538 * @value_session_information_application_identifier: a placeholder for the output constant string, or %NULL if not required.
1539 * @error: Return location for error or %NULL.
1540 *
1541 * Get the 'Session Information' field from @self.
1542 *
1543 * Returns: %TRUE if the field is found, %FALSE otherwise.
1544 *
1545 * Since: 1.14
1546 * Deprecated: 1.22: Use qmi_message_uim_set_pin_protection_input_get_session() instead.
1547 */
1548 G_DEPRECATED_FOR (qmi_message_uim_set_pin_protection_input_get_session)
1549 gboolean qmi_message_uim_set_pin_protection_input_get_session_information (
1550 QmiMessageUimSetPinProtectionInput *self,
1551 QmiUimSessionType *value_session_information_session_type,
1552 const gchar **value_session_information_application_identifier,
1553 GError **error);
1554
1555 /**
1556 * qmi_message_uim_set_pin_protection_input_set_session_information:
1557 * @self: a #QmiMessageUimSetPinProtectionInput.
1558 * @value_session_information_session_type: a #QmiUimSessionType.
1559 * @value_session_information_application_identifier: a constant string.
1560 * @error: Return location for error or %NULL.
1561 *
1562 * Set the 'Session Information' field in the message.
1563 *
1564 * Returns: %TRUE if @value was successfully set, %FALSE otherwise.
1565 *
1566 * Since: 1.14
1567 * Deprecated: 1.22: Use qmi_message_uim_set_pin_protection_input_set_session() instead.
1568 */
1569 G_DEPRECATED_FOR (qmi_message_uim_set_pin_protection_input_set_session)
1570 gboolean qmi_message_uim_set_pin_protection_input_set_session_information (
1571 QmiMessageUimSetPinProtectionInput *self,
1572 QmiUimSessionType value_session_information_session_type,
1573 const gchar *value_session_information_application_identifier,
1574 GError **error);
1575
1576 #endif /* HAVE_QMI_MESSAGE_UIM_SET_PIN_PROTECTION */
1577
1578 #if defined HAVE_QMI_MESSAGE_UIM_VERIFY_PIN
1579
1580 /**
1581 * qmi_message_uim_verify_pin_input_get_session_information:
1582 * @self: a #QmiMessageUimVerifyPinInput.
1583 * @value_session_information_session_type: a placeholder for the output #QmiUimSessionType, or %NULL if not required.
1584 * @value_session_information_application_identifier: a placeholder for the output constant string, or %NULL if not required.
1585 * @error: Return location for error or %NULL.
1586 *
1587 * Get the 'Session Information' field from @self.
1588 *
1589 * Returns: %TRUE if the field is found, %FALSE otherwise.
1590 *
1591 * Since: 1.14
1592 * Deprecated: 1.22: Use qmi_message_uim_verify_pin_input_get_session() instead.
1593 */
1594 G_DEPRECATED_FOR (qmi_message_uim_verify_pin_input_get_session)
1595 gboolean qmi_message_uim_verify_pin_input_get_session_information (
1596 QmiMessageUimVerifyPinInput *self,
1597 QmiUimSessionType *value_session_information_session_type,
1598 const gchar **value_session_information_application_identifier,
1599 GError **error);
1600
1601 /**
1602 * qmi_message_uim_verify_pin_input_set_session_information:
1603 * @self: a #QmiMessageUimVerifyPinInput.
1604 * @value_session_information_session_type: a #QmiUimSessionType.
1605 * @value_session_information_application_identifier: a constant string.
1606 * @error: Return location for error or %NULL.
1607 *
1608 * Set the 'Session Information' field in the message.
1609 *
1610 * Returns: %TRUE if @value was successfully set, %FALSE otherwise.
1611 *
1612 * Since: 1.14
1613 * Deprecated: 1.22: Use qmi_message_uim_verify_pin_input_set_session() instead.
1614 */
1615 G_DEPRECATED_FOR (qmi_message_uim_verify_pin_input_set_session)
1616 gboolean qmi_message_uim_verify_pin_input_set_session_information (
1617 QmiMessageUimVerifyPinInput *self,
1618 QmiUimSessionType value_session_information_session_type,
1619 const gchar *value_session_information_application_identifier,
1620 GError **error);
1621
1622 #endif /* HAVE_QMI_MESSAGE_UIM_VERIFY_PIN */
1623
1624 #if defined HAVE_QMI_MESSAGE_UIM_UNBLOCK_PIN
1625
1626 /**
1627 * qmi_message_uim_unblock_pin_input_get_session_information:
1628 * @self: a #QmiMessageUimUnblockPinInput.
1629 * @value_session_information_session_type: a placeholder for the output #QmiUimSessionType, or %NULL if not required.
1630 * @value_session_information_application_identifier: a placeholder for the output constant string, or %NULL if not required.
1631 * @error: Return location for error or %NULL.
1632 *
1633 * Get the 'Session Information' field from @self.
1634 *
1635 * Returns: %TRUE if the field is found, %FALSE otherwise.
1636 *
1637 * Since: 1.14
1638 * Deprecated: 1.22: Use qmi_message_uim_unblock_pin_input_get_session() instead.
1639 */
1640 G_DEPRECATED_FOR (qmi_message_uim_unblock_pin_input_get_session)
1641 gboolean qmi_message_uim_unblock_pin_input_get_session_information (
1642 QmiMessageUimUnblockPinInput *self,
1643 QmiUimSessionType *value_session_information_session_type,
1644 const gchar **value_session_information_application_identifier,
1645 GError **error);
1646
1647 /**
1648 * qmi_message_uim_unblock_pin_input_set_session_information:
1649 * @self: a #QmiMessageUimUnblockPinInput.
1650 * @value_session_information_session_type: a #QmiUimSessionType.
1651 * @value_session_information_application_identifier: a constant string.
1652 * @error: Return location for error or %NULL.
1653 *
1654 * Set the 'Session Information' field in the message.
1655 *
1656 * Returns: %TRUE if @value was successfully set, %FALSE otherwise.
1657 *
1658 * Since: 1.14
1659 * Deprecated: 1.22: Use qmi_message_uim_unblock_pin_input_set_session() instead.
1660 */
1661 G_DEPRECATED_FOR (qmi_message_uim_unblock_pin_input_set_session)
1662 gboolean qmi_message_uim_unblock_pin_input_set_session_information (
1663 QmiMessageUimUnblockPinInput *self,
1664 QmiUimSessionType value_session_information_session_type,
1665 const gchar *value_session_information_application_identifier,
1666 GError **error);
1667
1668 #endif /* HAVE_QMI_MESSAGE_UIM_UNBLOCK_PIN */
1669
1670 #if defined HAVE_QMI_MESSAGE_UIM_CHANGE_PIN
1671
1672 /**
1673 * qmi_message_uim_change_pin_input_get_session_information:
1674 * @self: a #QmiMessageUimChangePinInput.
1675 * @value_session_information_session_type: a placeholder for the output #QmiUimSessionType, or %NULL if not required.
1676 * @value_session_information_application_identifier: a placeholder for the output constant string, or %NULL if not required.
1677 * @error: Return location for error or %NULL.
1678 *
1679 * Get the 'Session Information' field from @self.
1680 *
1681 * Returns: %TRUE if the field is found, %FALSE otherwise.
1682 *
1683 * Since: 1.14
1684 * Deprecated: 1.22: Use qmi_message_uim_change_pin_input_get_session() instead.
1685 */
1686 G_DEPRECATED_FOR (qmi_message_uim_change_pin_input_get_session)
1687 gboolean qmi_message_uim_change_pin_input_get_session_information (
1688 QmiMessageUimChangePinInput *self,
1689 QmiUimSessionType *value_session_information_session_type,
1690 const gchar **value_session_information_application_identifier,
1691 GError **error);
1692
1693 /**
1694 * qmi_message_uim_change_pin_input_set_session_information:
1695 * @self: a #QmiMessageUimChangePinInput.
1696 * @value_session_information_session_type: a #QmiUimSessionType.
1697 * @value_session_information_application_identifier: a constant string.
1698 * @error: Return location for error or %NULL.
1699 *
1700 * Set the 'Session Information' field in the message.
1701 *
1702 * Returns: %TRUE if @value was successfully set, %FALSE otherwise.
1703 *
1704 * Since: 1.14
1705 * Deprecated: 1.22: Use qmi_message_uim_change_pin_input_set_session() instead.
1706 */
1707 G_DEPRECATED_FOR (qmi_message_uim_change_pin_input_set_session)
1708 gboolean qmi_message_uim_change_pin_input_set_session_information (
1709 QmiMessageUimChangePinInput *self,
1710 QmiUimSessionType value_session_information_session_type,
1711 const gchar *value_session_information_application_identifier,
1712 GError **error);
1713
1714 #endif /* HAVE_QMI_MESSAGE_UIM_CHANGE_PIN */
1715
1716 #if defined HAVE_QMI_MESSAGE_DMS_FOXCONN_GET_FIRMWARE_VERSION
1717
1718 /**
1719 * QmiMessageDmsDellGetFirmwareVersionInput:
1720 *
1721 * The #QmiMessageDmsDellGetFirmwareVersionInput structure contains private data and should only be accessed
1722 * using the provided API.
1723 *
1724 * Since: 1.22.4
1725 * Deprecated: 1.26: Use #QmiMessageDmsFoxconnGetFirmwareVersionInput instead.
1726 */
1727 typedef QmiMessageDmsFoxconnGetFirmwareVersionInput QmiDeprecatedMessageDmsDellGetFirmwareVersionInput;
1728 G_DEPRECATED_FOR (QmiMessageDmsFoxconnGetFirmwareVersionInput)
1729 typedef QmiDeprecatedMessageDmsDellGetFirmwareVersionInput QmiMessageDmsDellGetFirmwareVersionInput;
1730
1731 #define QMI_TYPE_MESSAGE_DMS_DELL_GET_FIRMWARE_VERSION_INPUT QMI_TYPE_MESSAGE_DMS_FOXCONN_GET_FIRMWARE_VERSION_INPUT
1732
1733 G_DEPRECATED_FOR (qmi_message_dms_foxconn_get_firmware_version_input_get_type)
1734 GType qmi_message_dms_dell_get_firmware_version_input_get_type (void) G_GNUC_CONST;
1735
1736 /**
1737 * qmi_message_dms_dell_get_firmware_version_input_get_version_type:
1738 * @self: a #QmiMessageDmsDellGetFirmwareVersionInput.
1739 * @value_version_type: a placeholder for the output #QmiDmsDellFirmwareVersionType, or %NULL if not required.
1740 * @error: Return location for error or %NULL.
1741 *
1742 * Get the 'Version Type' field from @self.
1743 *
1744 * Returns: %TRUE if the field is found, %FALSE otherwise.
1745 *
1746 * Since: 1.22.4
1747 * Deprecated: 1.26: Use qmi_message_dms_foxconn_get_firmware_version_input_get_version_type() instead.
1748 */
1749 G_DEPRECATED_FOR (qmi_message_dms_foxconn_get_firmware_version_input_get_version_type)
1750 gboolean qmi_message_dms_dell_get_firmware_version_input_get_version_type (
1751 QmiDeprecatedMessageDmsDellGetFirmwareVersionInput *self,
1752 QmiDeprecatedDmsDellFirmwareVersionType *value_version_type,
1753 GError **error);
1754
1755 /**
1756 * qmi_message_dms_dell_get_firmware_version_input_set_version_type:
1757 * @self: a #QmiMessageDmsDellGetFirmwareVersionInput.
1758 * @value_version_type: a #QmiDmsDellFirmwareVersionType.
1759 * @error: Return location for error or %NULL.
1760 *
1761 * Set the 'Version Type' field in the message.
1762 *
1763 * Returns: %TRUE if @value was successfully set, %FALSE otherwise.
1764 *
1765 * Since: 1.22.4
1766 * Deprecated: 1.26: Use qmi_message_dms_foxconn_get_firmware_version_input_set_version_type() instead.
1767 */
1768 G_DEPRECATED_FOR (qmi_message_dms_foxconn_get_firmware_version_input_set_version_type)
1769 gboolean qmi_message_dms_dell_get_firmware_version_input_set_version_type (
1770 QmiDeprecatedMessageDmsDellGetFirmwareVersionInput *self,
1771 QmiDeprecatedDmsDellFirmwareVersionType value_version_type,
1772 GError **error);
1773
1774 /**
1775 * qmi_message_dms_dell_get_firmware_version_input_ref:
1776 * @self: a #QmiMessageDmsDellGetFirmwareVersionInput.
1777 *
1778 * Atomically increments the reference count of @self by one.
1779 *
1780 * Returns: the new reference to @self.
1781 *
1782 * Since: 1.22.4
1783 * Deprecated: 1.26: Use qmi_message_dms_foxconn_get_firmware_version_input_ref() instead.
1784 */
1785 G_DEPRECATED_FOR (qmi_message_dms_foxconn_get_firmware_version_input_ref)
1786 QmiDeprecatedMessageDmsDellGetFirmwareVersionInput *qmi_message_dms_dell_get_firmware_version_input_ref (QmiDeprecatedMessageDmsDellGetFirmwareVersionInput *self);
1787
1788 /**
1789 * qmi_message_dms_dell_get_firmware_version_input_unref:
1790 * @self: a #QmiMessageDmsDellGetFirmwareVersionInput.
1791 *
1792 * Atomically decrements the reference count of @self by one.
1793 * If the reference count drops to 0, @self is completely disposed.
1794 *
1795 * Since: 1.22.4
1796 * Deprecated: 1.26: Use qmi_message_dms_foxconn_get_firmware_version_input_unref() instead.
1797 */
1798 G_DEPRECATED_FOR (qmi_message_dms_foxconn_get_firmware_version_input_unref)
1799 void qmi_message_dms_dell_get_firmware_version_input_unref (QmiDeprecatedMessageDmsDellGetFirmwareVersionInput *self);
1800
1801 /**
1802 * qmi_message_dms_dell_get_firmware_version_input_new:
1803 *
1804 * Allocates a new #QmiMessageDmsDellGetFirmwareVersionInput.
1805 *
1806 * Returns: the newly created #QmiMessageDmsDellGetFirmwareVersionInput. The returned value should be freed with qmi_message_dms_dell_get_firmware_version_input_unref().
1807 *
1808 * Since: 1.22.4
1809 * Deprecated: 1.26: Use qmi_message_dms_foxconn_get_firmware_version_input_new() instead.
1810 */
1811 G_DEPRECATED_FOR (qmi_message_dms_foxconn_get_firmware_version_input_new)
1812 QmiDeprecatedMessageDmsDellGetFirmwareVersionInput *qmi_message_dms_dell_get_firmware_version_input_new (void);
1813
1814 /**
1815 * QmiMessageDmsDellGetFirmwareVersionOutput:
1816 *
1817 * The #QmiMessageDmsDellGetFirmwareVersionOutput structure contains private data and should only be accessed
1818 * using the provided API.
1819 *
1820 * Since: 1.22.4
1821 * Deprecated: 1.26: Use #QmiMessageDmsFoxconnGetFirmwareVersionOutput instead.
1822 */
1823 typedef QmiMessageDmsFoxconnGetFirmwareVersionOutput QmiDeprecatedMessageDmsDellGetFirmwareVersionOutput;
1824 G_DEPRECATED_FOR (QmiMessageDmsFoxconnGetFirmwareVersionOutput)
1825 typedef QmiDeprecatedMessageDmsDellGetFirmwareVersionOutput QmiMessageDmsDellGetFirmwareVersionOutput;
1826
1827 #define QMI_TYPE_MESSAGE_DMS_DELL_GET_FIRMWARE_VERSION_OUTPUT QMI_TYPE_MESSAGE_DMS_FOXCONN_GET_FIRMWARE_VERSION_OUTPUT
1828
1829 G_DEPRECATED_FOR (qmi_message_dms_foxconn_get_firmware_version_output_get_type)
1830 GType qmi_message_dms_dell_get_firmware_version_output_get_type (void) G_GNUC_CONST;
1831
1832 /**
1833 * qmi_message_dms_dell_get_firmware_version_output_get_result:
1834 * @self: a QmiMessageDmsDellGetFirmwareVersionOutput.
1835 * @error: Return location for error or %NULL.
1836 *
1837 * Get the result of the QMI operation.
1838 *
1839 * Returns: %TRUE if the QMI operation succeeded, %FALSE if @error is set.
1840 *
1841 * Since: 1.22.4
1842 * Deprecated: 1.26: Use qmi_message_dms_foxconn_get_firmware_version_output_get_result() instead.
1843 */
1844 G_DEPRECATED_FOR (qmi_message_dms_foxconn_get_firmware_version_output_get_result)
1845 gboolean qmi_message_dms_dell_get_firmware_version_output_get_result (
1846 QmiDeprecatedMessageDmsDellGetFirmwareVersionOutput *self,
1847 GError **error);
1848
1849 /**
1850 * qmi_message_dms_dell_get_firmware_version_output_get_version:
1851 * @self: a #QmiMessageDmsDellGetFirmwareVersionOutput.
1852 * @value_version: a placeholder for the output constant string, or %NULL if not required.
1853 * @error: Return location for error or %NULL.
1854 *
1855 * Get the 'Version' field from @self.
1856 *
1857 * Returns: %TRUE if the field is found, %FALSE otherwise.
1858 *
1859 * Since: 1.22.4
1860 * Deprecated: 1.26: Use qmi_message_dms_foxconn_get_firmware_version_output_get_version() instead.
1861 */
1862 G_DEPRECATED_FOR (qmi_message_dms_foxconn_get_firmware_version_output_get_version)
1863 gboolean qmi_message_dms_dell_get_firmware_version_output_get_version (
1864 QmiDeprecatedMessageDmsDellGetFirmwareVersionOutput *self,
1865 const gchar **value_version,
1866 GError **error);
1867
1868 /**
1869 * qmi_message_dms_dell_get_firmware_version_output_ref:
1870 * @self: a #QmiMessageDmsDellGetFirmwareVersionOutput.
1871 *
1872 * Atomically increments the reference count of @self by one.
1873 *
1874 * Returns: the new reference to @self.
1875 *
1876 * Since: 1.22.4
1877 * Deprecated: 1.26: Use qmi_message_dms_foxconn_get_firmware_version_output_ref() instead.
1878 */
1879 G_DEPRECATED_FOR (qmi_message_dms_foxconn_get_firmware_version_output_ref)
1880 QmiDeprecatedMessageDmsDellGetFirmwareVersionOutput *qmi_message_dms_dell_get_firmware_version_output_ref (QmiDeprecatedMessageDmsDellGetFirmwareVersionOutput *self);
1881
1882 /**
1883 * qmi_message_dms_dell_get_firmware_version_output_unref:
1884 * @self: a #QmiMessageDmsDellGetFirmwareVersionOutput.
1885 *
1886 * Atomically decrements the reference count of @self by one.
1887 * If the reference count drops to 0, @self is completely disposed.
1888 *
1889 * Since: 1.22.4
1890 * Deprecated: 1.26: Use qmi_message_dms_foxconn_get_firmware_version_output_unref() instead.
1891 */
1892 G_DEPRECATED_FOR (qmi_message_dms_foxconn_get_firmware_version_output_unref)
1893 void qmi_message_dms_dell_get_firmware_version_output_unref (QmiDeprecatedMessageDmsDellGetFirmwareVersionOutput *self);
1894
1895 /**
1896 * qmi_client_dms_dell_get_firmware_version:
1897 * @self: a #QmiClientDms.
1898 * @input: a #QmiMessageDmsDellGetFirmwareVersionInput.
1899 * @timeout: maximum time to wait for the method to complete, in seconds.
1900 * @cancellable: a #GCancellable or %NULL.
1901 * @callback: a #GAsyncReadyCallback to call when the request is satisfied.
1902 * @user_data: user data to pass to @callback.
1903 *
1904 * Asynchronously sends a Dell Get Firmware Version request to the device.
1905 *
1906 * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from.
1907 *
1908 * You can then call qmi_client_dms_dell_get_firmware_version_finish() to get the result of the operation.
1909 *
1910 * Since: 1.22.4
1911 * Deprecated: 1.26: Use qmi_client_dms_foxconn_get_firmware_version() instead.
1912 */
1913 G_DEPRECATED_FOR (qmi_client_dms_foxconn_get_firmware_version)
1914 void qmi_client_dms_dell_get_firmware_version (
1915 QmiClientDms *self,
1916 QmiDeprecatedMessageDmsDellGetFirmwareVersionInput *input,
1917 guint timeout,
1918 GCancellable *cancellable,
1919 GAsyncReadyCallback callback,
1920 gpointer user_data);
1921
1922 /**
1923 * qmi_client_dms_dell_get_firmware_version_finish:
1924 * @self: a #QmiClientDms.
1925 * @res: the #GAsyncResult obtained from the #GAsyncReadyCallback passed to qmi_client_dms_dell_get_firmware_version().
1926 * @error: Return location for error or %NULL.
1927 *
1928 * Finishes an async operation started with qmi_client_dms_dell_get_firmware_version().
1929 *
1930 * Returns: a #QmiMessageDmsDellGetFirmwareVersionOutput, or %NULL if @error is set. The returned value should be freed with qmi_message_dms_dell_get_firmware_version_output_unref().
1931 *
1932 * Since: 1.22.4
1933 * Deprecated: 1.26: Use qmi_client_dms_foxconn_get_firmware_version_finish() instead.
1934 */
1935 G_DEPRECATED_FOR (qmi_client_dms_foxconn_get_firmware_version_finish)
1936 QmiDeprecatedMessageDmsDellGetFirmwareVersionOutput *qmi_client_dms_dell_get_firmware_version_finish (
1937 QmiClientDms *self,
1938 GAsyncResult *res,
1939 GError **error);
1940
1941 #endif /* HAVE_QMI_MESSAGE_DMS_FOXCONN_GET_FIRMWARE_VERSION */
1942
1943 #if defined HAVE_QMI_MESSAGE_DMS_FOXCONN_CHANGE_DEVICE_MODE
1944
1945 /**
1946 * QmiMessageDmsDellChangeDeviceModeInput:
1947 *
1948 * The #QmiMessageDmsDellChangeDeviceModeInput structure contains private data and should only be accessed
1949 * using the provided API.
1950 *
1951 * Since: 1.22.4
1952 * Deprecated: 1.26: Use #QmiMessageDmsFoxconnChangeDeviceModeInput instead.
1953 */
1954 typedef QmiMessageDmsFoxconnChangeDeviceModeInput QmiDeprecatedMessageDmsDellChangeDeviceModeInput;
1955 G_DEPRECATED_FOR (QmiMessageDmsFoxconnChangeDeviceModeInput)
1956 typedef QmiDeprecatedMessageDmsDellChangeDeviceModeInput QmiMessageDmsDellChangeDeviceModeInput;
1957
1958 #define QMI_TYPE_MESSAGE_DMS_DELL_CHANGE_DEVICE_MODE_INPUT QMI_TYPE_MESSAGE_DMS_FOXCONN_CHANGE_DEVICE_MODE_INPUT
1959
1960 G_DEPRECATED_FOR (qmi_message_dms_foxconn_change_device_mode_input_get_type)
1961 GType qmi_message_dms_dell_change_device_mode_input_get_type (void) G_GNUC_CONST;
1962
1963 /**
1964 * qmi_message_dms_dell_change_device_mode_input_get_mode:
1965 * @self: a #QmiMessageDmsDellChangeDeviceModeInput.
1966 * @value_mode: a placeholder for the output #QmiDmsDellDeviceMode, or %NULL if not required.
1967 * @error: Return location for error or %NULL.
1968 *
1969 * Get the 'Mode' field from @self.
1970 *
1971 * Returns: %TRUE if the field is found, %FALSE otherwise.
1972 *
1973 * Since: 1.22.4
1974 * Deprecated: 1.26: Use qmi_message_dms_foxconn_change_device_mode_input_get_mode() instead.
1975 */
1976 G_DEPRECATED_FOR (qmi_message_dms_foxconn_change_device_mode_input_get_mode)
1977 gboolean qmi_message_dms_dell_change_device_mode_input_get_mode (
1978 QmiDeprecatedMessageDmsDellChangeDeviceModeInput *self,
1979 QmiDeprecatedDmsDellDeviceMode *value_mode,
1980 GError **error);
1981
1982 /**
1983 * qmi_message_dms_dell_change_device_mode_input_set_mode:
1984 * @self: a #QmiMessageDmsDellChangeDeviceModeInput.
1985 * @value_mode: a #QmiDmsDellDeviceMode.
1986 * @error: Return location for error or %NULL.
1987 *
1988 * Set the 'Mode' field in the message.
1989 *
1990 * Returns: %TRUE if @value was successfully set, %FALSE otherwise.
1991 *
1992 * Since: 1.22.4
1993 * Deprecated: 1.26: Use qmi_message_dms_foxconn_change_device_mode_input_set_mode() instead.
1994 */
1995 G_DEPRECATED_FOR (qmi_message_dms_foxconn_change_device_mode_input_set_mode)
1996 gboolean qmi_message_dms_dell_change_device_mode_input_set_mode (
1997 QmiDeprecatedMessageDmsDellChangeDeviceModeInput *self,
1998 QmiDeprecatedDmsDellDeviceMode value_mode,
1999 GError **error);
2000
2001 /**
2002 * qmi_message_dms_dell_change_device_mode_input_ref:
2003 * @self: a #QmiMessageDmsDellChangeDeviceModeInput.
2004 *
2005 * Atomically increments the reference count of @self by one.
2006 *
2007 * Returns: the new reference to @self.
2008 *
2009 * Since: 1.22.4
2010 * Deprecated: 1.26: Use qmi_message_dms_foxconn_change_device_mode_input_ref() instead.
2011 */
2012 G_DEPRECATED_FOR (qmi_message_dms_foxconn_change_device_mode_input_ref)
2013 QmiDeprecatedMessageDmsDellChangeDeviceModeInput *qmi_message_dms_dell_change_device_mode_input_ref (QmiDeprecatedMessageDmsDellChangeDeviceModeInput *self);
2014
2015 /**
2016 * qmi_message_dms_dell_change_device_mode_input_unref:
2017 * @self: a #QmiMessageDmsDellChangeDeviceModeInput.
2018 *
2019 * Atomically decrements the reference count of @self by one.
2020 * If the reference count drops to 0, @self is completely disposed.
2021 *
2022 * Since: 1.22.4
2023 * Deprecated: 1.26: Use qmi_message_dms_foxconn_change_device_mode_input_unref() instead.
2024 */
2025 G_DEPRECATED_FOR (qmi_message_dms_foxconn_change_device_mode_input_unref)
2026 void qmi_message_dms_dell_change_device_mode_input_unref (QmiDeprecatedMessageDmsDellChangeDeviceModeInput *self);
2027
2028 /**
2029 * qmi_message_dms_dell_change_device_mode_input_new:
2030 *
2031 * Allocates a new #QmiMessageDmsDellChangeDeviceModeInput.
2032 *
2033 * Returns: the newly created #QmiMessageDmsDellChangeDeviceModeInput. The returned value should be freed with qmi_message_dms_dell_change_device_mode_input_unref().
2034 *
2035 * Since: 1.22.4
2036 * Deprecated: 1.26: Use qmi_message_dms_foxconn_change_device_mode_input_new() instead.
2037 */
2038 G_DEPRECATED_FOR (qmi_message_dms_foxconn_change_device_mode_input_new)
2039 QmiDeprecatedMessageDmsDellChangeDeviceModeInput *qmi_message_dms_dell_change_device_mode_input_new (void);
2040
2041 /**
2042 * QmiMessageDmsDellChangeDeviceModeOutput:
2043 *
2044 * The #QmiMessageDmsDellChangeDeviceModeOutput structure contains private data and should only be accessed
2045 * using the provided API.
2046 *
2047 * Since: 1.22.4
2048 * Deprecated: 1.26: Use #QmiMessageDmsFoxconnChangeDeviceModeOutput instead.
2049 */
2050 typedef QmiMessageDmsFoxconnChangeDeviceModeOutput QmiDeprecatedMessageDmsDellChangeDeviceModeOutput;
2051 G_DEPRECATED_FOR (QmiMessageDmsFoxconnChangeDeviceModeOutput)
2052 typedef QmiDeprecatedMessageDmsDellChangeDeviceModeOutput QmiMessageDmsDellChangeDeviceModeOutput;
2053
2054 #define QMI_TYPE_MESSAGE_DMS_DELL_CHANGE_DEVICE_MODE_OUTPUT QMI_TYPE_MESSAGE_DMS_FOXCONN_CHANGE_DEVICE_MODE_OUTPUT
2055
2056 G_DEPRECATED_FOR (qmi_message_dms_foxconn_change_device_mode_output_get_type)
2057 GType qmi_message_dms_dell_change_device_mode_output_get_type (void) G_GNUC_CONST;
2058
2059 /**
2060 * qmi_message_dms_dell_change_device_mode_output_get_result:
2061 * @self: a QmiMessageDmsDellChangeDeviceModeOutput.
2062 * @error: Return location for error or %NULL.
2063 *
2064 * Get the result of the QMI operation.
2065 *
2066 * Returns: %TRUE if the QMI operation succeeded, %FALSE if @error is set.
2067 *
2068 * Since: 1.22.4
2069 * Deprecated: 1.26: Use qmi_message_dms_foxconn_change_device_mode_output_get_result() instead.
2070 */
2071 G_DEPRECATED_FOR (qmi_message_dms_foxconn_change_device_mode_output_get_result)
2072 gboolean qmi_message_dms_dell_change_device_mode_output_get_result (
2073 QmiDeprecatedMessageDmsDellChangeDeviceModeOutput *self,
2074 GError **error);
2075
2076 /**
2077 * qmi_message_dms_dell_change_device_mode_output_ref:
2078 * @self: a #QmiMessageDmsDellChangeDeviceModeOutput.
2079 *
2080 * Atomically increments the reference count of @self by one.
2081 *
2082 * Returns: the new reference to @self.
2083 *
2084 * Since: 1.22.4
2085 * Deprecated: 1.26: Use qmi_message_dms_foxconn_change_device_mode_output_ref() instead.
2086 */
2087 G_DEPRECATED_FOR (qmi_message_dms_foxconn_change_device_mode_output_ref)
2088 QmiDeprecatedMessageDmsDellChangeDeviceModeOutput *qmi_message_dms_dell_change_device_mode_output_ref (QmiDeprecatedMessageDmsDellChangeDeviceModeOutput *self);
2089
2090 /**
2091 * qmi_message_dms_dell_change_device_mode_output_unref:
2092 * @self: a #QmiMessageDmsDellChangeDeviceModeOutput.
2093 *
2094 * Atomically decrements the reference count of @self by one.
2095 * If the reference count drops to 0, @self is completely disposed.
2096 *
2097 * Since: 1.22.4
2098 * Deprecated: 1.26: Use qmi_message_dms_foxconn_change_device_mode_output_unref() instead.
2099 */
2100 G_DEPRECATED_FOR (qmi_message_dms_foxconn_change_device_mode_output_unref)
2101 void qmi_message_dms_dell_change_device_mode_output_unref (QmiDeprecatedMessageDmsDellChangeDeviceModeOutput *self);
2102
2103 /**
2104 * qmi_client_dms_dell_change_device_mode:
2105 * @self: a #QmiClientDms.
2106 * @input: a #QmiMessageDmsDellChangeDeviceModeInput.
2107 * @timeout: maximum time to wait for the method to complete, in seconds.
2108 * @cancellable: a #GCancellable or %NULL.
2109 * @callback: a #GAsyncReadyCallback to call when the request is satisfied.
2110 * @user_data: user data to pass to @callback.
2111 *
2112 * Asynchronously sends a Dell Change Device Mode request to the device.
2113 *
2114 * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from.
2115 *
2116 * You can then call qmi_client_dms_dell_change_device_mode_finish() to get the result of the operation.
2117 *
2118 * Since: 1.22.4
2119 * Deprecated: 1.26: Use qmi_client_dms_foxconn_change_device_mode() instead.
2120 */
2121 G_DEPRECATED_FOR (qmi_client_dms_foxconn_change_device_mode)
2122 void qmi_client_dms_dell_change_device_mode (
2123 QmiClientDms *self,
2124 QmiDeprecatedMessageDmsDellChangeDeviceModeInput *input,
2125 guint timeout,
2126 GCancellable *cancellable,
2127 GAsyncReadyCallback callback,
2128 gpointer user_data);
2129
2130 /**
2131 * qmi_client_dms_dell_change_device_mode_finish:
2132 * @self: a #QmiClientDms.
2133 * @res: the #GAsyncResult obtained from the #GAsyncReadyCallback passed to qmi_client_dms_dell_change_device_mode().
2134 * @error: Return location for error or %NULL.
2135 *
2136 * Finishes an async operation started with qmi_client_dms_dell_change_device_mode().
2137 *
2138 * Returns: a #QmiMessageDmsDellChangeDeviceModeOutput, or %NULL if @error is set. The returned value should be freed with qmi_message_dms_dell_change_device_mode_output_unref().
2139 *
2140 * Since: 1.22.4
2141 * Deprecated: 1.26: Use qmi_client_dms_foxconn_change_device_mode_finish() instead.
2142 */
2143 G_DEPRECATED_FOR (qmi_client_dms_foxconn_change_device_mode_finish)
2144 QmiDeprecatedMessageDmsDellChangeDeviceModeOutput *qmi_client_dms_dell_change_device_mode_finish (
2145 QmiClientDms *self,
2146 GAsyncResult *res,
2147 GError **error);
2148
2149 #endif /* HAVE_QMI_MESSAGE_DMS_FOXCONN_CHANGE_DEVICE_MODE */
2150
2151 #if defined HAVE_QMI_MESSAGE_NAS_GET_OPERATOR_NAME
2152
2153 /**
2154 * qmi_message_nas_get_operator_name_output_get_operator_nitz_information:
2155 * @self: a #QmiMessageNasGetOperatorNameOutput.
2156 * @value_operator_nitz_information_name_encoding: a placeholder for the output #QmiNasPlmnEncodingScheme, or %NULL if not required.
2157 * @value_operator_nitz_information_short_country_initials: a placeholder for the output #QmiNasPlmnNameCountryInitials, or %NULL if not required.
2158 * @value_operator_nitz_information_long_name_spare_bits: a placeholder for the output #QmiNasPlmnNameSpareBits, or %NULL if not required.
2159 * @value_operator_nitz_information_short_name_spare_bits: a placeholder for the output #QmiNasPlmnNameSpareBits, or %NULL if not required.
2160 * @value_operator_nitz_information_long_name: a placeholder for the output constant string, or %NULL if not required.
2161 * @value_operator_nitz_information_short_name: a placeholder for the output constant string, or %NULL if not required.
2162 * @error: Return location for error or %NULL.
2163 *
2164 * Get the 'Operator NITZ Information' field from @self.
2165 *
2166 * Returns: %TRUE if the field is found, %FALSE otherwise.
2167 *
2168 * Since: 1.18
2169 * Deprecated: 1.24.6: Use qmi_message_nas_get_operator_name_output_get_nitz_information() instead.
2170 */
2171 G_DEPRECATED_FOR (qmi_message_nas_get_operator_name_output_get_nitz_information)
2172 gboolean qmi_message_nas_get_operator_name_output_get_operator_nitz_information (
2173 QmiMessageNasGetOperatorNameOutput *self,
2174 QmiNasPlmnEncodingScheme *value_operator_nitz_information_name_encoding,
2175 QmiNasPlmnNameCountryInitials *value_operator_nitz_information_short_country_initials,
2176 QmiNasPlmnNameSpareBits *value_operator_nitz_information_long_name_spare_bits,
2177 QmiNasPlmnNameSpareBits *value_operator_nitz_information_short_name_spare_bits,
2178 const gchar **value_operator_nitz_information_long_name,
2179 const gchar **value_operator_nitz_information_short_name,
2180 GError **error);
2181
2182 #endif /* HAVE_QMI_MESSAGE_NAS_GET_OPERATOR_NAME */
2183
2184 #if defined HAVE_QMI_INDICATION_NAS_OPERATOR_NAME
2185
2186 /**
2187 * qmi_indication_nas_operator_name_output_get_operator_nitz_information:
2188 * @self: a #QmiIndicationNasOperatorNameOutput.
2189 * @value_operator_nitz_information_name_encoding: a placeholder for the output #QmiNasPlmnEncodingScheme, or %NULL if not required.
2190 * @value_operator_nitz_information_short_country_initials: a placeholder for the output #QmiNasPlmnNameCountryInitials, or %NULL if not required.
2191 * @value_operator_nitz_information_long_name_spare_bits: a placeholder for the output #QmiNasPlmnNameSpareBits, or %NULL if not required.
2192 * @value_operator_nitz_information_short_name_spare_bits: a placeholder for the output #QmiNasPlmnNameSpareBits, or %NULL if not required.
2193 * @value_operator_nitz_information_long_name: a placeholder for the output constant string, or %NULL if not required.
2194 * @value_operator_nitz_information_short_name: a placeholder for the output constant string, or %NULL if not required.
2195 * @error: Return location for error or %NULL.
2196 *
2197 * Get the 'Operator NITZ Information' field from @self.
2198 *
2199 * Returns: %TRUE if the field is found, %FALSE otherwise.
2200 *
2201 * Since: 1.18
2202 * Deprecated: 1.24.6: Use qmi_indication_nas_operator_name_output_get_nitz_information() instead.
2203 */
2204 G_DEPRECATED_FOR (qmi_indication_nas_operator_name_output_get_nitz_information)
2205 gboolean qmi_indication_nas_operator_name_output_get_operator_nitz_information (
2206 QmiIndicationNasOperatorNameOutput *self,
2207 QmiNasPlmnEncodingScheme *value_operator_nitz_information_name_encoding,
2208 QmiNasPlmnNameCountryInitials *value_operator_nitz_information_short_country_initials,
2209 QmiNasPlmnNameSpareBits *value_operator_nitz_information_long_name_spare_bits,
2210 QmiNasPlmnNameSpareBits *value_operator_nitz_information_short_name_spare_bits,
2211 const gchar **value_operator_nitz_information_long_name,
2212 const gchar **value_operator_nitz_information_short_name,
2213 GError **error);
2214
2215 #endif /* HAVE_QMI_INDICATION_NAS_OPERATOR_NAME */
2216
2217 #if defined HAVE_QMI_MESSAGE_NAS_GET_HOME_NETWORK
2218
2219 /**
2220 * qmi_message_nas_get_home_network_output_get_home_network_3gpp2:
2221 * @self: a #QmiMessageNasGetHomeNetworkOutput.
2222 * @value_home_network_3gpp2_mcc: a placeholder for the output #guint16, or %NULL if not required.
2223 * @value_home_network_3gpp2_mnc: a placeholder for the output #guint16, or %NULL if not required.
2224 * @value_home_network_3gpp2_display_description: a placeholder for the output #QmiNasNetworkDescriptionDisplay, or %NULL if not required.
2225 * @value_home_network_3gpp2_description_encoding: a placeholder for the output #QmiNasNetworkDescriptionEncoding, or %NULL if not required.
2226 * @value_home_network_3gpp2_description: a placeholder for the output constant string, or %NULL if not required.
2227 * @error: Return location for error or %NULL.
2228 *
2229 * Get the 'Home Network 3GPP2' field from @self.
2230 *
2231 * Returns: %TRUE if the field is found, %FALSE otherwise.
2232 *
2233 * Since: 1.0
2234 * Deprecated: 1.24.6: Use qmi_message_nas_get_home_network_output_get_home_network_3gpp2_ext() instead.
2235 */
2236 G_DEPRECATED_FOR (qmi_message_nas_get_home_network_output_get_home_network_3gpp2_ext)
2237 gboolean qmi_message_nas_get_home_network_output_get_home_network_3gpp2 (
2238 QmiMessageNasGetHomeNetworkOutput *self,
2239 guint16 *value_home_network_3gpp2_mcc,
2240 guint16 *value_home_network_3gpp2_mnc,
2241 QmiNasNetworkDescriptionDisplay *value_home_network_3gpp2_display_description,
2242 QmiNasNetworkDescriptionEncoding *value_home_network_3gpp2_description_encoding,
2243 const gchar **value_home_network_3gpp2_description,
2244 GError **error);
2245
2246 #endif /* HAVE_QMI_MESSAGE_NAS_GET_HOME_NETWORK */
2247
2248 #if defined HAVE_QMI_MESSAGE_NAS_GET_CELL_LOCATION_INFO
2249
2250 /**
2251 * QmiMessageNasGetCellLocationInfoOutputGeranInfoCellElement:
2252 * @cell_id: a #guint32.
2253 * @plmn: a string of exactly 3 characters.
2254 * @lac: a #guint16.
2255 * @geran_absolute_rf_channel_number: a #guint16.
2256 * @base_station_identity_code: a #guint8.
2257 * @rx_level: a #guint16.
2258 *
2259 * GERAN info cell.
2260 *
2261 * This type is deprecated and returns always an empty @plmn string.
2262 *
2263 * Since: 1.10
2264 * Deprecated: 1.26.6.
2265 */
2266 G_DEPRECATED
2267 typedef struct _QmiMessageNasGetCellLocationInfoOutputGeranInfoCellElement {
2268 guint32 cell_id;
2269 gchar *plmn;
2270 guint16 lac;
2271 guint16 geran_absolute_rf_channel_number;
2272 guint8 base_station_identity_code;
2273 guint16 rx_level;
2274 } QmiMessageNasGetCellLocationInfoOutputGeranInfoCellElement;
2275
2276 /**
2277 * QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoCellElement:
2278 *
2279 * Intra-frequency LTE info cell.
2280 *
2281 * The format of this deprecated type is really the same as for the
2282 * new #QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoV2CellElement type,
2283 * it is only a name change.
2284 *
2285 * Since: 1.10
2286 * Deprecated: 1.26.6. Use #QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoV2CellElement instead.
2287 */
2288 G_DEPRECATED_FOR (QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoV2CellElement)
2289 typedef QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoV2CellElement QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoCellElement;
2290
2291 /**
2292 * qmi_message_nas_get_cell_location_info_output_get_intrafrequency_lte_info:
2293 * @self: a #QmiMessageNasGetCellLocationInfoOutput.
2294 * @value_intrafrequency_lte_info_ue_in_idle: (out): a placeholder for the output #gboolean, or %NULL if not required.
2295 * @value_intrafrequency_lte_info_plmn: (out): a placeholder for the output constant string, or %NULL if not required.
2296 * @value_intrafrequency_lte_info_tracking_area_code: (out): a placeholder for the output #guint16, or %NULL if not required.
2297 * @value_intrafrequency_lte_info_global_cell_id: (out): a placeholder for the output #guint32, or %NULL if not required.
2298 * @value_intrafrequency_lte_info_eutra_absolute_rf_channel_number: (out): a placeholder for the output #guint16, or %NULL if not required.
2299 * @value_intrafrequency_lte_info_serving_cell_id: (out): a placeholder for the output #guint16, or %NULL if not required.
2300 * @value_intrafrequency_lte_info_cell_reselection_priority: (out): a placeholder for the output #guint8, or %NULL if not required.
2301 * @value_intrafrequency_lte_info_s_non_intra_search_threshold: (out): a placeholder for the output #guint8, or %NULL if not required.
2302 * @value_intrafrequency_lte_info_serving_cell_low_threshold: (out): a placeholder for the output #guint8, or %NULL if not required.
2303 * @value_intrafrequency_lte_info_s_intra_search_threshold: (out): a placeholder for the output #guint8, or %NULL if not required.
2304 * @value_intrafrequency_lte_info_cell: (out)(element-type QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoCellElement)(transfer none): a placeholder for the output #GArray of #QmiMessageNasGetCellLocationInfoOutputIntrafrequencyLteInfoCellElement elements, or %NULL if not required. Do not free it, it is owned by @self.
2305 * @error: Return location for error or %NULL.
2306 *
2307 * Get the 'Intrafrequency LTE Info' field from @self.
2308 *
2309 * This method is deprecated and returns an empty
2310 * @value_intrafrequency_lte_info_plmn string.
2311 *
2312 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
2313 *
2314 * Since: 1.10
2315 * Deprecated: 1.26.6. Use qmi_message_nas_get_cell_location_info_output_get_intrafrequency_lte_info_v2() instead.
2316 */
2317 G_DEPRECATED_FOR (qmi_message_nas_get_cell_location_info_output_get_intrafrequency_lte_info_v2)
2318 gboolean qmi_message_nas_get_cell_location_info_output_get_intrafrequency_lte_info (
2319 QmiMessageNasGetCellLocationInfoOutput *self,
2320 gboolean *value_intrafrequency_lte_info_ue_in_idle,
2321 const gchar **value_intrafrequency_lte_info_plmn,
2322 guint16 *value_intrafrequency_lte_info_tracking_area_code,
2323 guint32 *value_intrafrequency_lte_info_global_cell_id,
2324 guint16 *value_intrafrequency_lte_info_eutra_absolute_rf_channel_number,
2325 guint16 *value_intrafrequency_lte_info_serving_cell_id,
2326 guint8 *value_intrafrequency_lte_info_cell_reselection_priority,
2327 guint8 *value_intrafrequency_lte_info_s_non_intra_search_threshold,
2328 guint8 *value_intrafrequency_lte_info_serving_cell_low_threshold,
2329 guint8 *value_intrafrequency_lte_info_s_intra_search_threshold,
2330 GArray **value_intrafrequency_lte_info_cell,
2331 GError **error);
2332
2333 /**
2334 * QmiMessageNasGetCellLocationInfoOutputUmtsInfoCellElement:
2335 *
2336 * UMTS info cell.
2337 *
2338 * The format of this deprecated type is really the same as for the
2339 * new #QmiMessageNasGetCellLocationInfoOutputUmtsInfoV2CellElement type,
2340 * it is only a name change.
2341 *
2342 * Since: 1.10
2343 * Deprecated: 1.26.6. Use #QmiMessageNasGetCellLocationInfoOutputUmtsInfoV2CellElement instead.
2344 */
2345 G_DEPRECATED_FOR (QmiMessageNasGetCellLocationInfoOutputUmtsInfoV2CellElement)
2346 typedef QmiMessageNasGetCellLocationInfoOutputUmtsInfoV2CellElement QmiMessageNasGetCellLocationInfoOutputUmtsInfoCellElement;
2347
2348 /**
2349 * QmiMessageNasGetCellLocationInfoOutputUmtsInfoNeighboringGeranElement:
2350 *
2351 * UMTS info neighboring GERAN cell.
2352 *
2353 * The format of this deprecated type is really the same as for the
2354 * new #QmiMessageNasGetCellLocationInfoOutputUmtsInfoV2NeighboringGeranElement type,
2355 * it is only a name change.
2356 *
2357 * Since: 1.10
2358 * Deprecated: 1.26.6. Use #QmiMessageNasGetCellLocationInfoOutputUmtsInfoV2NeighboringGeranElement instead.
2359 */
2360 G_DEPRECATED_FOR (QmiMessageNasGetCellLocationInfoOutputUmtsInfoV2NeighboringGeranElement)
2361 typedef QmiMessageNasGetCellLocationInfoOutputUmtsInfoV2NeighboringGeranElement QmiMessageNasGetCellLocationInfoOutputUmtsInfoNeighboringGeranElement;
2362
2363 /**
2364 * qmi_message_nas_get_cell_location_info_output_get_umts_info:
2365 * @self: a #QmiMessageNasGetCellLocationInfoOutput.
2366 * @value_umts_info_cell_id: (out): a placeholder for the output #guint16, or %NULL if not required.
2367 * @value_umts_info_plmn: (out): a placeholder for the output constant string, or %NULL if not required.
2368 * @value_umts_info_lac: (out): a placeholder for the output #guint16, or %NULL if not required.
2369 * @value_umts_info_utra_absolute_rf_channel_number: (out): a placeholder for the output #guint16, or %NULL if not required.
2370 * @value_umts_info_primary_scrambling_code: (out): a placeholder for the output #guint16, or %NULL if not required.
2371 * @value_umts_info_rscp: (out): a placeholder for the output #gint16, or %NULL if not required.
2372 * @value_umts_info_ecio: (out): a placeholder for the output #gint16, or %NULL if not required.
2373 * @value_umts_info_cell: (out)(element-type QmiMessageNasGetCellLocationInfoOutputUmtsInfoCellElement)(transfer none): a placeholder for the output #GArray of #QmiMessageNasGetCellLocationInfoOutputUmtsInfoCellElement elements, or %NULL if not required. Do not free it, it is owned by @self.
2374 * @value_umts_info_neighboring_geran: (out)(element-type QmiMessageNasGetCellLocationInfoOutputUmtsInfoNeighboringGeranElement)(transfer none): a placeholder for the output #GArray of #QmiMessageNasGetCellLocationInfoOutputUmtsInfoNeighboringGeranElement elements, or %NULL if not required. Do not free it, it is owned by @self.
2375 * @error: Return location for error or %NULL.
2376 *
2377 * Get the 'UMTS Info' field from @self.
2378 *
2379 * This method is deprecated and returns an empty @value_umts_info_plmn
2380 * string.
2381 *
2382 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
2383 *
2384 * Since: 1.10
2385 * Deprecated: 1.26.6. Use qmi_message_nas_get_cell_location_info_output_get_umts_info_v2() instead.
2386 */
2387 G_DEPRECATED_FOR (qmi_message_nas_get_cell_location_info_output_get_umts_info_v2)
2388 gboolean qmi_message_nas_get_cell_location_info_output_get_umts_info (
2389 QmiMessageNasGetCellLocationInfoOutput *self,
2390 guint16 *value_umts_info_cell_id,
2391 const gchar **value_umts_info_plmn,
2392 guint16 *value_umts_info_lac,
2393 guint16 *value_umts_info_utra_absolute_rf_channel_number,
2394 guint16 *value_umts_info_primary_scrambling_code,
2395 gint16 *value_umts_info_rscp,
2396 gint16 *value_umts_info_ecio,
2397 GArray **value_umts_info_cell,
2398 GArray **value_umts_info_neighboring_geran,
2399 GError **error);
2400
2401 /**
2402 * qmi_message_nas_get_cell_location_info_output_get_geran_info:
2403 * @self: a #QmiMessageNasGetCellLocationInfoOutput.
2404 * @value_geran_info_cell_id: (out): a placeholder for the output #guint32, or %NULL if not required.
2405 * @value_geran_info_plmn: (out): a placeholder for the output constant string, or %NULL if not required.
2406 * @value_geran_info_lac: (out): a placeholder for the output #guint16, or %NULL if not required.
2407 * @value_geran_info_geran_absolute_rf_channel_number: (out): a placeholder for the output #guint16, or %NULL if not required.
2408 * @value_geran_info_base_station_identity_code: (out): a placeholder for the output #guint8, or %NULL if not required.
2409 * @value_geran_info_timing_advance: (out): a placeholder for the output #guint32, or %NULL if not required.
2410 * @value_geran_info_rx_level: (out): a placeholder for the output #guint16, or %NULL if not required.
2411 * @value_geran_info_cell: (out)(element-type QmiMessageNasGetCellLocationInfoOutputGeranInfoCellElement)(transfer none): a placeholder for the output #GArray of #QmiMessageNasGetCellLocationInfoOutputGeranInfoCellElement elements, or %NULL if not required. Do not free it, it is owned by @self.
2412 * @error: Return location for error or %NULL.
2413 *
2414 * Get the 'GERAN Info' field from @self.
2415 *
2416 * This method is deprecated and returns an empty @value_geran_info_plmn
2417 * string.
2418 *
2419 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
2420 *
2421 * Since: 1.10
2422 * Deprecated: 1.26.6. Use qmi_message_nas_get_cell_location_info_output_get_geran_info_v2() instead.
2423 */
2424 G_DEPRECATED_FOR (qmi_message_nas_get_cell_location_info_output_get_geran_info_v2)
2425 gboolean qmi_message_nas_get_cell_location_info_output_get_geran_info (
2426 QmiMessageNasGetCellLocationInfoOutput *self,
2427 guint32 *value_geran_info_cell_id,
2428 const gchar **value_geran_info_plmn,
2429 guint16 *value_geran_info_lac,
2430 guint16 *value_geran_info_geran_absolute_rf_channel_number,
2431 guint8 *value_geran_info_base_station_identity_code,
2432 guint32 *value_geran_info_timing_advance,
2433 guint16 *value_geran_info_rx_level,
2434 GArray **value_geran_info_cell,
2435 GError **error);
2436
2437 #endif /* HAVE_QMI_MESSAGE_NAS_GET_CELL_LOCATION_INFO */
2438
2439 /**
2440 * QMI_NAS_NETWORK_SERVICE_DOMAIN_UNKNOWN:
2441 *
2442 * Unknown service domain.
2443 *
2444 * Deprecated: 1.36: Use the correct #QMI_NAS_NETWORK_SERVICE_DOMAIN_CAMPED name instead.
2445 */
2446 G_DEPRECATED typedef int QmiDeprecatedNasNetworkServiceDomain;
2447 #define QMI_NAS_NETWORK_SERVICE_DOMAIN_UNKNOWN (QmiDeprecatedNasNetworkServiceDomain) QMI_NAS_NETWORK_SERVICE_DOMAIN_CAMPED
2448
2449 #if defined HAVE_QMI_MESSAGE_WDS_GET_DEFAULT_PROFILE_NUMBER
2450
2451 /**
2452 * QmiMessageWdsGetDefaultProfileNumInput:
2453 *
2454 * The #QmiMessageWdsGetDefaultProfileNumInput structure contains private data and should only be accessed
2455 * using the provided API.
2456 *
2457 * Since: 1.22
2458 * Deprecated: 1.28: Use #QmiMessageWdsGetDefaultProfileNumberInput instead.
2459 */
2460 typedef QmiMessageWdsGetDefaultProfileNumberInput QmiDeprecatedMessageWdsGetDefaultProfileNumInput;
2461 G_DEPRECATED_FOR (QmiMessageWdsGetDefaultProfileNumberInput)
2462 typedef QmiDeprecatedMessageWdsGetDefaultProfileNumInput QmiMessageWdsGetDefaultProfileNumInput;
2463
2464 #define QMI_TYPE_MESSAGE_WDS_GET_DEFAULT_PROFILE_NUM_INPUT QMI_TYPE_MESSAGE_WDS_GET_DEFAULT_PROFILE_NUMBER_INPUT
2465
2466 G_DEPRECATED_FOR (qmi_message_wds_get_default_profile_number_input_get_type)
2467 GType qmi_message_wds_get_default_profile_num_input_get_type (void) G_GNUC_CONST;
2468
2469 /**
2470 * qmi_message_wds_get_default_profile_num_input_get_profile_type:
2471 * @self: a #QmiMessageWdsGetDefaultProfileNumInput.
2472 * @value_profile_type_profile_type: (out): a placeholder for the output #QmiWdsProfileType, or %NULL if not required.
2473 * @value_profile_type_profile_family: (out): a placeholder for the output #QmiWdsProfileFamily, or %NULL if not required.
2474 * @error: Return location for error or %NULL.
2475 *
2476 * Get the 'Profile Type' field from @self.
2477 *
2478 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
2479 *
2480 * Since: 1.22
2481 * Deprecated: 1.28. Use qmi_message_wds_get_default_profile_number_input_get_profile_type() instead.
2482 */
2483 G_DEPRECATED_FOR (qmi_message_wds_get_default_profile_number_input_get_profile_type)
2484 gboolean qmi_message_wds_get_default_profile_num_input_get_profile_type (
2485 QmiDeprecatedMessageWdsGetDefaultProfileNumInput *self,
2486 QmiWdsProfileType *value_profile_type_profile_type,
2487 QmiWdsProfileFamily *value_profile_type_profile_family,
2488 GError **error);
2489
2490 /**
2491 * qmi_message_wds_get_default_profile_num_input_set_profile_type:
2492 * @self: a #QmiMessageWdsGetDefaultProfileNumInput.
2493 * @value_profile_type_profile_type: a #QmiWdsProfileType.
2494 * @value_profile_type_profile_family: a #QmiWdsProfileFamily.
2495 * @error: Return location for error or %NULL.
2496 *
2497 * Set the 'Profile Type' field in the message.
2498 *
2499 * Returns: (skip): %TRUE if @value was successfully set, %FALSE otherwise.
2500 *
2501 * Since: 1.22
2502 * Deprecated: 1.28. Use qmi_message_wds_get_default_profile_number_input_set_profile_type() instead.
2503 */
2504 G_DEPRECATED_FOR (Use qmi_message_wds_get_default_profile_number_input_set_profile_type)
2505 gboolean qmi_message_wds_get_default_profile_num_input_set_profile_type (
2506 QmiDeprecatedMessageWdsGetDefaultProfileNumInput *self,
2507 QmiWdsProfileType value_profile_type_profile_type,
2508 QmiWdsProfileFamily value_profile_type_profile_family,
2509 GError **error);
2510
2511 /**
2512 * qmi_message_wds_get_default_profile_num_input_ref:
2513 * @self: a #QmiMessageWdsGetDefaultProfileNumInput.
2514 *
2515 * Atomically increments the reference count of @self by one.
2516 *
2517 * Returns: the new reference to @self.
2518 *
2519 * Since: 1.22
2520 * Deprecated: 1.28. Use qmi_message_wds_get_default_profile_number_input_ref() instead.
2521 */
2522 G_DEPRECATED_FOR (qmi_message_wds_get_default_profile_number_input_ref)
2523 QmiDeprecatedMessageWdsGetDefaultProfileNumInput *qmi_message_wds_get_default_profile_num_input_ref (QmiDeprecatedMessageWdsGetDefaultProfileNumInput *self);
2524
2525 /**
2526 * qmi_message_wds_get_default_profile_num_input_unref:
2527 * @self: a #QmiMessageWdsGetDefaultProfileNumInput.
2528 *
2529 * Atomically decrements the reference count of @self by one.
2530 * If the reference count drops to 0, @self is completely disposed.
2531 *
2532 * Since: 1.22
2533 * Deprecated: 1.28. Use qmi_message_wds_get_default_profile_number_input_unref() instead.
2534 */
2535 G_DEPRECATED_FOR (qmi_message_wds_get_default_profile_number_input_unref)
2536 void qmi_message_wds_get_default_profile_num_input_unref (QmiDeprecatedMessageWdsGetDefaultProfileNumInput *self);
2537
2538 /**
2539 * qmi_message_wds_get_default_profile_num_input_new:
2540 *
2541 * Allocates a new #QmiMessageWdsGetDefaultProfileNumInput.
2542 *
2543 * Returns: the newly created #QmiMessageWdsGetDefaultProfileNumInput. The returned value should be freed with qmi_message_wds_get_default_profile_num_input_unref().
2544 *
2545 * Since: 1.22
2546 * Deprecated: 1.28. Use qmi_message_wds_get_default_profile_number_input_new() instead.
2547 */
2548 G_DEPRECATED_FOR (qmi_message_wds_get_default_profile_number_input_new)
2549 QmiDeprecatedMessageWdsGetDefaultProfileNumInput *qmi_message_wds_get_default_profile_num_input_new (void);
2550
2551 /**
2552 * QmiMessageWdsGetDefaultProfileNumOutput:
2553 *
2554 * The #QmiMessageWdsGetDefaultProfileNumOutput structure contains private data and should only be accessed
2555 * using the provided API.
2556 *
2557 * Since: 1.22
2558 * Deprecated: 1.28. Use #QmiMessageWdsGetDefaultProfileNumberOutput instead.
2559 */
2560 typedef QmiMessageWdsGetDefaultProfileNumberOutput QmiDeprecatedMessageWdsGetDefaultProfileNumOutput;
2561 G_DEPRECATED_FOR (QmiMessageWdsGetDefaultProfileNumberOutput)
2562 typedef QmiDeprecatedMessageWdsGetDefaultProfileNumOutput QmiMessageWdsGetDefaultProfileNumOutput;
2563
2564 #define QMI_TYPE_MESSAGE_WDS_GET_DEFAULT_PROFILE_NUM_OUTPUT QMI_TYPE_MESSAGE_WDS_GET_DEFAULT_PROFILE_NUMBER_OUTPUT
2565
2566 G_DEPRECATED_FOR (qmi_message_wds_get_default_profile_number_output_get_type)
2567 GType qmi_message_wds_get_default_profile_num_output_get_type (void) G_GNUC_CONST;
2568
2569 /**
2570 * qmi_message_wds_get_default_profile_num_output_get_result:
2571 * @self: a QmiMessageWdsGetDefaultProfileNumOutput.
2572 * @error: Return location for error or %NULL.
2573 *
2574 * Get the result of the QMI operation.
2575 *
2576 * Returns: (skip): %TRUE if the QMI operation succeeded, %FALSE if @error is set.
2577 *
2578 * Since: 1.22
2579 * Deprecated: 1.28. Use qmi_message_wds_get_default_profile_number_output_get_result() instead.
2580 */
2581 G_DEPRECATED_FOR (qmi_message_wds_get_default_profile_number_output_get_result)
2582 gboolean qmi_message_wds_get_default_profile_num_output_get_result (
2583 QmiDeprecatedMessageWdsGetDefaultProfileNumOutput *self,
2584 GError **error);
2585
2586 /**
2587 * qmi_message_wds_get_default_profile_num_output_get_default_profile_number:
2588 * @self: a #QmiMessageWdsGetDefaultProfileNumOutput.
2589 * @value_default_profile_number: (out): a placeholder for the output #guint8, or %NULL if not required.
2590 * @error: Return location for error or %NULL.
2591 *
2592 * Get the 'Default Profile Number' field from @self.
2593 *
2594 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
2595 *
2596 * Since: 1.22
2597 * Deprecated: 1.28. Use qmi_message_wds_get_default_profile_number_output_get_index() instead.
2598 */
2599 G_DEPRECATED_FOR (qmi_message_wds_get_default_profile_number_output_get_index)
2600 gboolean qmi_message_wds_get_default_profile_num_output_get_default_profile_number (
2601 QmiDeprecatedMessageWdsGetDefaultProfileNumOutput *self,
2602 guint8 *value_default_profile_number,
2603 GError **error);
2604
2605 /**
2606 * qmi_message_wds_get_default_profile_num_output_get_extended_error_code:
2607 * @self: a #QmiMessageWdsGetDefaultProfileNumOutput.
2608 * @value_extended_error_code: (out): a placeholder for the output #QmiWdsDsProfileError, or %NULL if not required.
2609 * @error: Return location for error or %NULL.
2610 *
2611 * Get the 'Extended Error Code' field from @self.
2612 *
2613 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
2614 *
2615 * Since: 1.22
2616 * Deprecated: 1.28. Use qmi_message_wds_get_default_profile_number_output_get_extended_error_code() instead.
2617 */
2618 G_DEPRECATED_FOR (qmi_message_wds_get_default_profile_number_output_get_extended_error_code)
2619 gboolean qmi_message_wds_get_default_profile_num_output_get_extended_error_code (
2620 QmiDeprecatedMessageWdsGetDefaultProfileNumOutput *self,
2621 QmiWdsDsProfileError *value_extended_error_code,
2622 GError **error);
2623
2624 /**
2625 * qmi_message_wds_get_default_profile_num_output_ref:
2626 * @self: a #QmiMessageWdsGetDefaultProfileNumOutput.
2627 *
2628 * Atomically increments the reference count of @self by one.
2629 *
2630 * Returns: the new reference to @self.
2631 *
2632 * Since: 1.22
2633 * Deprecated: 1.28. Use qmi_message_wds_get_default_profile_number_output_ref() instead.
2634 */
2635 G_DEPRECATED_FOR (qmi_message_wds_get_default_profile_number_output_ref)
2636 QmiDeprecatedMessageWdsGetDefaultProfileNumOutput *qmi_message_wds_get_default_profile_num_output_ref (QmiDeprecatedMessageWdsGetDefaultProfileNumOutput *self);
2637
2638 /**
2639 * qmi_message_wds_get_default_profile_num_output_unref:
2640 * @self: a #QmiMessageWdsGetDefaultProfileNumOutput.
2641 *
2642 * Atomically decrements the reference count of @self by one.
2643 * If the reference count drops to 0, @self is completely disposed.
2644 *
2645 * Since: 1.22
2646 * Deprecated: 1.28. Use qmi_message_wds_get_default_profile_number_output_unref() instead.
2647 */
2648 G_DEPRECATED_FOR (qmi_message_wds_get_default_profile_number_output_unref)
2649 void qmi_message_wds_get_default_profile_num_output_unref (QmiDeprecatedMessageWdsGetDefaultProfileNumOutput *self);
2650
2651 /**
2652 * qmi_client_wds_get_default_profile_num:
2653 * @self: a #QmiClientWds.
2654 * @input: a #QmiMessageWdsGetDefaultProfileNumberInput.
2655 * @timeout: maximum time to wait for the method to complete, in seconds.
2656 * @cancellable: a #GCancellable or %NULL.
2657 * @callback: a #GAsyncReadyCallback to call when the request is satisfied.
2658 * @user_data: user data to pass to @callback.
2659 *
2660 * Asynchronously sends a Get Default Profile Number request to the device.
2661 *
2662 * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from.
2663 *
2664 * You can then call qmi_client_wds_get_default_profile_number_finish() to get the result of the operation.
2665 *
2666 * Since: 1.22
2667 * Deprecated: 1.28. Use qmi_client_wds_get_default_profile_number() instead.
2668 */
2669 G_DEPRECATED_FOR (qmi_message_wds_get_default_profile_number)
2670 void qmi_client_wds_get_default_profile_num (
2671 QmiClientWds *self,
2672 QmiDeprecatedMessageWdsGetDefaultProfileNumInput *input,
2673 guint timeout,
2674 GCancellable *cancellable,
2675 GAsyncReadyCallback callback,
2676 gpointer user_data);
2677
2678 /**
2679 * qmi_client_wds_get_default_profile_num_finish:
2680 * @self: a #QmiClientWds.
2681 * @res: the #GAsyncResult obtained from the #GAsyncReadyCallback passed to qmi_client_wds_get_default_profile_number().
2682 * @error: Return location for error or %NULL.
2683 *
2684 * Finishes an async operation started with qmi_client_wds_get_default_profile_number().
2685 *
2686 * Returns: a #QmiMessageWdsGetDefaultProfileNumberOutput, or %NULL if @error is set. The returned value should be freed with qmi_message_wds_get_default_profile_number_output_unref().
2687 *
2688 * Since: 1.22
2689 * Deprecated: 1.28. Use qmi_client_wds_get_default_profile_number_finish() instead.
2690 */
2691 G_DEPRECATED_FOR (qmi_message_wds_get_default_profile_number_finish)
2692 QmiDeprecatedMessageWdsGetDefaultProfileNumOutput *qmi_client_wds_get_default_profile_num_finish (
2693 QmiClientWds *self,
2694 GAsyncResult *res,
2695 GError **error);
2696
2697 #endif /* HAVE_QMI_MESSAGE_WDS_GET_DEFAULT_PROFILE_NUMBER */
2698
2699 #if defined HAVE_QMI_MESSAGE_WDS_SET_DEFAULT_PROFILE_NUMBER
2700
2701 /**
2702 * QmiMessageWdsSetDefaultProfileNumInput:
2703 *
2704 * The #QmiMessageWdsSetDefaultProfileNumInput structure contains private data and should only be accessed
2705 * using the provided API.
2706 *
2707 * Since: 1.22
2708 * Deprecated: 1.28. Use #QmiMessageWdsSetDefaultProfileNumberInput instead.
2709 */
2710 typedef QmiMessageWdsSetDefaultProfileNumberInput QmiDeprecatedMessageWdsSetDefaultProfileNumInput;
2711 G_DEPRECATED_FOR (QmiMessageWdsSetDefaultProfileNumberInput)
2712 typedef QmiDeprecatedMessageWdsSetDefaultProfileNumInput QmiMessageWdsSetDefaultProfileNumInput;
2713
2714 #define QMI_TYPE_MESSAGE_WDS_SET_DEFAULT_PROFILE_NUM_INPUT QMI_TYPE_MESSAGE_WDS_SET_DEFAULT_PROFILE_NUMBER_INPUT
2715
2716 G_DEPRECATED_FOR (qmi_message_wds_set_default_profile_number_input_get_type)
2717 GType qmi_message_wds_set_default_profile_num_input_get_type (void) G_GNUC_CONST;
2718
2719 /**
2720 * qmi_message_wds_set_default_profile_num_input_get_profile_identifier:
2721 * @self: a #QmiMessageWdsSetDefaultProfileNumInput.
2722 * @value_profile_identifier_profile_type: (out): a placeholder for the output #QmiWdsProfileType, or %NULL if not required.
2723 * @value_profile_identifier_profile_family: (out): a placeholder for the output #QmiWdsProfileFamily, or %NULL if not required.
2724 * @value_profile_identifier_profile_index: (out): a placeholder for the output #guint8, or %NULL if not required.
2725 * @error: Return location for error or %NULL.
2726 *
2727 * Get the 'Profile Identifier' field from @self.
2728 *
2729 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
2730 *
2731 * Since: 1.22
2732 * Deprecated: 1.28. Use qmi_message_wds_set_default_profile_number_input_get_profile_identifier() instead.
2733 */
2734 G_DEPRECATED_FOR (qmi_message_wds_set_default_profile_number_input_get_profile_identifier)
2735 gboolean qmi_message_wds_set_default_profile_num_input_get_profile_identifier (
2736 QmiDeprecatedMessageWdsSetDefaultProfileNumInput *self,
2737 QmiWdsProfileType *value_profile_identifier_profile_type,
2738 QmiWdsProfileFamily *value_profile_identifier_profile_family,
2739 guint8 *value_profile_identifier_profile_index,
2740 GError **error);
2741
2742 /**
2743 * qmi_message_wds_set_default_profile_num_input_set_profile_identifier:
2744 * @self: a #QmiMessageWdsSetDefaultProfileNumInput.
2745 * @value_profile_identifier_profile_type: a #QmiWdsProfileType.
2746 * @value_profile_identifier_profile_family: a #QmiWdsProfileFamily.
2747 * @value_profile_identifier_profile_index: a #guint8.
2748 * @error: Return location for error or %NULL.
2749 *
2750 * Set the 'Profile Identifier' field in the message.
2751 *
2752 * Returns: (skip): %TRUE if @value was successfully set, %FALSE otherwise.
2753 *
2754 * Since: 1.22
2755 * Deprecated: 1.28. Use qmi_message_wds_set_default_profile_number_input_set_profile_identifier() instead.
2756 */
2757 G_DEPRECATED_FOR (qmi_message_wds_set_default_profile_number_input_set_profile_identifier)
2758 gboolean qmi_message_wds_set_default_profile_num_input_set_profile_identifier (
2759 QmiDeprecatedMessageWdsSetDefaultProfileNumInput *self,
2760 QmiWdsProfileType value_profile_identifier_profile_type,
2761 QmiWdsProfileFamily value_profile_identifier_profile_family,
2762 guint8 value_profile_identifier_profile_index,
2763 GError **error);
2764
2765 /**
2766 * qmi_message_wds_set_default_profile_num_input_ref:
2767 * @self: a #QmiMessageWdsSetDefaultProfileNumInput.
2768 *
2769 * Atomically increments the reference count of @self by one.
2770 *
2771 * Returns: the new reference to @self.
2772 *
2773 * Since: 1.22
2774 * Deprecated: 1.28. Use qmi_message_wds_set_default_profile_number_input_ref() instead.
2775 */
2776 G_DEPRECATED_FOR (qmi_message_wds_set_default_profile_number_input_ref)
2777 QmiDeprecatedMessageWdsSetDefaultProfileNumInput *qmi_message_wds_set_default_profile_num_input_ref (QmiDeprecatedMessageWdsSetDefaultProfileNumInput *self);
2778
2779 /**
2780 * qmi_message_wds_set_default_profile_num_input_unref:
2781 * @self: a #QmiMessageWdsSetDefaultProfileNumInput.
2782 *
2783 * Atomically decrements the reference count of @self by one.
2784 * If the reference count drops to 0, @self is completely disposed.
2785 *
2786 * Since: 1.22
2787 * Deprecated: 1.28. Use qmi_message_wds_set_default_profile_number_input_unref() instead.
2788 */
2789 G_DEPRECATED_FOR (Use qmi_message_wds_set_default_profile_number_input_unref)
2790 void qmi_message_wds_set_default_profile_num_input_unref (QmiDeprecatedMessageWdsSetDefaultProfileNumInput *self);
2791
2792 /**
2793 * qmi_message_wds_set_default_profile_num_input_new:
2794 *
2795 * Allocates a new #QmiMessageWdsSetDefaultProfileNumInput.
2796 *
2797 * Returns: the newly created #QmiMessageWdsSetDefaultProfileNumInput. The returned value should be freed with qmi_message_wds_set_default_profile_num_input_unref().
2798 *
2799 * Since: 1.22
2800 * Deprecated: 1.28. Use qmi_message_wds_set_default_profile_number_input_new() instead.
2801 */
2802 G_DEPRECATED_FOR (qmi_message_wds_set_default_profile_number_input_new)
2803 QmiDeprecatedMessageWdsSetDefaultProfileNumInput *qmi_message_wds_set_default_profile_num_input_new (void);
2804
2805 /**
2806 * QmiMessageWdsSetDefaultProfileNumOutput:
2807 *
2808 * The #QmiMessageWdsSetDefaultProfileNumOutput structure contains private data and should only be accessed
2809 * using the provided API.
2810 *
2811 * Since: 1.22
2812 * Deprecated: 1.28. Use #QmiMessageWdsSetDefaultProfileNumberOutput instead.
2813 */
2814 typedef QmiMessageWdsSetDefaultProfileNumberOutput QmiDeprecatedMessageWdsSetDefaultProfileNumOutput;
2815 G_DEPRECATED_FOR (QmiMessageWdsSetDefaultProfileNumberOutput)
2816 typedef QmiDeprecatedMessageWdsSetDefaultProfileNumOutput QmiMessageWdsSetDefaultProfileNumOutput;
2817
2818 #define QMI_TYPE_MESSAGE_WDS_SET_DEFAULT_PROFILE_NUM_OUTPUT QMI_TYPE_MESSAGE_WDS_SET_DEFAULT_PROFILE_NUMBER_OUTPUT
2819
2820 G_DEPRECATED_FOR (qmi_message_wds_set_default_profile_number_output_get_type)
2821 GType qmi_message_wds_set_default_profile_num_output_get_type (void) G_GNUC_CONST;
2822
2823 /**
2824 * qmi_message_wds_set_default_profile_num_output_get_result:
2825 * @self: a QmiMessageWdsSetDefaultProfileNumOutput.
2826 * @error: Return location for error or %NULL.
2827 *
2828 * Get the result of the QMI operation.
2829 *
2830 * Returns: (skip): %TRUE if the QMI operation succeeded, %FALSE if @error is set.
2831 *
2832 * Since: 1.22
2833 * Deprecated: 1.28. Use qmi_message_wds_set_default_profile_number_output_get_result() instead.
2834 */
2835 G_DEPRECATED_FOR (qmi_message_wds_set_default_profile_number_output_get_result)
2836 gboolean qmi_message_wds_set_default_profile_num_output_get_result (
2837 QmiDeprecatedMessageWdsSetDefaultProfileNumOutput *self,
2838 GError **error);
2839
2840 /**
2841 * qmi_message_wds_set_default_profile_num_output_get_extended_error_code:
2842 * @self: a #QmiMessageWdsSetDefaultProfileNumOutput.
2843 * @value_extended_error_code: (out): a placeholder for the output #QmiWdsDsProfileError, or %NULL if not required.
2844 * @error: Return location for error or %NULL.
2845 *
2846 * Get the 'Extended Error Code' field from @self.
2847 *
2848 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
2849 *
2850 * Since: 1.22
2851 * Deprecated: 1.28. Use qmi_message_wds_set_default_profile_number_output_get_extended_error_code() instead.
2852 */
2853 G_DEPRECATED_FOR (qmi_message_wds_set_default_profile_number_output_get_extended_error_code)
2854 gboolean qmi_message_wds_set_default_profile_num_output_get_extended_error_code (
2855 QmiDeprecatedMessageWdsSetDefaultProfileNumOutput *self,
2856 QmiWdsDsProfileError *value_extended_error_code,
2857 GError **error);
2858
2859 /**
2860 * qmi_message_wds_set_default_profile_num_output_ref:
2861 * @self: a #QmiMessageWdsSetDefaultProfileNumOutput.
2862 *
2863 * Atomically increments the reference count of @self by one.
2864 *
2865 * Returns: the new reference to @self.
2866 *
2867 * Since: 1.22
2868 * Deprecated: 1.28. Use qmi_message_wds_set_default_profile_number_output_ref() instead.
2869 */
2870 G_DEPRECATED_FOR (qmi_message_wds_set_default_profile_number_output_ref)
2871 QmiDeprecatedMessageWdsSetDefaultProfileNumOutput *qmi_message_wds_set_default_profile_num_output_ref (QmiDeprecatedMessageWdsSetDefaultProfileNumOutput *self);
2872
2873 /**
2874 * qmi_message_wds_set_default_profile_num_output_unref:
2875 * @self: a #QmiMessageWdsSetDefaultProfileNumOutput.
2876 *
2877 * Atomically decrements the reference count of @self by one.
2878 * If the reference count drops to 0, @self is completely disposed.
2879 *
2880 * Since: 1.22
2881 * Deprecated: 1.28. Use qmi_message_wds_set_default_profile_number_output_unref() instead.
2882 */
2883 G_DEPRECATED_FOR (qmi_message_wds_set_default_profile_number_output_unref)
2884 void qmi_message_wds_set_default_profile_num_output_unref (QmiDeprecatedMessageWdsSetDefaultProfileNumOutput *self);
2885
2886 /**
2887 * qmi_client_wds_set_default_profile_num:
2888 * @self: a #QmiClientWds.
2889 * @input: a #QmiMessageWdsSetDefaultProfileNumberInput.
2890 * @timeout: maximum time to wait for the method to complete, in seconds.
2891 * @cancellable: a #GCancellable or %NULL.
2892 * @callback: a #GAsyncReadyCallback to call when the request is satisfied.
2893 * @user_data: user data to pass to @callback.
2894 *
2895 * Asynchronously sends a Set Default Profile Number request to the device.
2896 *
2897 * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from.
2898 *
2899 * You can then call qmi_client_wds_set_default_profile_number_finish() to get the result of the operation.
2900 *
2901 * Since: 1.22
2902 * Deprecated: 1.28. Use qmi_client_wds_set_default_profile_number() instead.
2903 */
2904 G_DEPRECATED_FOR (qmi_message_wds_set_default_profile_number)
2905 void qmi_client_wds_set_default_profile_num (
2906 QmiClientWds *self,
2907 QmiDeprecatedMessageWdsSetDefaultProfileNumInput *input,
2908 guint timeout,
2909 GCancellable *cancellable,
2910 GAsyncReadyCallback callback,
2911 gpointer user_data);
2912
2913 /**
2914 * qmi_client_wds_set_default_profile_num_finish:
2915 * @self: a #QmiClientWds.
2916 * @res: the #GAsyncResult obtained from the #GAsyncReadyCallback passed to qmi_client_wds_set_default_profile_number().
2917 * @error: Return location for error or %NULL.
2918 *
2919 * Finishes an async operation started with qmi_client_wds_set_default_profile_number().
2920 *
2921 * Returns: a #QmiMessageWdsSetDefaultProfileNumberOutput, or %NULL if @error is set. The returned value should be freed with qmi_message_wds_set_default_profile_number_output_unref().
2922 *
2923 * Since: 1.22
2924 * Deprecated: 1.28. Use qmi_client_wds_set_default_profile_number_finish() instead.
2925 */
2926 G_DEPRECATED_FOR (qmi_message_wds_set_default_profile_number_finish)
2927 QmiDeprecatedMessageWdsSetDefaultProfileNumOutput *qmi_client_wds_set_default_profile_num_finish (
2928 QmiClientWds *self,
2929 GAsyncResult *res,
2930 GError **error);
2931
2932 #endif /* HAVE_QMI_MESSAGE_WDS_SET_DEFAULT_PROFILE_NUMBER */
2933
2934 #if defined HAVE_QMI_MESSAGE_NAS_GET_SYSTEM_INFO
2935
2936 /**
2937 * qmi_message_nas_get_system_info_output_get_gsm_system_info:
2938 * @self: a #QmiMessageNasGetSystemInfoOutput.
2939 * @value_gsm_system_info_domain_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
2940 * @value_gsm_system_info_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
2941 * @value_gsm_system_info_service_capability_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
2942 * @value_gsm_system_info_service_capability: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
2943 * @value_gsm_system_info_roaming_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
2944 * @value_gsm_system_info_roaming_status: (out): a placeholder for the output #QmiNasRoamingStatus, or %NULL if not required.
2945 * @value_gsm_system_info_forbidden_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
2946 * @value_gsm_system_info_forbidden: (out): a placeholder for the output #gboolean, or %NULL if not required.
2947 * @value_gsm_system_info_lac_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
2948 * @value_gsm_system_info_lac: (out): a placeholder for the output #guint16, or %NULL if not required.
2949 * @value_gsm_system_info_cid_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
2950 * @value_gsm_system_info_cid: (out): a placeholder for the output #guint32, or %NULL if not required.
2951 * @value_gsm_system_info_registration_reject_info_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
2952 * @value_gsm_system_info_registration_reject_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
2953 * @value_gsm_system_info_registration_reject_cause: (out): a placeholder for the output #guint8, or %NULL if not required.
2954 * @value_gsm_system_info_network_id_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
2955 * @value_gsm_system_info_mcc: (out): a placeholder for the output constant string, or %NULL if not required.
2956 * @value_gsm_system_info_mnc: (out): a placeholder for the output constant string, or %NULL if not required.
2957 * @value_gsm_system_info_egprs_support_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
2958 * @value_gsm_system_info_egprs_support: (out): a placeholder for the output #gboolean, or %NULL if not required.
2959 * @value_gsm_system_info_dtm_support_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
2960 * @value_gsm_system_info_dtm_support: (out): a placeholder for the output #gboolean, or %NULL if not required.
2961 * @error: Return location for error or %NULL.
2962 *
2963 * Get the 'GSM System Info' field from @self.
2964 *
2965 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
2966 *
2967 * Since: 1.0
2968 * Deprecated: 1.30. Use qmi_message_nas_get_system_info_output_get_gsm_system_info_v2() instead.
2969 */
2970 G_DEPRECATED_FOR (qmi_message_nas_get_system_info_output_get_gsm_system_info_v2)
2971 gboolean qmi_message_nas_get_system_info_output_get_gsm_system_info (
2972 QmiMessageNasGetSystemInfoOutput *self,
2973 gboolean *value_gsm_system_info_domain_valid,
2974 QmiNasNetworkServiceDomain *value_gsm_system_info_domain,
2975 gboolean *value_gsm_system_info_service_capability_valid,
2976 QmiNasNetworkServiceDomain *value_gsm_system_info_service_capability,
2977 gboolean *value_gsm_system_info_roaming_status_valid,
2978 QmiNasRoamingStatus *value_gsm_system_info_roaming_status,
2979 gboolean *value_gsm_system_info_forbidden_valid,
2980 gboolean *value_gsm_system_info_forbidden,
2981 gboolean *value_gsm_system_info_lac_valid,
2982 guint16 *value_gsm_system_info_lac,
2983 gboolean *value_gsm_system_info_cid_valid,
2984 guint32 *value_gsm_system_info_cid,
2985 gboolean *value_gsm_system_info_registration_reject_info_valid,
2986 QmiNasNetworkServiceDomain *value_gsm_system_info_registration_reject_domain,
2987 guint8 *value_gsm_system_info_registration_reject_cause,
2988 gboolean *value_gsm_system_info_network_id_valid,
2989 const gchar **value_gsm_system_info_mcc,
2990 const gchar **value_gsm_system_info_mnc,
2991 gboolean *value_gsm_system_info_egprs_support_valid,
2992 gboolean *value_gsm_system_info_egprs_support,
2993 gboolean *value_gsm_system_info_dtm_support_valid,
2994 gboolean *value_gsm_system_info_dtm_support,
2995 GError **error);
2996
2997 /**
2998 * qmi_message_nas_get_system_info_output_get_wcdma_system_info:
2999 * @self: a #QmiMessageNasGetSystemInfoOutput.
3000 * @value_wcdma_system_info_domain_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3001 * @value_wcdma_system_info_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
3002 * @value_wcdma_system_info_service_capability_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3003 * @value_wcdma_system_info_service_capability: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
3004 * @value_wcdma_system_info_roaming_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3005 * @value_wcdma_system_info_roaming_status: (out): a placeholder for the output #QmiNasRoamingStatus, or %NULL if not required.
3006 * @value_wcdma_system_info_forbidden_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3007 * @value_wcdma_system_info_forbidden: (out): a placeholder for the output #gboolean, or %NULL if not required.
3008 * @value_wcdma_system_info_lac_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3009 * @value_wcdma_system_info_lac: (out): a placeholder for the output #guint16, or %NULL if not required.
3010 * @value_wcdma_system_info_cid_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3011 * @value_wcdma_system_info_cid: (out): a placeholder for the output #guint32, or %NULL if not required.
3012 * @value_wcdma_system_info_registration_reject_info_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3013 * @value_wcdma_system_info_registration_reject_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
3014 * @value_wcdma_system_info_registration_reject_cause: (out): a placeholder for the output #guint8, or %NULL if not required.
3015 * @value_wcdma_system_info_network_id_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3016 * @value_wcdma_system_info_mcc: (out): a placeholder for the output constant string, or %NULL if not required.
3017 * @value_wcdma_system_info_mnc: (out): a placeholder for the output constant string, or %NULL if not required.
3018 * @value_wcdma_system_info_hs_call_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3019 * @value_wcdma_system_info_hs_call_status: (out): a placeholder for the output #QmiNasWcdmaHsService, or %NULL if not required.
3020 * @value_wcdma_system_info_hs_service_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3021 * @value_wcdma_system_info_hs_service: (out): a placeholder for the output #QmiNasWcdmaHsService, or %NULL if not required.
3022 * @value_wcdma_system_info_primary_scrambling_code_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3023 * @value_wcdma_system_info_primary_scrambling_code: (out): a placeholder for the output #guint16, or %NULL if not required.
3024 * @error: Return location for error or %NULL.
3025 *
3026 * Get the 'WCDMA System Info' field from @self.
3027 *
3028 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
3029 *
3030 * Since: 1.0
3031 * Deprecated: 1.30. Use qmi_message_nas_get_system_info_output_get_wcdma_system_info_v2() instead.
3032 */
3033 G_DEPRECATED_FOR (qmi_message_nas_get_system_info_output_get_wcdma_system_info_v2)
3034 gboolean qmi_message_nas_get_system_info_output_get_wcdma_system_info (
3035 QmiMessageNasGetSystemInfoOutput *self,
3036 gboolean *value_wcdma_system_info_domain_valid,
3037 QmiNasNetworkServiceDomain *value_wcdma_system_info_domain,
3038 gboolean *value_wcdma_system_info_service_capability_valid,
3039 QmiNasNetworkServiceDomain *value_wcdma_system_info_service_capability,
3040 gboolean *value_wcdma_system_info_roaming_status_valid,
3041 QmiNasRoamingStatus *value_wcdma_system_info_roaming_status,
3042 gboolean *value_wcdma_system_info_forbidden_valid,
3043 gboolean *value_wcdma_system_info_forbidden,
3044 gboolean *value_wcdma_system_info_lac_valid,
3045 guint16 *value_wcdma_system_info_lac,
3046 gboolean *value_wcdma_system_info_cid_valid,
3047 guint32 *value_wcdma_system_info_cid,
3048 gboolean *value_wcdma_system_info_registration_reject_info_valid,
3049 QmiNasNetworkServiceDomain *value_wcdma_system_info_registration_reject_domain,
3050 guint8 *value_wcdma_system_info_registration_reject_cause,
3051 gboolean *value_wcdma_system_info_network_id_valid,
3052 const gchar **value_wcdma_system_info_mcc,
3053 const gchar **value_wcdma_system_info_mnc,
3054 gboolean *value_wcdma_system_info_hs_call_status_valid,
3055 QmiNasWcdmaHsService *value_wcdma_system_info_hs_call_status,
3056 gboolean *value_wcdma_system_info_hs_service_valid,
3057 QmiNasWcdmaHsService *value_wcdma_system_info_hs_service,
3058 gboolean *value_wcdma_system_info_primary_scrambling_code_valid,
3059 guint16 *value_wcdma_system_info_primary_scrambling_code,
3060 GError **error);
3061
3062 /**
3063 * qmi_message_nas_get_system_info_output_get_lte_system_info:
3064 * @self: a #QmiMessageNasGetSystemInfoOutput.
3065 * @value_lte_system_info_domain_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3066 * @value_lte_system_info_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
3067 * @value_lte_system_info_service_capability_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3068 * @value_lte_system_info_service_capability: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
3069 * @value_lte_system_info_roaming_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3070 * @value_lte_system_info_roaming_status: (out): a placeholder for the output #QmiNasRoamingStatus, or %NULL if not required.
3071 * @value_lte_system_info_forbidden_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3072 * @value_lte_system_info_forbidden: (out): a placeholder for the output #gboolean, or %NULL if not required.
3073 * @value_lte_system_info_lac_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3074 * @value_lte_system_info_lac: (out): a placeholder for the output #guint16, or %NULL if not required.
3075 * @value_lte_system_info_cid_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3076 * @value_lte_system_info_cid: (out): a placeholder for the output #guint32, or %NULL if not required.
3077 * @value_lte_system_info_registration_reject_info_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3078 * @value_lte_system_info_registration_reject_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
3079 * @value_lte_system_info_registration_reject_cause: (out): a placeholder for the output #guint8, or %NULL if not required.
3080 * @value_lte_system_info_network_id_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3081 * @value_lte_system_info_mcc: (out): a placeholder for the output constant string, or %NULL if not required.
3082 * @value_lte_system_info_mnc: (out): a placeholder for the output constant string, or %NULL if not required.
3083 * @value_lte_system_info_tac_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3084 * @value_lte_system_info_tac: (out): a placeholder for the output #guint16, or %NULL if not required.
3085 * @error: Return location for error or %NULL.
3086 *
3087 * Get the 'LTE System Info' field from @self.
3088 *
3089 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
3090 *
3091 * Since: 1.0
3092 * Deprecated: 1.30. Use qmi_message_nas_get_system_info_output_get_lte_system_info_v2() instead.
3093 */
3094 G_DEPRECATED_FOR (qmi_message_nas_get_system_info_output_get_lte_system_info_v2)
3095 gboolean qmi_message_nas_get_system_info_output_get_lte_system_info (
3096 QmiMessageNasGetSystemInfoOutput *self,
3097 gboolean *value_lte_system_info_domain_valid,
3098 QmiNasNetworkServiceDomain *value_lte_system_info_domain,
3099 gboolean *value_lte_system_info_service_capability_valid,
3100 QmiNasNetworkServiceDomain *value_lte_system_info_service_capability,
3101 gboolean *value_lte_system_info_roaming_status_valid,
3102 QmiNasRoamingStatus *value_lte_system_info_roaming_status,
3103 gboolean *value_lte_system_info_forbidden_valid,
3104 gboolean *value_lte_system_info_forbidden,
3105 gboolean *value_lte_system_info_lac_valid,
3106 guint16 *value_lte_system_info_lac,
3107 gboolean *value_lte_system_info_cid_valid,
3108 guint32 *value_lte_system_info_cid,
3109 gboolean *value_lte_system_info_registration_reject_info_valid,
3110 QmiNasNetworkServiceDomain *value_lte_system_info_registration_reject_domain,
3111 guint8 *value_lte_system_info_registration_reject_cause,
3112 gboolean *value_lte_system_info_network_id_valid,
3113 const gchar **value_lte_system_info_mcc,
3114 const gchar **value_lte_system_info_mnc,
3115 gboolean *value_lte_system_info_tac_valid,
3116 guint16 *value_lte_system_info_tac,
3117 GError **error);
3118
3119 /**
3120 * qmi_message_nas_get_system_info_output_get_td_scdma_system_info:
3121 * @self: a #QmiMessageNasGetSystemInfoOutput.
3122 * @value_td_scdma_system_info_domain_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3123 * @value_td_scdma_system_info_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
3124 * @value_td_scdma_system_info_service_capability_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3125 * @value_td_scdma_system_info_service_capability: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
3126 * @value_td_scdma_system_info_roaming_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3127 * @value_td_scdma_system_info_roaming_status: (out): a placeholder for the output #QmiNasRoamingStatus, or %NULL if not required.
3128 * @value_td_scdma_system_info_forbidden_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3129 * @value_td_scdma_system_info_forbidden: (out): a placeholder for the output #gboolean, or %NULL if not required.
3130 * @value_td_scdma_system_info_lac_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3131 * @value_td_scdma_system_info_lac: (out): a placeholder for the output #guint16, or %NULL if not required.
3132 * @value_td_scdma_system_info_cid_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3133 * @value_td_scdma_system_info_cid: (out): a placeholder for the output #guint32, or %NULL if not required.
3134 * @value_td_scdma_system_info_registration_reject_info_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3135 * @value_td_scdma_system_info_registration_reject_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
3136 * @value_td_scdma_system_info_registration_reject_cause: (out): a placeholder for the output #guint8, or %NULL if not required.
3137 * @value_td_scdma_system_info_network_id_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3138 * @value_td_scdma_system_info_mcc: (out): a placeholder for the output constant string, or %NULL if not required.
3139 * @value_td_scdma_system_info_mnc: (out): a placeholder for the output constant string, or %NULL if not required.
3140 * @value_td_scdma_system_info_hs_call_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3141 * @value_td_scdma_system_info_hs_call_status: (out): a placeholder for the output #QmiNasWcdmaHsService, or %NULL if not required.
3142 * @value_td_scdma_system_info_hs_service_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3143 * @value_td_scdma_system_info_hs_service: (out): a placeholder for the output #QmiNasWcdmaHsService, or %NULL if not required.
3144 * @value_td_scdma_system_info_cell_parameter_id_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3145 * @value_td_scdma_system_info_cell_parameter_id: (out): a placeholder for the output #guint16, or %NULL if not required.
3146 * @value_td_scdma_system_info_cell_broadcast_support_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3147 * @value_td_scdma_system_info_cell_broadcast_support: (out): a placeholder for the output #QmiNasCellBroadcastCapability, or %NULL if not required.
3148 * @value_td_scdma_system_info_cs_call_barring_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3149 * @value_td_scdma_system_info_cs_call_barring_status: (out): a placeholder for the output #QmiNasCallBarringStatus, or %NULL if not required.
3150 * @value_td_scdma_system_info_ps_call_barring_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3151 * @value_td_scdma_system_info_ps_call_barring_status: (out): a placeholder for the output #QmiNasCallBarringStatus, or %NULL if not required.
3152 * @value_td_scdma_system_info_cipher_domain_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3153 * @value_td_scdma_system_info_cipher_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
3154 * @error: Return location for error or %NULL.
3155 *
3156 * Get the 'TD SCDMA System Info' field from @self.
3157 *
3158 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
3159 *
3160 * Since: 1.0
3161 * Deprecated: 1.30. Use qmi_message_nas_get_system_info_output_get_td_scdma_system_info_v2() instead.
3162 */
3163 G_DEPRECATED_FOR (qmi_message_nas_get_system_info_output_get_td_scdma_system_info_v2)
3164 gboolean qmi_message_nas_get_system_info_output_get_td_scdma_system_info (
3165 QmiMessageNasGetSystemInfoOutput *self,
3166 gboolean *value_td_scdma_system_info_domain_valid,
3167 QmiNasNetworkServiceDomain *value_td_scdma_system_info_domain,
3168 gboolean *value_td_scdma_system_info_service_capability_valid,
3169 QmiNasNetworkServiceDomain *value_td_scdma_system_info_service_capability,
3170 gboolean *value_td_scdma_system_info_roaming_status_valid,
3171 QmiNasRoamingStatus *value_td_scdma_system_info_roaming_status,
3172 gboolean *value_td_scdma_system_info_forbidden_valid,
3173 gboolean *value_td_scdma_system_info_forbidden,
3174 gboolean *value_td_scdma_system_info_lac_valid,
3175 guint16 *value_td_scdma_system_info_lac,
3176 gboolean *value_td_scdma_system_info_cid_valid,
3177 guint32 *value_td_scdma_system_info_cid,
3178 gboolean *value_td_scdma_system_info_registration_reject_info_valid,
3179 QmiNasNetworkServiceDomain *value_td_scdma_system_info_registration_reject_domain,
3180 guint8 *value_td_scdma_system_info_registration_reject_cause,
3181 gboolean *value_td_scdma_system_info_network_id_valid,
3182 const gchar **value_td_scdma_system_info_mcc,
3183 const gchar **value_td_scdma_system_info_mnc,
3184 gboolean *value_td_scdma_system_info_hs_call_status_valid,
3185 QmiNasWcdmaHsService *value_td_scdma_system_info_hs_call_status,
3186 gboolean *value_td_scdma_system_info_hs_service_valid,
3187 QmiNasWcdmaHsService *value_td_scdma_system_info_hs_service,
3188 gboolean *value_td_scdma_system_info_cell_parameter_id_valid,
3189 guint16 *value_td_scdma_system_info_cell_parameter_id,
3190 gboolean *value_td_scdma_system_info_cell_broadcast_support_valid,
3191 QmiNasCellBroadcastCapability *value_td_scdma_system_info_cell_broadcast_support,
3192 gboolean *value_td_scdma_system_info_cs_call_barring_status_valid,
3193 QmiNasCallBarringStatus *value_td_scdma_system_info_cs_call_barring_status,
3194 gboolean *value_td_scdma_system_info_ps_call_barring_status_valid,
3195 QmiNasCallBarringStatus *value_td_scdma_system_info_ps_call_barring_status,
3196 gboolean *value_td_scdma_system_info_cipher_domain_valid,
3197 QmiNasNetworkServiceDomain *value_td_scdma_system_info_cipher_domain,
3198 GError **error);
3199
3200 #endif /* HAVE_QMI_MESSAGE_NAS_GET_SYSTEM_INFO */
3201
3202 #if defined HAVE_QMI_INDICATION_NAS_SYSTEM_INFO
3203
3204 /**
3205 * qmi_indication_nas_system_info_output_get_gsm_system_info:
3206 * @self: a #QmiIndicationNasSystemInfoOutput.
3207 * @value_gsm_system_info_domain_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3208 * @value_gsm_system_info_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
3209 * @value_gsm_system_info_service_capability_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3210 * @value_gsm_system_info_service_capability: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
3211 * @value_gsm_system_info_roaming_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3212 * @value_gsm_system_info_roaming_status: (out): a placeholder for the output #QmiNasRoamingStatus, or %NULL if not required.
3213 * @value_gsm_system_info_forbidden_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3214 * @value_gsm_system_info_forbidden: (out): a placeholder for the output #gboolean, or %NULL if not required.
3215 * @value_gsm_system_info_lac_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3216 * @value_gsm_system_info_lac: (out): a placeholder for the output #guint16, or %NULL if not required.
3217 * @value_gsm_system_info_cid_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3218 * @value_gsm_system_info_cid: (out): a placeholder for the output #guint32, or %NULL if not required.
3219 * @value_gsm_system_info_registration_reject_info_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3220 * @value_gsm_system_info_registration_reject_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
3221 * @value_gsm_system_info_registration_reject_cause: (out): a placeholder for the output #guint8, or %NULL if not required.
3222 * @value_gsm_system_info_network_id_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3223 * @value_gsm_system_info_mcc: (out): a placeholder for the output constant string, or %NULL if not required.
3224 * @value_gsm_system_info_mnc: (out): a placeholder for the output constant string, or %NULL if not required.
3225 * @value_gsm_system_info_egprs_support_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3226 * @value_gsm_system_info_egprs_support: (out): a placeholder for the output #gboolean, or %NULL if not required.
3227 * @value_gsm_system_info_dtm_support_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3228 * @value_gsm_system_info_dtm_support: (out): a placeholder for the output #gboolean, or %NULL if not required.
3229 * @error: Return location for error or %NULL.
3230 *
3231 * Get the 'GSM System Info' field from @self.
3232 *
3233 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
3234 *
3235 * Since: 1.0
3236 * Deprecated: 1.30. Use qmi_indication_nas_system_info_output_get_gsm_system_info_v2() instead.
3237 */
3238 G_DEPRECATED_FOR (qmi_indication_nas_system_info_output_get_gsm_system_info_v2)
3239 gboolean qmi_indication_nas_system_info_output_get_gsm_system_info (
3240 QmiIndicationNasSystemInfoOutput *self,
3241 gboolean *value_gsm_system_info_domain_valid,
3242 QmiNasNetworkServiceDomain *value_gsm_system_info_domain,
3243 gboolean *value_gsm_system_info_service_capability_valid,
3244 QmiNasNetworkServiceDomain *value_gsm_system_info_service_capability,
3245 gboolean *value_gsm_system_info_roaming_status_valid,
3246 QmiNasRoamingStatus *value_gsm_system_info_roaming_status,
3247 gboolean *value_gsm_system_info_forbidden_valid,
3248 gboolean *value_gsm_system_info_forbidden,
3249 gboolean *value_gsm_system_info_lac_valid,
3250 guint16 *value_gsm_system_info_lac,
3251 gboolean *value_gsm_system_info_cid_valid,
3252 guint32 *value_gsm_system_info_cid,
3253 gboolean *value_gsm_system_info_registration_reject_info_valid,
3254 QmiNasNetworkServiceDomain *value_gsm_system_info_registration_reject_domain,
3255 guint8 *value_gsm_system_info_registration_reject_cause,
3256 gboolean *value_gsm_system_info_network_id_valid,
3257 const gchar **value_gsm_system_info_mcc,
3258 const gchar **value_gsm_system_info_mnc,
3259 gboolean *value_gsm_system_info_egprs_support_valid,
3260 gboolean *value_gsm_system_info_egprs_support,
3261 gboolean *value_gsm_system_info_dtm_support_valid,
3262 gboolean *value_gsm_system_info_dtm_support,
3263 GError **error);
3264
3265 /**
3266 * qmi_indication_nas_system_info_output_get_wcdma_system_info:
3267 * @self: a #QmiIndicationNasSystemInfoOutput.
3268 * @value_wcdma_system_info_domain_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3269 * @value_wcdma_system_info_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
3270 * @value_wcdma_system_info_service_capability_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3271 * @value_wcdma_system_info_service_capability: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
3272 * @value_wcdma_system_info_roaming_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3273 * @value_wcdma_system_info_roaming_status: (out): a placeholder for the output #QmiNasRoamingStatus, or %NULL if not required.
3274 * @value_wcdma_system_info_forbidden_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3275 * @value_wcdma_system_info_forbidden: (out): a placeholder for the output #gboolean, or %NULL if not required.
3276 * @value_wcdma_system_info_lac_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3277 * @value_wcdma_system_info_lac: (out): a placeholder for the output #guint16, or %NULL if not required.
3278 * @value_wcdma_system_info_cid_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3279 * @value_wcdma_system_info_cid: (out): a placeholder for the output #guint32, or %NULL if not required.
3280 * @value_wcdma_system_info_registration_reject_info_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3281 * @value_wcdma_system_info_registration_reject_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
3282 * @value_wcdma_system_info_registration_reject_cause: (out): a placeholder for the output #guint8, or %NULL if not required.
3283 * @value_wcdma_system_info_network_id_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3284 * @value_wcdma_system_info_mcc: (out): a placeholder for the output constant string, or %NULL if not required.
3285 * @value_wcdma_system_info_mnc: (out): a placeholder for the output constant string, or %NULL if not required.
3286 * @value_wcdma_system_info_hs_call_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3287 * @value_wcdma_system_info_hs_call_status: (out): a placeholder for the output #QmiNasWcdmaHsService, or %NULL if not required.
3288 * @value_wcdma_system_info_hs_service_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3289 * @value_wcdma_system_info_hs_service: (out): a placeholder for the output #QmiNasWcdmaHsService, or %NULL if not required.
3290 * @value_wcdma_system_info_primary_scrambling_code_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3291 * @value_wcdma_system_info_primary_scrambling_code: (out): a placeholder for the output #guint16, or %NULL if not required.
3292 * @error: Return location for error or %NULL.
3293 *
3294 * Get the 'WCDMA System Info' field from @self.
3295 *
3296 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
3297 *
3298 * Since: 1.0
3299 * Deprecated: 1.30. Use qmi_indication_nas_system_info_output_get_wcdma_system_info_v2() instead.
3300 */
3301 G_DEPRECATED_FOR (qmi_indication_nas_system_info_output_get_wcdma_system_info_v2)
3302 gboolean qmi_indication_nas_system_info_output_get_wcdma_system_info (
3303 QmiIndicationNasSystemInfoOutput *self,
3304 gboolean *value_wcdma_system_info_domain_valid,
3305 QmiNasNetworkServiceDomain *value_wcdma_system_info_domain,
3306 gboolean *value_wcdma_system_info_service_capability_valid,
3307 QmiNasNetworkServiceDomain *value_wcdma_system_info_service_capability,
3308 gboolean *value_wcdma_system_info_roaming_status_valid,
3309 QmiNasRoamingStatus *value_wcdma_system_info_roaming_status,
3310 gboolean *value_wcdma_system_info_forbidden_valid,
3311 gboolean *value_wcdma_system_info_forbidden,
3312 gboolean *value_wcdma_system_info_lac_valid,
3313 guint16 *value_wcdma_system_info_lac,
3314 gboolean *value_wcdma_system_info_cid_valid,
3315 guint32 *value_wcdma_system_info_cid,
3316 gboolean *value_wcdma_system_info_registration_reject_info_valid,
3317 QmiNasNetworkServiceDomain *value_wcdma_system_info_registration_reject_domain,
3318 guint8 *value_wcdma_system_info_registration_reject_cause,
3319 gboolean *value_wcdma_system_info_network_id_valid,
3320 const gchar **value_wcdma_system_info_mcc,
3321 const gchar **value_wcdma_system_info_mnc,
3322 gboolean *value_wcdma_system_info_hs_call_status_valid,
3323 QmiNasWcdmaHsService *value_wcdma_system_info_hs_call_status,
3324 gboolean *value_wcdma_system_info_hs_service_valid,
3325 QmiNasWcdmaHsService *value_wcdma_system_info_hs_service,
3326 gboolean *value_wcdma_system_info_primary_scrambling_code_valid,
3327 guint16 *value_wcdma_system_info_primary_scrambling_code,
3328 GError **error);
3329
3330 /**
3331 * qmi_indication_nas_system_info_output_get_lte_system_info:
3332 * @self: a #QmiIndicationNasSystemInfoOutput.
3333 * @value_lte_system_info_domain_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3334 * @value_lte_system_info_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
3335 * @value_lte_system_info_service_capability_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3336 * @value_lte_system_info_service_capability: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
3337 * @value_lte_system_info_roaming_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3338 * @value_lte_system_info_roaming_status: (out): a placeholder for the output #QmiNasRoamingStatus, or %NULL if not required.
3339 * @value_lte_system_info_forbidden_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3340 * @value_lte_system_info_forbidden: (out): a placeholder for the output #gboolean, or %NULL if not required.
3341 * @value_lte_system_info_lac_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3342 * @value_lte_system_info_lac: (out): a placeholder for the output #guint16, or %NULL if not required.
3343 * @value_lte_system_info_cid_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3344 * @value_lte_system_info_cid: (out): a placeholder for the output #guint32, or %NULL if not required.
3345 * @value_lte_system_info_registration_reject_info_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3346 * @value_lte_system_info_registration_reject_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
3347 * @value_lte_system_info_registration_reject_cause: (out): a placeholder for the output #guint8, or %NULL if not required.
3348 * @value_lte_system_info_network_id_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3349 * @value_lte_system_info_mcc: (out): a placeholder for the output constant string, or %NULL if not required.
3350 * @value_lte_system_info_mnc: (out): a placeholder for the output constant string, or %NULL if not required.
3351 * @value_lte_system_info_tac_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3352 * @value_lte_system_info_tac: (out): a placeholder for the output #guint16, or %NULL if not required.
3353 * @error: Return location for error or %NULL.
3354 *
3355 * Get the 'LTE System Info' field from @self.
3356 *
3357 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
3358 *
3359 * Since: 1.0
3360 * Deprected: 1.30. Use qmi_indication_nas_system_info_output_get_lte_system_info_v2() instead.
3361 */
3362 G_DEPRECATED_FOR (qmi_indication_nas_system_info_output_get_lte_system_info_v2)
3363 gboolean qmi_indication_nas_system_info_output_get_lte_system_info (
3364 QmiIndicationNasSystemInfoOutput *self,
3365 gboolean *value_lte_system_info_domain_valid,
3366 QmiNasNetworkServiceDomain *value_lte_system_info_domain,
3367 gboolean *value_lte_system_info_service_capability_valid,
3368 QmiNasNetworkServiceDomain *value_lte_system_info_service_capability,
3369 gboolean *value_lte_system_info_roaming_status_valid,
3370 QmiNasRoamingStatus *value_lte_system_info_roaming_status,
3371 gboolean *value_lte_system_info_forbidden_valid,
3372 gboolean *value_lte_system_info_forbidden,
3373 gboolean *value_lte_system_info_lac_valid,
3374 guint16 *value_lte_system_info_lac,
3375 gboolean *value_lte_system_info_cid_valid,
3376 guint32 *value_lte_system_info_cid,
3377 gboolean *value_lte_system_info_registration_reject_info_valid,
3378 QmiNasNetworkServiceDomain *value_lte_system_info_registration_reject_domain,
3379 guint8 *value_lte_system_info_registration_reject_cause,
3380 gboolean *value_lte_system_info_network_id_valid,
3381 const gchar **value_lte_system_info_mcc,
3382 const gchar **value_lte_system_info_mnc,
3383 gboolean *value_lte_system_info_tac_valid,
3384 guint16 *value_lte_system_info_tac,
3385 GError **error);
3386
3387 /**
3388 * qmi_indication_nas_system_info_output_get_td_scma_system_info:
3389 * @self: a #QmiIndicationNasSystemInfoOutput.
3390 * @value_td_scma_system_info_domain_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3391 * @value_td_scma_system_info_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
3392 * @value_td_scma_system_info_service_capability_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3393 * @value_td_scma_system_info_service_capability: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
3394 * @value_td_scma_system_info_roaming_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3395 * @value_td_scma_system_info_roaming_status: (out): a placeholder for the output #QmiNasRoamingStatus, or %NULL if not required.
3396 * @value_td_scma_system_info_forbidden_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3397 * @value_td_scma_system_info_forbidden: (out): a placeholder for the output #gboolean, or %NULL if not required.
3398 * @value_td_scma_system_info_lac_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3399 * @value_td_scma_system_info_lac: (out): a placeholder for the output #guint16, or %NULL if not required.
3400 * @value_td_scma_system_info_cid_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3401 * @value_td_scma_system_info_cid: (out): a placeholder for the output #guint32, or %NULL if not required.
3402 * @value_td_scma_system_info_registration_reject_info_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3403 * @value_td_scma_system_info_registration_reject_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
3404 * @value_td_scma_system_info_registration_reject_cause: (out): a placeholder for the output #guint8, or %NULL if not required.
3405 * @value_td_scma_system_info_network_id_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3406 * @value_td_scma_system_info_mcc: (out): a placeholder for the output constant string, or %NULL if not required.
3407 * @value_td_scma_system_info_mnc: (out): a placeholder for the output constant string, or %NULL if not required.
3408 * @value_td_scma_system_info_hs_call_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3409 * @value_td_scma_system_info_hs_call_status: (out): a placeholder for the output #QmiNasWcdmaHsService, or %NULL if not required.
3410 * @value_td_scma_system_info_hs_service_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3411 * @value_td_scma_system_info_hs_service: (out): a placeholder for the output #QmiNasWcdmaHsService, or %NULL if not required.
3412 * @value_td_scma_system_info_cell_parameter_id_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3413 * @value_td_scma_system_info_cell_parameter_id: (out): a placeholder for the output #guint16, or %NULL if not required.
3414 * @value_td_scma_system_info_cell_broadcast_support_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3415 * @value_td_scma_system_info_cell_broadcast_support: (out): a placeholder for the output #QmiNasCellBroadcastCapability, or %NULL if not required.
3416 * @value_td_scma_system_info_cs_call_barring_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3417 * @value_td_scma_system_info_cs_call_barring_status: (out): a placeholder for the output #QmiNasCallBarringStatus, or %NULL if not required.
3418 * @value_td_scma_system_info_ps_call_barring_status_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3419 * @value_td_scma_system_info_ps_call_barring_status: (out): a placeholder for the output #QmiNasCallBarringStatus, or %NULL if not required.
3420 * @value_td_scma_system_info_cipher_domain_valid: (out): a placeholder for the output #gboolean, or %NULL if not required.
3421 * @value_td_scma_system_info_cipher_domain: (out): a placeholder for the output #QmiNasNetworkServiceDomain, or %NULL if not required.
3422 * @error: Return location for error or %NULL.
3423 *
3424 * Get the 'TD SCMA System Info' field from @self.
3425 *
3426 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
3427 *
3428 * Since: 1.0
3429 * Deprecated: 1.30. Use qmi_indication_nas_system_info_output_get_td_scma_system_info_v2() instead.
3430 */
3431 G_DEPRECATED_FOR (qmi_indication_nas_system_info_output_get_td_scma_system_info_v2)
3432 gboolean qmi_indication_nas_system_info_output_get_td_scma_system_info (
3433 QmiIndicationNasSystemInfoOutput *self,
3434 gboolean *value_td_scma_system_info_domain_valid,
3435 QmiNasNetworkServiceDomain *value_td_scma_system_info_domain,
3436 gboolean *value_td_scma_system_info_service_capability_valid,
3437 QmiNasNetworkServiceDomain *value_td_scma_system_info_service_capability,
3438 gboolean *value_td_scma_system_info_roaming_status_valid,
3439 QmiNasRoamingStatus *value_td_scma_system_info_roaming_status,
3440 gboolean *value_td_scma_system_info_forbidden_valid,
3441 gboolean *value_td_scma_system_info_forbidden,
3442 gboolean *value_td_scma_system_info_lac_valid,
3443 guint16 *value_td_scma_system_info_lac,
3444 gboolean *value_td_scma_system_info_cid_valid,
3445 guint32 *value_td_scma_system_info_cid,
3446 gboolean *value_td_scma_system_info_registration_reject_info_valid,
3447 QmiNasNetworkServiceDomain *value_td_scma_system_info_registration_reject_domain,
3448 guint8 *value_td_scma_system_info_registration_reject_cause,
3449 gboolean *value_td_scma_system_info_network_id_valid,
3450 const gchar **value_td_scma_system_info_mcc,
3451 const gchar **value_td_scma_system_info_mnc,
3452 gboolean *value_td_scma_system_info_hs_call_status_valid,
3453 QmiNasWcdmaHsService *value_td_scma_system_info_hs_call_status,
3454 gboolean *value_td_scma_system_info_hs_service_valid,
3455 QmiNasWcdmaHsService *value_td_scma_system_info_hs_service,
3456 gboolean *value_td_scma_system_info_cell_parameter_id_valid,
3457 guint16 *value_td_scma_system_info_cell_parameter_id,
3458 gboolean *value_td_scma_system_info_cell_broadcast_support_valid,
3459 QmiNasCellBroadcastCapability *value_td_scma_system_info_cell_broadcast_support,
3460 gboolean *value_td_scma_system_info_cs_call_barring_status_valid,
3461 QmiNasCallBarringStatus *value_td_scma_system_info_cs_call_barring_status,
3462 gboolean *value_td_scma_system_info_ps_call_barring_status_valid,
3463 QmiNasCallBarringStatus *value_td_scma_system_info_ps_call_barring_status,
3464 gboolean *value_td_scma_system_info_cipher_domain_valid,
3465 QmiNasNetworkServiceDomain *value_td_scma_system_info_cipher_domain,
3466 GError **error);
3467
3468 #endif /* HAVE_QMI_INDICATION_NAS_SYSTEM_INFO */
3469
3470 #if defined HAVE_QMI_MESSAGE_NAS_SWI_GET_STATUS
3471
3472 /**
3473 * qmi_message_nas_swi_get_status_output_get_common_info:
3474 * @self: a #QmiMessageNasSwiGetStatusOutput.
3475 * @value_common_info_temperature: (out)(optional): a placeholder for the output #guint8, or %NULL if not required.
3476 * @value_common_info_modem_mode: (out)(optional): a placeholder for the output #QmiNasSwiModemMode, or %NULL if not required.
3477 * @value_common_info_system_mode: (out)(optional): a placeholder for the output #QmiNasSwiSystemMode, or %NULL if not required.
3478 * @value_common_info_ims_registration_state: (out)(optional): a placeholder for the output #QmiNasSwiImsRegState, or %NULL if not required.
3479 * @value_common_info_packet_service_state: (out)(optional): a placeholder for the output #QmiNasSwiPsState, or %NULL if not required.
3480 * @error: Return location for error or %NULL.
3481 *
3482 * Get the 'Common Info' field from @self.
3483 *
3484 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
3485 *
3486 * Since: 1.24
3487 * Deprecated: 1.30: Use qmi_message_nas_swi_get_status_output_get_common_info_v2() instead.
3488 */
3489 G_DEPRECATED_FOR (qmi_message_nas_swi_get_status_output_get_common_info_v2)
3490 gboolean qmi_message_nas_swi_get_status_output_get_common_info (
3491 QmiMessageNasSwiGetStatusOutput *self,
3492 guint8 *value_common_info_temperature,
3493 QmiNasSwiModemMode *value_common_info_modem_mode,
3494 QmiNasSwiSystemMode *value_common_info_system_mode,
3495 QmiNasSwiImsRegState *value_common_info_ims_registration_state,
3496 QmiNasSwiPsState *value_common_info_packet_service_state,
3497 GError **error);
3498
3499 #endif /* HAVE_QMI_MESSAGE_NAS_SWI_GET_STATUS */
3500
3501 #if defined HAVE_QMI_MESSAGE_NAS_SET_SYSTEM_SELECTION_PREFERENCE
3502
3503 /**
3504 * qmi_message_nas_set_system_selection_preference_input_get_mnc_pds_digit_include_status:
3505 * @self: a #QmiMessageNasSetSystemSelectionPreferenceInput.
3506 * @value_mnc_pds_digit_include_status: (out)(optional): a placeholder for the output #gboolean, or %NULL if not required.
3507 * @error: Return location for error or %NULL.
3508 *
3509 * Get the 'MNC PDS Digit Include Status' field from @self.
3510 *
3511 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
3512 *
3513 * Since: 1.0
3514 * Deprecated: 1.30: Use qmi_message_nas_set_system_selection_preference_input_get_mnc_pcs_digit_include_status() instead.
3515 */
3516 G_DEPRECATED_FOR (qmi_message_nas_set_system_selection_preference_input_get_mnc_pcs_digit_include_status)
3517 gboolean qmi_message_nas_set_system_selection_preference_input_get_mnc_pds_digit_include_status (
3518 QmiMessageNasSetSystemSelectionPreferenceInput *self,
3519 gboolean *value_mnc_pds_digit_include_status,
3520 GError **error);
3521
3522 #endif /* HAVE_QMI_MESSAGE_NAS_SET_SYSTEM_SELECTION_PREFERENCE */
3523
3524 /**
3525 * QMI_NAS_DL_BANDWIDTH_INVALID:
3526 *
3527 * Download bandwidth is invalid.
3528 *
3529 * Since: 1.16
3530 * Deprecated: 1.36: Use the correct #QMI_NAS_DL_BANDWIDTH_UNKNOWN name instead.
3531 */
3532 G_DEPRECATED typedef int QmiDeprecatedNasDLBandwidth;
3533 #define QMI_NAS_DL_BANDWIDTH_INVALID (QmiDeprecatedNasDLBandwidth) QMI_NAS_DL_BANDWIDTH_UNKNOWN
3534
3535 #if defined HAVE_QMI_MESSAGE_PDC_CONFIG_CHANGE || \
3536 defined HAVE_QMI_MESSAGE_PDC_SET_SELECTED_CONFIG || \
3537 defined HAVE_QMI_MESSAGE_PDC_GET_CONFIG_INFO
3538
3539 /**
3540 * QmiConfigTypeAndId:
3541 * @config_type: a #QmiPdcConfigurationType.
3542 * @id: a #GArray of #guint8 elements.
3543 *
3544 * A QmiConfigTypeAndId struct.
3545 *
3546 * This type is deprecated and there is no replacement as the
3547 * new methods don't require any intermediate type any more.
3548 *
3549 * Since: 1.18
3550 * Deprecated: 1.32
3551 */
3552 typedef struct _QmiDeprecatedConfigTypeAndId {
3553 QmiPdcConfigurationType config_type;
3554 GArray *id;
3555 } QmiDeprecatedConfigTypeAndId;
3556 G_DEPRECATED
3557 typedef QmiDeprecatedConfigTypeAndId QmiConfigTypeAndId;
3558
3559 #endif /* HAVE_QMI_MESSAGE_PDC_CONFIG_CHANGE
3560 * HAVE_QMI_MESSAGE_PDC_SET_SELECTED_CONFIG
3561 * HAVE_QMI_MESSAGE_PDC_GET_CONFIG_INFO */
3562
3563 #if defined HAVE_QMI_MESSAGE_PDC_CONFIG_CHANGE
3564
3565 /**
3566 * qmi_message_pdc_config_change_input_get_type_with_id:
3567 * @self: a #QmiMessagePdcConfigChangeInput.
3568 * @value_type_with_id: (out)(optional)(transfer none): a placeholder for the output constant #QmiConfigTypeAndId, or %NULL if not required.
3569 * @error: Return location for error or %NULL.
3570 *
3571 * Get the 'Type With Id' field from @self.
3572 *
3573 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
3574 *
3575 * Since: 1.18
3576 * Deprecated: 1.32: Use qmi_message_pdc_config_change_input_get_type_with_id_v2() instead.
3577 */
3578 G_DEPRECATED_FOR (qmi_message_pdc_config_change_input_get_type_with_id_v2)
3579 gboolean qmi_message_pdc_config_change_input_get_type_with_id (
3580 QmiMessagePdcConfigChangeInput *self,
3581 QmiDeprecatedConfigTypeAndId *value_type_with_id,
3582 GError **error);
3583
3584 /**
3585 * qmi_message_pdc_config_change_input_set_type_with_id:
3586 * @self: a #QmiMessagePdcConfigChangeInput.
3587 * @value_type_with_id: the address of the #QmiConfigTypeAndId to set.
3588 * @error: Return location for error or %NULL.
3589 *
3590 * Set the 'Type With Id' field in the message.
3591 *
3592 * Returns: (skip): %TRUE if @value was successfully set, %FALSE otherwise.
3593 *
3594 * Since: 1.18
3595 * Deprecated: 1.32: Use qmi_message_pdc_config_change_input_set_type_with_id_v2() instead.
3596 */
3597 G_DEPRECATED_FOR (qmi_message_pdc_config_change_input_set_type_with_id_v2)
3598 gboolean qmi_message_pdc_config_change_input_set_type_with_id (
3599 QmiMessagePdcConfigChangeInput *self,
3600 const QmiDeprecatedConfigTypeAndId *value_type_with_id,
3601 GError **error);
3602
3603 /**
3604 * qmi_message_pdc_config_change_output_get_type_with_id:
3605 * @self: a #QmiMessagePdcConfigChangeOutput.
3606 * @value_type_with_id: (out)(optional)(transfer none): a placeholder for the output constant #QmiConfigTypeAndId, or %NULL if not required.
3607 * @error: Return location for error or %NULL.
3608 *
3609 * Get the 'Type With Id' field from @self.
3610 *
3611 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
3612 *
3613 * Since: 1.18
3614 * Deprecated: 1.32: Use qmi_message_pdc_config_change_output_get_type_with_id_v2() instead.
3615 */
3616 G_DEPRECATED_FOR (qmi_message_pdc_config_change_output_get_type_with_id_v2)
3617 gboolean qmi_message_pdc_config_change_output_get_type_with_id (
3618 QmiMessagePdcConfigChangeOutput *self,
3619 QmiDeprecatedConfigTypeAndId *value_type_with_id,
3620 GError **error);
3621
3622 #endif /* HAVE_QMI_MESSAGE_PDC_CONFIG_CHANGE */
3623
3624 #if defined HAVE_QMI_MESSAGE_PDC_SET_SELECTED_CONFIG
3625
3626 /**
3627 * qmi_message_pdc_set_selected_config_input_get_type_with_id:
3628 * @self: a #QmiMessagePdcSetSelectedConfigInput.
3629 * @value_type_with_id: (out)(optional)(transfer none): a placeholder for the output constant #QmiConfigTypeAndId, or %NULL if not required.
3630 * @error: Return location for error or %NULL.
3631 *
3632 * Get the 'Type With Id' field from @self.
3633 *
3634 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
3635 *
3636 * Since: 1.18
3637 * Deprecated: 1.32: Use qmi_message_pdc_set_selected_config_input_get_type_with_id_v2() instead.
3638 */
3639 G_DEPRECATED_FOR (qmi_message_pdc_set_selected_config_input_get_type_with_id_v2)
3640 gboolean qmi_message_pdc_set_selected_config_input_get_type_with_id (
3641 QmiMessagePdcSetSelectedConfigInput *self,
3642 QmiDeprecatedConfigTypeAndId *value_type_with_id,
3643 GError **error);
3644
3645
3646 /**
3647 * qmi_message_pdc_set_selected_config_input_set_type_with_id:
3648 * @self: a #QmiMessagePdcSetSelectedConfigInput.
3649 * @value_type_with_id: the address of the #QmiConfigTypeAndId to set.
3650 * @error: Return location for error or %NULL.
3651 *
3652 * Set the 'Type With Id' field in the message.
3653 *
3654 * Returns: (skip): %TRUE if @value was successfully set, %FALSE otherwise.
3655 *
3656 * Since: 1.18
3657 * Deprecated: 1.32: Use qmi_message_pdc_set_selected_config_input_set_type_with_id() instead.
3658 */
3659 G_DEPRECATED_FOR (qmi_message_pdc_set_selected_config_input_set_type_with_id_v2)
3660 gboolean qmi_message_pdc_set_selected_config_input_set_type_with_id (
3661 QmiMessagePdcSetSelectedConfigInput *self,
3662 const QmiDeprecatedConfigTypeAndId *value_type_with_id,
3663 GError **error);
3664
3665 #endif /* HAVE_QMI_MESSAGE_PDC_SET_SELECTED_CONFIG */
3666
3667 #if defined HAVE_QMI_MESSAGE_PDC_GET_CONFIG_INFO
3668
3669 /**
3670 * qmi_message_pdc_get_config_info_input_get_type_with_id:
3671 * @self: a #QmiMessagePdcGetConfigInfoInput.
3672 * @value_type_with_id: (out)(optional)(transfer none): a placeholder for the output constant #QmiConfigTypeAndId, or %NULL if not required.
3673 * @error: Return location for error or %NULL.
3674 *
3675 * Get the 'Type With Id' field from @self.
3676 *
3677 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
3678 *
3679 * Since: 1.18
3680 * Deprecated: 1.32: Use qmi_message_pdc_get_config_info_input_get_type_with_id_v2() instead.
3681 */
3682 G_DEPRECATED_FOR (qmi_message_pdc_get_config_info_input_get_type_with_id_v2)
3683 gboolean qmi_message_pdc_get_config_info_input_get_type_with_id (
3684 QmiMessagePdcGetConfigInfoInput *self,
3685 QmiDeprecatedConfigTypeAndId *value_type_with_id,
3686 GError **error);
3687
3688 /**
3689 * qmi_message_pdc_get_config_info_input_set_type_with_id:
3690 * @self: a #QmiMessagePdcGetConfigInfoInput.
3691 * @value_type_with_id: the address of the #QmiConfigTypeAndId to set.
3692 * @error: Return location for error or %NULL.
3693 *
3694 * Set the 'Type With Id' field in the message.
3695 *
3696 * Returns: (skip): %TRUE if @value was successfully set, %FALSE otherwise.
3697 *
3698 * Since: 1.18
3699 * Deprecated: 1.32: Use qmi_message_pdc_get_config_info_input_set_type_with_id_v2() instead.
3700 */
3701 G_DEPRECATED_FOR (qmi_message_pdc_get_config_info_input_set_type_with_id_v2)
3702 gboolean qmi_message_pdc_get_config_info_input_set_type_with_id (
3703 QmiMessagePdcGetConfigInfoInput *self,
3704 const QmiDeprecatedConfigTypeAndId *value_type_with_id,
3705 GError **error);
3706
3707 #endif /* HAVE_QMI_MESSAGE_PDC_GET_CONFIG_INFO */
3708
3709 #if defined HAVE_QMI_MESSAGE_DMS_DELETE_STORED_IMAGE
3710
3711 /**
3712 * QmiMessageDmsDeleteStoredImageInputImage:
3713 * @type: a #QmiDmsFirmwareImageType.
3714 * @unique_id: a #GArray of #guint8 elements.
3715 * @build_id: a string.
3716 *
3717 * A QmiMessageDmsDeleteStoredImageInputImage struct.
3718 *
3719 * This type is deprecated and there is no replacement as the
3720 * new methods don't require any intermediate type any more.
3721 *
3722 * Since: 1.0
3723 * Deprecated: 1.32
3724 */
3725 typedef struct _QmiDeprecatedMessageDmsDeleteStoredImageInputImage {
3726 QmiDmsFirmwareImageType type;
3727 GArray *unique_id;
3728 gchar *build_id;
3729 } QmiDeprecatedMessageDmsDeleteStoredImageInputImage;
3730 G_DEPRECATED
3731 typedef QmiDeprecatedMessageDmsDeleteStoredImageInputImage QmiMessageDmsDeleteStoredImageInputImage;
3732
3733 /**
3734 * qmi_message_dms_delete_stored_image_input_get_image:
3735 * @self: a #QmiMessageDmsDeleteStoredImageInput.
3736 * @value_image: (out)(optional)(transfer none): a placeholder for the output constant #QmiMessageDmsDeleteStoredImageInputImage, or %NULL if not required.
3737 * @error: Return location for error or %NULL.
3738 *
3739 * Get the 'Image' field from @self.
3740 *
3741 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
3742 *
3743 * Since: 1.0
3744 * Deprecated: 1.32: Use qmi_message_dms_delete_stored_image_input_set_image_details() instead.
3745 */
3746 G_DEPRECATED_FOR (qmi_message_dms_delete_stored_image_input_get_image_details)
3747 gboolean qmi_message_dms_delete_stored_image_input_get_image (
3748 QmiMessageDmsDeleteStoredImageInput *self,
3749 QmiDeprecatedMessageDmsDeleteStoredImageInputImage *value_image,
3750 GError **error);
3751
3752
3753 /**
3754 * qmi_message_dms_delete_stored_image_input_set_image:
3755 * @self: a #QmiMessageDmsDeleteStoredImageInput.
3756 * @value_image: the address of the #QmiMessageDmsDeleteStoredImageInputImage to set.
3757 * @error: Return location for error or %NULL.
3758 *
3759 * Set the 'Image' field in the message.
3760 *
3761 * Returns: (skip): %TRUE if @value was successfully set, %FALSE otherwise.
3762 *
3763 * Since: 1.0
3764 * Deprecated: 1.32: Use qmi_message_dms_delete_stored_image_input_set_image_details() instead.
3765 */
3766 G_DEPRECATED_FOR (qmi_message_dms_delete_stored_image_input_set_image_details)
3767 gboolean qmi_message_dms_delete_stored_image_input_set_image (
3768 QmiMessageDmsDeleteStoredImageInput *self,
3769 const QmiDeprecatedMessageDmsDeleteStoredImageInputImage *value_image,
3770 GError **error);
3771
3772 #endif /* HAVE_QMI_MESSAGE_DMS_DELETE_STORED_IMAGE */
3773
3774 #if defined HAVE_QMI_MESSAGE_DMS_GET_STORED_IMAGE_INFO
3775
3776 /**
3777 * QmiMessageDmsGetStoredImageInfoInputImage:
3778 * @type: a #QmiDmsFirmwareImageType.
3779 * @unique_id: a #GArray of #guint8 elements.
3780 * @build_id: a string.
3781 *
3782 * A QmiMessageDmsGetStoredImageInfoInputImage struct.
3783 *
3784 * This type is deprecated and there is no replacement as the
3785 * new methods don't require any intermediate type any more.
3786 *
3787 * Since: 1.0
3788 * Deprecated: 1.32
3789 */
3790 typedef struct _QmiDeprecatedMessageDmsGetStoredImageInfoInputImage {
3791 QmiDmsFirmwareImageType type;
3792 GArray *unique_id;
3793 gchar *build_id;
3794 } QmiDeprecatedMessageDmsGetStoredImageInfoInputImage;
3795 G_DEPRECATED
3796 typedef QmiDeprecatedMessageDmsGetStoredImageInfoInputImage QmiMessageDmsGetStoredImageInfoInputImage;
3797
3798 /**
3799 * qmi_message_dms_get_stored_image_info_input_get_image:
3800 * @self: a #QmiMessageDmsGetStoredImageInfoInput.
3801 * @value_image: (out)(optional)(transfer none): a placeholder for the output constant #QmiMessageDmsGetStoredImageInfoInputImage, or %NULL if not required.
3802 * @error: Return location for error or %NULL.
3803 *
3804 * Get the 'Image' field from @self.
3805 *
3806 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
3807 *
3808 * Since: 1.0
3809 * Deprecated: 1.32: Use qmi_message_dms_get_stored_image_info_input_get_image_details() instead.
3810 */
3811 G_DEPRECATED_FOR (qmi_message_dms_get_stored_image_info_input_get_image_details)
3812 gboolean qmi_message_dms_get_stored_image_info_input_get_image (
3813 QmiMessageDmsGetStoredImageInfoInput *self,
3814 QmiDeprecatedMessageDmsGetStoredImageInfoInputImage *value_image,
3815 GError **error);
3816
3817 /**
3818 * qmi_message_dms_get_stored_image_info_input_set_image:
3819 * @self: a #QmiMessageDmsGetStoredImageInfoInput.
3820 * @value_image: the address of the #QmiMessageDmsGetStoredImageInfoInputImage to set.
3821 * @error: Return location for error or %NULL.
3822 *
3823 * Set the 'Image' field in the message.
3824 *
3825 * Returns: (skip): %TRUE if @value was successfully set, %FALSE otherwise.
3826 *
3827 * Since: 1.0
3828 * Deprecated: 1.32: Use qmi_message_dms_get_stored_image_info_input_set_image_details() instead.
3829 */
3830 G_DEPRECATED_FOR (qmi_message_dms_get_stored_image_info_input_set_image_details)
3831 gboolean qmi_message_dms_get_stored_image_info_input_set_image (
3832 QmiMessageDmsGetStoredImageInfoInput *self,
3833 const QmiDeprecatedMessageDmsGetStoredImageInfoInputImage *value_image,
3834 GError **error);
3835
3836 #endif /* HAVE_QMI_MESSAGE_DMS_GET_STORED_IMAGE_INFO */
3837
3838 #if defined HAVE_QMI_INDICATION_LOC_POSITION_REPORT
3839
3840 /**
3841 * QmiIndicationLocPositionReportOutputDilutionOfPrecision:
3842 * @position_dilution_of_precision: a #gfloat.
3843 * @horizontal_dilution_of_precision: a #gfloat.
3844 * @vertical_dilution_of_precision: a #gfloat.
3845 *
3846 * A QmiIndicationLocPositionReportOutputDilutionOfPrecision struct.
3847 *
3848 * This type is deprecated and there is no replacement as the
3849 * new methods don't require any intermediate type any more.
3850 *
3851 * Since: 1.22
3852 * Deprecated: 1.32
3853 */
3854 typedef struct _QmiDeprecatedIndicationLocPositionReportOutputDilutionOfPrecision {
3855 gfloat position_dilution_of_precision;
3856 gfloat horizontal_dilution_of_precision;
3857 gfloat vertical_dilution_of_precision;
3858 } QmiDeprecatedIndicationLocPositionReportOutputDilutionOfPrecision;
3859 G_DEPRECATED
3860 typedef QmiDeprecatedIndicationLocPositionReportOutputDilutionOfPrecision QmiIndicationLocPositionReportOutputDilutionOfPrecision;
3861
3862 /**
3863 * qmi_indication_loc_position_report_output_get_dilution_of_precision:
3864 * @self: a #QmiIndicationLocPositionReportOutput.
3865 * @value_dilution_of_precision: (out)(optional)(transfer none): a placeholder for the output constant #QmiIndicationLocPositionReportOutputDilutionOfPrecision, or %NULL if not required.
3866 * @error: Return location for error or %NULL.
3867 *
3868 * Get the 'Dilution of Precision' field from @self.
3869 *
3870 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
3871 *
3872 * Since: 1.22
3873 * Deprecated: 1.32: Use qmi_indication_loc_position_report_output_get_dop() instead.
3874 */
3875 G_DEPRECATED_FOR (qmi_indication_loc_position_report_output_get_dop)
3876 gboolean qmi_indication_loc_position_report_output_get_dilution_of_precision (
3877 QmiIndicationLocPositionReportOutput *self,
3878 QmiDeprecatedIndicationLocPositionReportOutputDilutionOfPrecision *value_dilution_of_precision,
3879 GError **error);
3880
3881 /**
3882 * QmiIndicationLocPositionReportOutputGpsTime:
3883 * @gps_weeks: a #guint16.
3884 * @gps_time_of_week_milliseconds: a #guint32.
3885 *
3886 * A QmiIndicationLocPositionReportOutputGpsTime struct.
3887 *
3888 * This type is deprecated and there is no replacement as the
3889 * new methods don't require any intermediate type any more.
3890 *
3891 * Since: 1.22
3892 * Deprecated: 1.32
3893 */
3894 typedef struct _QmiDeprecatedIndicationLocPositionReportOutputGpsTime {
3895 guint16 gps_weeks;
3896 guint32 gps_time_of_week_milliseconds;
3897 } QmiDeprecatedIndicationLocPositionReportOutputGpsTime;
3898 G_DEPRECATED
3899 typedef QmiDeprecatedIndicationLocPositionReportOutputGpsTime QmiIndicationLocPositionReportOutputGpsTime;
3900
3901 /**
3902 * qmi_indication_loc_position_report_output_get_gps_time:
3903 * @self: a #QmiIndicationLocPositionReportOutput.
3904 * @value_gps_time: (out)(optional)(transfer none): a placeholder for the output constant #QmiIndicationLocPositionReportOutputGpsTime, or %NULL if not required.
3905 * @error: Return location for error or %NULL.
3906 *
3907 * Get the 'GPS Time' field from @self.
3908 *
3909 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
3910 *
3911 * Since: 1.22
3912 * Deprecated: 1.32: Use qmi_indication_loc_position_report_output_get_gps_date_time() instead.
3913 */
3914 G_DEPRECATED_FOR (qmi_indication_loc_position_report_output_get_gps_date_time)
3915 gboolean qmi_indication_loc_position_report_output_get_gps_time (
3916 QmiIndicationLocPositionReportOutput *self,
3917 QmiDeprecatedIndicationLocPositionReportOutputGpsTime *value_gps_time,
3918 GError **error);
3919
3920 #endif /* HAVE_QMI_INDICATION_LOC_POSITION_REPORT */
3921
3922 #if defined HAVE_QMI_MESSAGE_UIM_GET_SLOT_STATUS
3923
3924 /**
3925 * qmi_message_uim_get_slot_status_output_get_slot_eid_information:
3926 * @self: a #QmiMessageUimGetSlotStatusOutput.
3927 * @value_slot_eid_information: (out)(optional)(element-type GArray)(transfer none): a placeholder for the output #GArray of #GArray * elements, or %NULL if not required. Do not free it, it is owned by @self.
3928 * @error: Return location for error or %NULL.
3929 *
3930 * Get the 'Slot EID Information' field from @self.
3931 *
3932 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
3933 *
3934 * Since: 1.26
3935 * Deprecated: 1.32: Use qmi_message_uim_get_slot_status_output_get_slot_eid() instead.
3936 */
3937 G_DEPRECATED_FOR (qmi_message_uim_get_slot_status_output_get_slot_eid)
3938 gboolean qmi_message_uim_get_slot_status_output_get_slot_eid_information (
3939 QmiMessageUimGetSlotStatusOutput *self,
3940 GArray **value_slot_eid_information,
3941 GError **error);
3942
3943 #endif /* HAVE_QMI_MESSAGE_UIM_GET_SLOT_STATUS */
3944
3945 #if defined HAVE_QMI_INDICATION_UIM_SLOT_STATUS
3946
3947 /**
3948 * qmi_indication_uim_slot_status_output_get_slot_eid_information:
3949 * @self: a #QmiIndicationUimSlotStatusOutput.
3950 * @value_slot_eid_information: (out)(optional)(element-type GArray)(transfer none): a placeholder for the output #GArray of #GArray * elements, or %NULL if not required. Do not free it, it is owned by @self.
3951 * @error: Return location for error or %NULL.
3952 *
3953 * Get the 'Slot EID Information' field from @self.
3954 *
3955 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
3956 *
3957 * Since: 1.26
3958 * Deprecated: 1.32: Use qmi_indication_uim_slot_status_output_get_slot_eid() instead.
3959 */
3960 G_DEPRECATED_FOR (qmi_indication_uim_slot_status_output_get_slot_eid)
3961 gboolean qmi_indication_uim_slot_status_output_get_slot_eid_information (
3962 QmiIndicationUimSlotStatusOutput *self,
3963 GArray **value_slot_eid_information,
3964 GError **error);
3965
3966 #endif /* HAVE_QMI_INDICATION_UIM_SLOT_STATUS */
3967
3968 #if defined HAVE_QMI_MESSAGE_UIM_GET_CONFIGURATION
3969
3970 /**
3971 * QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherSlotsSlotsElement:
3972 * @feature: a #QmiUimCardApplicationPersonalizationFeature.
3973 * @verify_left: a #guint8.
3974 * @unblock_left: a #guint8.
3975 *
3976 * A QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherSlotsSlotsElement struct.
3977 *
3978 * Since: 1.30
3979 * Deprecated: 1.32: Use #QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElementSlotElement instead.
3980 */
3981 G_DEPRECATED_FOR (QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherElementSlotElement)
3982 typedef struct _QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherSlotsSlotsElement {
3983 QmiUimCardApplicationPersonalizationFeature feature;
3984 guint8 verify_left;
3985 guint8 unblock_left;
3986 } QmiMessageUimGetConfigurationOutputPersonalizationStatusOtherSlotsSlotsElement;
3987
3988 /**
3989 * qmi_message_uim_get_configuration_output_get_personalization_status_other_slots:
3990 * @self: a #QmiMessageUimGetConfigurationOutput.
3991 * @value_personalization_status_other_slots: (out)(optional)(element-type GArray)(transfer none): a placeholder for the output #GArray of #GArray * elements, or %NULL if not required. Do not free it, it is owned by @self.
3992 * @error: Return location for error or %NULL.
3993 *
3994 * Get the 'Personalization Status Other Slots' field from @self.
3995 *
3996 * Returns: (skip): %TRUE if the field is found, %FALSE otherwise.
3997 *
3998 * Since: 1.30
3999 * Deprecated: 1.32: Use qmi_message_uim_get_configuration_output_get_personalization_status_other() instead.
4000 */
4001 G_DEPRECATED_FOR (qmi_message_uim_get_configuration_output_get_personalization_status_other)
4002 gboolean qmi_message_uim_get_configuration_output_get_personalization_status_other_slots (
4003 QmiMessageUimGetConfigurationOutput *self,
4004 GArray **value_personalization_status_other_slots,
4005 GError **error);
4006
4007 #endif /* HAVE_QMI_MESSAGE_UIM_GET_CONFIGURATION */
4008
4009 #if defined HAVE_QMI_INDICATION_WDS_SET_LTE_ATTACH_PDN_LIST
4010
4011 /**
4012 * qmi_indication_wds_set_lte_attach_pdn_list_output_get_result:
4013 * @self: a QmiIndicationWdsSetLteAttachPdnListOutput.
4014 * @error: Return location for error or %NULL.
4015 *
4016 * Get the result of the QMI operation.
4017 *
4018 * Returns: (skip): %TRUE if the QMI operation succeeded, %FALSE if @error is set.
4019 *
4020 * Since: 1.28
4021 * Deprecated: 1.34: This is a no-op.
4022 */
4023 G_DEPRECATED
4024 gboolean qmi_indication_wds_set_lte_attach_pdn_list_output_get_result (
4025 QmiIndicationWdsSetLteAttachPdnListOutput *self,
4026 GError **error);
4027
4028 #endif /* HAVE_QMI_INDICATION_WDS_SET_LTE_ATTACH_PDN_LIST */
4029
4030 #if defined HAVE_QMI_MESSAGE_UIM_GET_CARD_STATUS
4031
4032 /**
4033 * QmiMessageUimGetCardStatusOutputCardStatusCardsElementApplicationsElement:
4034 * @type: a #QmiUimCardApplicationType.
4035 * @state: a #QmiUimCardApplicationState.
4036 * @personalization_state: a #QmiUimCardApplicationPersonalizationState.
4037 * @personalization_feature: a #QmiUimCardApplicationPersonalizationFeature.
4038 * @personalization_retries: a #guint8.
4039 * @personalization_unblock_retries: a #guint8.
4040 * @application_identifier_value: a #GArray of #guint8 elements.
4041 * @upin_replaces_pin1: a #gboolean.
4042 * @pin1_state: a #QmiUimPinState.
4043 * @pin1_retries: a #guint8.
4044 * @puk1_retries: a #guint8.
4045 * @pin2_state: a #QmiUimPinState.
4046 * @pin2_retries: a #guint8.
4047 * @puk2_retries: a #guint8.
4048 *
4049 * A QmiMessageUimGetCardStatusOutputCardStatusCardsElementApplicationsElement struct.
4050 *
4051 * This type is binary compatible with #QmiMessageUimGetCardStatusOutputCardStatusCardsElementApplicationsElementV2
4052 * as the size and format of both structs is the same. The only thing that changed is the
4053 * representation of one of the enumeration fields.
4054 *
4055 * Since: 1.10
4056 * Deprecated: 1.34. Use #QmiMessageUimGetCardStatusOutputCardStatusCardsElementApplicationsElementV2 instead.
4057 */
4058 G_DEPRECATED_FOR (QmiMessageUimGetCardStatusOutputCardStatusCardsElementApplicationsElementV2)
4059 typedef struct _QmiMessageUimGetCardStatusOutputCardStatusCardsElementApplicationsElement {
4060 QmiUimCardApplicationType type;
4061 QmiUimCardApplicationState state;
4062 QmiUimCardApplicationPersonalizationState personalization_state;
4063 QmiUimCardApplicationPersonalizationFeature personalization_feature;
4064 guint8 personalization_retries;
4065 guint8 personalization_unblock_retries;
4066 GArray *application_identifier_value;
4067 gboolean upin_replaces_pin1;
4068 QmiUimPinState pin1_state;
4069 guint8 pin1_retries;
4070 guint8 puk1_retries;
4071 QmiUimPinState pin2_state;
4072 guint8 pin2_retries;
4073 guint8 puk2_retries;
4074 } QmiMessageUimGetCardStatusOutputCardStatusCardsElementApplicationsElement;
4075
4076 G_DEPRECATED_FOR (qmi_message_uim_get_card_status_output_card_status_cards_element_applications_element_v2_get_type)
4077 GType qmi_message_uim_get_card_status_output_card_status_cards_element_applications_element_get_type (void) G_GNUC_CONST;
4078
4079 #endif /* HAVE_QMI_MESSAGE_UIM_GET_CARD_STATUS */
4080
4081 #if defined HAVE_QMI_INDICATION_UIM_CARD_STATUS
4082
4083 /**
4084 * QmiIndicationUimCardStatusOutputCardStatusCardsElementApplicationsElement:
4085 * @type: a #QmiUimCardApplicationType.
4086 * @state: a #QmiUimCardApplicationState.
4087 * @personalization_state: a #QmiUimCardApplicationPersonalizationState.
4088 * @personalization_feature: a #QmiUimCardApplicationPersonalizationFeature.
4089 * @personalization_retries: a #guint8.
4090 * @personalization_unblock_retries: a #guint8.
4091 * @application_identifier_value: a #GArray of #guint8 elements.
4092 * @upin_replaces_pin1: a #gboolean.
4093 * @pin1_state: a #QmiUimPinState.
4094 * @pin1_retries: a #guint8.
4095 * @puk1_retries: a #guint8.
4096 * @pin2_state: a #QmiUimPinState.
4097 * @pin2_retries: a #guint8.
4098 * @puk2_retries: a #guint8.
4099 *
4100 * A QmiIndicationUimCardStatusOutputCardStatusCardsElementApplicationsElement struct.
4101 *
4102 * This type is binary compatible with #QmiIndicationUimCardStatusOutputCardStatusCardsElementApplicationsElementV2
4103 * as the size and format of both structs is the same. The only thing that changed is the
4104 * representation of one of the enumeration fields.
4105 *
4106 * Since: 1.22
4107 * Deprecated: 1.34. Use #QmiIndicationUimCardStatusOutputCardStatusCardsElementApplicationsElementV2 instead.
4108 */
4109 G_DEPRECATED_FOR (QmiIndicationUimCardStatusOutputCardStatusCardsElementApplicationsElementV2)
4110 typedef struct _QmiIndicationUimCardStatusOutputCardStatusCardsElementApplicationsElement {
4111 QmiUimCardApplicationType type;
4112 QmiUimCardApplicationState state;
4113 QmiUimCardApplicationPersonalizationState personalization_state;
4114 QmiUimCardApplicationPersonalizationFeature personalization_feature;
4115 guint8 personalization_retries;
4116 guint8 personalization_unblock_retries;
4117 GArray *application_identifier_value;
4118 gboolean upin_replaces_pin1;
4119 QmiUimPinState pin1_state;
4120 guint8 pin1_retries;
4121 guint8 puk1_retries;
4122 QmiUimPinState pin2_state;
4123 guint8 pin2_retries;
4124 guint8 puk2_retries;
4125 } QmiIndicationUimCardStatusOutputCardStatusCardsElementApplicationsElement;
4126
4127 G_DEPRECATED_FOR (qmi_indication_uim_card_status_output_card_status_cards_element_applications_element_v2_get_type)
4128 GType qmi_indication_uim_card_status_output_card_status_cards_element_applications_element_get_type (void) G_GNUC_CONST;
4129
4130 #endif /* HAVE_QMI_INDICATION_UIM_CARD_STATUS */
4131
4132 #endif /* QMI_DISABLE_DEPRECATED */
4133
4134 #endif /* _LIBQMI_GLIB_QMI_COMPAT_H_ */