/usr/include/libqmi-glib/qmi-pbm.h is in libqmi-glib-dev 1.12.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 | /* GENERATED CODE... DO NOT EDIT */
/*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA.
*
* Copyright (C) 2012 Lanedo GmbH
* Copyright (C) 2012-2015 Aleksander Morgado <aleksander@aleksander.es>
*/
#include <glib.h>
#include <glib-object.h>
#include <gio/gio.h>
#include "qmi-enums.h"
#include "qmi-enums-pbm.h"
#include "qmi-message.h"
#include "qmi-client.h"
#ifndef __LIBQMI_GLIB_QMI_PBM__
#define __LIBQMI_GLIB_QMI_PBM__
G_BEGIN_DECLS
/*****************************************************************************/
/* REQUEST/RESPONSE: Qmi Message PBM Indication Register */
/* --- Input -- */
/**
* QmiMessagePbmIndicationRegisterInput:
*
* The #QmiMessagePbmIndicationRegisterInput structure contains private data and should only be accessed
* using the provided API.
*/
typedef struct _QmiMessagePbmIndicationRegisterInput QmiMessagePbmIndicationRegisterInput;
GType qmi_message_pbm_indication_register_input_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_MESSAGE_PBM_INDICATION_REGISTER_INPUT (qmi_message_pbm_indication_register_input_get_type ())
gboolean qmi_message_pbm_indication_register_input_get_event_registration_mask (
QmiMessagePbmIndicationRegisterInput *self,
QmiPbmEventRegistrationFlag *event_registration_mask,
GError **error);
gboolean qmi_message_pbm_indication_register_input_set_event_registration_mask (
QmiMessagePbmIndicationRegisterInput *self,
QmiPbmEventRegistrationFlag event_registration_mask,
GError **error);
QmiMessagePbmIndicationRegisterInput *qmi_message_pbm_indication_register_input_ref (QmiMessagePbmIndicationRegisterInput *self);
void qmi_message_pbm_indication_register_input_unref (QmiMessagePbmIndicationRegisterInput *self);
QmiMessagePbmIndicationRegisterInput *qmi_message_pbm_indication_register_input_new (void);
/* --- Output -- */
/**
* QmiMessagePbmIndicationRegisterOutput:
*
* The #QmiMessagePbmIndicationRegisterOutput structure contains private data and should only be accessed
* using the provided API.
*/
typedef struct _QmiMessagePbmIndicationRegisterOutput QmiMessagePbmIndicationRegisterOutput;
GType qmi_message_pbm_indication_register_output_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_MESSAGE_PBM_INDICATION_REGISTER_OUTPUT (qmi_message_pbm_indication_register_output_get_type ())
gboolean qmi_message_pbm_indication_register_output_get_result (
QmiMessagePbmIndicationRegisterOutput *self,
GError **error);
gboolean qmi_message_pbm_indication_register_output_get_event_registration_mask (
QmiMessagePbmIndicationRegisterOutput *self,
QmiPbmEventRegistrationFlag *event_registration_mask,
GError **error);
QmiMessagePbmIndicationRegisterOutput *qmi_message_pbm_indication_register_output_ref (QmiMessagePbmIndicationRegisterOutput *self);
void qmi_message_pbm_indication_register_output_unref (QmiMessagePbmIndicationRegisterOutput *self);
/*****************************************************************************/
/* REQUEST/RESPONSE: Qmi Message PBM Get Capabilities */
/* --- Input -- */
/**
* QmiMessagePbmGetCapabilitiesInput:
*
* The #QmiMessagePbmGetCapabilitiesInput structure contains private data and should only be accessed
* using the provided API.
*/
typedef struct _QmiMessagePbmGetCapabilitiesInput QmiMessagePbmGetCapabilitiesInput;
GType qmi_message_pbm_get_capabilities_input_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_MESSAGE_PBM_GET_CAPABILITIES_INPUT (qmi_message_pbm_get_capabilities_input_get_type ())
gboolean qmi_message_pbm_get_capabilities_input_get_phonebook_information (
QmiMessagePbmGetCapabilitiesInput *self,
QmiPbmSessionType *phonebook_information_session_type,
QmiPbmPhonebookType *phonebook_information_phonebook_type,
GError **error);
gboolean qmi_message_pbm_get_capabilities_input_set_phonebook_information (
QmiMessagePbmGetCapabilitiesInput *self,
QmiPbmSessionType phonebook_information_session_type,
QmiPbmPhonebookType phonebook_information_phonebook_type,
GError **error);
QmiMessagePbmGetCapabilitiesInput *qmi_message_pbm_get_capabilities_input_ref (QmiMessagePbmGetCapabilitiesInput *self);
void qmi_message_pbm_get_capabilities_input_unref (QmiMessagePbmGetCapabilitiesInput *self);
QmiMessagePbmGetCapabilitiesInput *qmi_message_pbm_get_capabilities_input_new (void);
/* --- Output -- */
/**
* QmiMessagePbmGetCapabilitiesOutput:
*
* The #QmiMessagePbmGetCapabilitiesOutput structure contains private data and should only be accessed
* using the provided API.
*/
typedef struct _QmiMessagePbmGetCapabilitiesOutput QmiMessagePbmGetCapabilitiesOutput;
GType qmi_message_pbm_get_capabilities_output_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_MESSAGE_PBM_GET_CAPABILITIES_OUTPUT (qmi_message_pbm_get_capabilities_output_get_type ())
gboolean qmi_message_pbm_get_capabilities_output_get_result (
QmiMessagePbmGetCapabilitiesOutput *self,
GError **error);
gboolean qmi_message_pbm_get_capabilities_output_get_capability_basic_information (
QmiMessagePbmGetCapabilitiesOutput *self,
QmiPbmSessionType *capability_basic_information_session_type,
QmiPbmPhonebookType *capability_basic_information_phonebook_type,
guint16 *capability_basic_information_used_records,
guint16 *capability_basic_information_maximum_records,
guint8 *capability_basic_information_maximum_number_length,
guint8 *capability_basic_information_maximum_name_length,
GError **error);
gboolean qmi_message_pbm_get_capabilities_output_get_group_capability (
QmiMessagePbmGetCapabilitiesOutput *self,
guint8 *group_capability_maximum_groups,
guint8 *group_capability_maximum_group_tag_length,
GError **error);
gboolean qmi_message_pbm_get_capabilities_output_get_additional_number_capability (
QmiMessagePbmGetCapabilitiesOutput *self,
guint8 *additional_number_capability_maximum_additional_numbers,
guint8 *additional_number_capability_maximum_additional_number_length,
guint8 *additional_number_capability_maximum_additional_number_tag_length,
GError **error);
gboolean qmi_message_pbm_get_capabilities_output_get_email_capability (
QmiMessagePbmGetCapabilitiesOutput *self,
guint8 *email_capability_maximum_emails,
guint8 *email_capability_maximum_email_address_length,
GError **error);
gboolean qmi_message_pbm_get_capabilities_output_get_second_name_capability (
QmiMessagePbmGetCapabilitiesOutput *self,
guint8 *second_name_capability_maximum_second_name_length,
GError **error);
gboolean qmi_message_pbm_get_capabilities_output_get_hidden_records_capability (
QmiMessagePbmGetCapabilitiesOutput *self,
gboolean *hidden_records_capability_supported,
GError **error);
gboolean qmi_message_pbm_get_capabilities_output_get_grouping_information_alpha_string_capability (
QmiMessagePbmGetCapabilitiesOutput *self,
guint8 *grouping_information_alpha_string_capability_maximum_records,
guint8 *grouping_information_alpha_string_capability_used_records,
guint8 *grouping_information_alpha_string_capability_maximum_string_length,
GError **error);
gboolean qmi_message_pbm_get_capabilities_output_get_additional_number_alpha_string_capability (
QmiMessagePbmGetCapabilitiesOutput *self,
guint8 *additional_number_alpha_string_capability_maximum_records,
guint8 *additional_number_alpha_string_capability_used_records,
guint8 *additional_number_alpha_string_capability_maximum_string_length,
GError **error);
QmiMessagePbmGetCapabilitiesOutput *qmi_message_pbm_get_capabilities_output_ref (QmiMessagePbmGetCapabilitiesOutput *self);
void qmi_message_pbm_get_capabilities_output_unref (QmiMessagePbmGetCapabilitiesOutput *self);
/*****************************************************************************/
/* REQUEST/RESPONSE: Qmi Message PBM Get All Capabilities */
/* --- Input -- */
/* Note: no fields in the Input container */
/* --- Output -- */
/**
* QmiMessagePbmGetAllCapabilitiesOutputCapabilityBasicInformationElementPhonebooksElement:
* @phonebook_type: a #QmiPbmPhonebookType.
* @used_records: a #guint16.
* @maximum_records: a #guint16.
* @maximum_number_length: a #guint8.
* @maximum_name_length: a #guint8.
*
* A QmiMessagePbmGetAllCapabilitiesOutputCapabilityBasicInformationElementPhonebooksElement struct.
*/
typedef struct _QmiMessagePbmGetAllCapabilitiesOutputCapabilityBasicInformationElementPhonebooksElement {
QmiPbmPhonebookType phonebook_type;
guint16 used_records;
guint16 maximum_records;
guint8 maximum_number_length;
guint8 maximum_name_length;
} QmiMessagePbmGetAllCapabilitiesOutputCapabilityBasicInformationElementPhonebooksElement;
/**
* QmiMessagePbmGetAllCapabilitiesOutputCapabilityBasicInformationElement:
* @session_type: a #QmiPbmSessionType.
* @phonebooks: a #GArray of #QmiMessagePbmGetAllCapabilitiesOutputCapabilityBasicInformationElementPhonebooksElement elements.
*
* A QmiMessagePbmGetAllCapabilitiesOutputCapabilityBasicInformationElement struct.
*/
typedef struct _QmiMessagePbmGetAllCapabilitiesOutputCapabilityBasicInformationElement {
QmiPbmSessionType session_type;
GArray *phonebooks;
} QmiMessagePbmGetAllCapabilitiesOutputCapabilityBasicInformationElement;
/**
* QmiMessagePbmGetAllCapabilitiesOutputGroupCapabilityElement:
* @session_type: a #QmiPbmSessionType.
* @maximum_groups: a #guint8.
* @maximum_group_tag_length: a #guint8.
*
* A QmiMessagePbmGetAllCapabilitiesOutputGroupCapabilityElement struct.
*/
typedef struct _QmiMessagePbmGetAllCapabilitiesOutputGroupCapabilityElement {
QmiPbmSessionType session_type;
guint8 maximum_groups;
guint8 maximum_group_tag_length;
} QmiMessagePbmGetAllCapabilitiesOutputGroupCapabilityElement;
/**
* QmiMessagePbmGetAllCapabilitiesOutputAdditionalNumberCapabilityElement:
* @session_type: a #QmiPbmSessionType.
* @maximum_additional_numbers: a #guint8.
* @maximum_additional_number_length: a #guint8.
* @maximum_additional_number_tag_length: a #guint8.
*
* A QmiMessagePbmGetAllCapabilitiesOutputAdditionalNumberCapabilityElement struct.
*/
typedef struct _QmiMessagePbmGetAllCapabilitiesOutputAdditionalNumberCapabilityElement {
QmiPbmSessionType session_type;
guint8 maximum_additional_numbers;
guint8 maximum_additional_number_length;
guint8 maximum_additional_number_tag_length;
} QmiMessagePbmGetAllCapabilitiesOutputAdditionalNumberCapabilityElement;
/**
* QmiMessagePbmGetAllCapabilitiesOutputEmailCapabilityElement:
* @session_type: a #QmiPbmSessionType.
* @maximum_emails: a #guint8.
* @maximum_email_address_length: a #guint8.
*
* A QmiMessagePbmGetAllCapabilitiesOutputEmailCapabilityElement struct.
*/
typedef struct _QmiMessagePbmGetAllCapabilitiesOutputEmailCapabilityElement {
QmiPbmSessionType session_type;
guint8 maximum_emails;
guint8 maximum_email_address_length;
} QmiMessagePbmGetAllCapabilitiesOutputEmailCapabilityElement;
/**
* QmiMessagePbmGetAllCapabilitiesOutputSecondNameCapabilityElement:
* @session_type: a #QmiPbmSessionType.
* @maximum_second_name_length: a #guint8.
*
* A QmiMessagePbmGetAllCapabilitiesOutputSecondNameCapabilityElement struct.
*/
typedef struct _QmiMessagePbmGetAllCapabilitiesOutputSecondNameCapabilityElement {
QmiPbmSessionType session_type;
guint8 maximum_second_name_length;
} QmiMessagePbmGetAllCapabilitiesOutputSecondNameCapabilityElement;
/**
* QmiMessagePbmGetAllCapabilitiesOutputHiddenRecordsCapabilityElement:
* @session_type: a #QmiPbmSessionType.
* @supported: a #gboolean.
*
* A QmiMessagePbmGetAllCapabilitiesOutputHiddenRecordsCapabilityElement struct.
*/
typedef struct _QmiMessagePbmGetAllCapabilitiesOutputHiddenRecordsCapabilityElement {
QmiPbmSessionType session_type;
gboolean supported;
} QmiMessagePbmGetAllCapabilitiesOutputHiddenRecordsCapabilityElement;
/**
* QmiMessagePbmGetAllCapabilitiesOutputGroupingInformationAlphaStringCapabilityElement:
* @session_type: a #QmiPbmSessionType.
* @maximum_records: a #guint8.
* @used_records: a #guint8.
* @maximum_string_length: a #guint8.
*
* A QmiMessagePbmGetAllCapabilitiesOutputGroupingInformationAlphaStringCapabilityElement struct.
*/
typedef struct _QmiMessagePbmGetAllCapabilitiesOutputGroupingInformationAlphaStringCapabilityElement {
QmiPbmSessionType session_type;
guint8 maximum_records;
guint8 used_records;
guint8 maximum_string_length;
} QmiMessagePbmGetAllCapabilitiesOutputGroupingInformationAlphaStringCapabilityElement;
/**
* QmiMessagePbmGetAllCapabilitiesOutputAdditionalNumberAlphaStringCapabilityElement:
* @session_type: a #QmiPbmSessionType.
* @maximum_records: a #guint8.
* @used_records: a #guint8.
* @maximum_string_length: a #guint8.
*
* A QmiMessagePbmGetAllCapabilitiesOutputAdditionalNumberAlphaStringCapabilityElement struct.
*/
typedef struct _QmiMessagePbmGetAllCapabilitiesOutputAdditionalNumberAlphaStringCapabilityElement {
QmiPbmSessionType session_type;
guint8 maximum_records;
guint8 used_records;
guint8 maximum_string_length;
} QmiMessagePbmGetAllCapabilitiesOutputAdditionalNumberAlphaStringCapabilityElement;
/**
* QmiMessagePbmGetAllCapabilitiesOutput:
*
* The #QmiMessagePbmGetAllCapabilitiesOutput structure contains private data and should only be accessed
* using the provided API.
*/
typedef struct _QmiMessagePbmGetAllCapabilitiesOutput QmiMessagePbmGetAllCapabilitiesOutput;
GType qmi_message_pbm_get_all_capabilities_output_get_type (void) G_GNUC_CONST;
#define QMI_TYPE_MESSAGE_PBM_GET_ALL_CAPABILITIES_OUTPUT (qmi_message_pbm_get_all_capabilities_output_get_type ())
gboolean qmi_message_pbm_get_all_capabilities_output_get_result (
QmiMessagePbmGetAllCapabilitiesOutput *self,
GError **error);
gboolean qmi_message_pbm_get_all_capabilities_output_get_capability_basic_information (
QmiMessagePbmGetAllCapabilitiesOutput *self,
GArray **capability_basic_information,
GError **error);
gboolean qmi_message_pbm_get_all_capabilities_output_get_group_capability (
QmiMessagePbmGetAllCapabilitiesOutput *self,
GArray **group_capability,
GError **error);
gboolean qmi_message_pbm_get_all_capabilities_output_get_additional_number_capability (
QmiMessagePbmGetAllCapabilitiesOutput *self,
GArray **additional_number_capability,
GError **error);
gboolean qmi_message_pbm_get_all_capabilities_output_get_email_capability (
QmiMessagePbmGetAllCapabilitiesOutput *self,
GArray **email_capability,
GError **error);
gboolean qmi_message_pbm_get_all_capabilities_output_get_second_name_capability (
QmiMessagePbmGetAllCapabilitiesOutput *self,
GArray **second_name_capability,
GError **error);
gboolean qmi_message_pbm_get_all_capabilities_output_get_hidden_records_capability (
QmiMessagePbmGetAllCapabilitiesOutput *self,
GArray **hidden_records_capability,
GError **error);
gboolean qmi_message_pbm_get_all_capabilities_output_get_grouping_information_alpha_string_capability (
QmiMessagePbmGetAllCapabilitiesOutput *self,
GArray **grouping_information_alpha_string_capability,
GError **error);
gboolean qmi_message_pbm_get_all_capabilities_output_get_additional_number_alpha_string_capability (
QmiMessagePbmGetAllCapabilitiesOutput *self,
GArray **additional_number_alpha_string_capability,
GError **error);
QmiMessagePbmGetAllCapabilitiesOutput *qmi_message_pbm_get_all_capabilities_output_ref (QmiMessagePbmGetAllCapabilitiesOutput *self);
void qmi_message_pbm_get_all_capabilities_output_unref (QmiMessagePbmGetAllCapabilitiesOutput *self);
/*****************************************************************************/
/* Service-specific printable: PBM */
#if defined (LIBQMI_GLIB_COMPILATION)
G_GNUC_INTERNAL
gchar *__qmi_message_pbm_get_printable (
QmiMessage *self,
const gchar *line_prefix);
#endif
#if defined (LIBQMI_GLIB_COMPILATION)
G_GNUC_INTERNAL
gboolean __qmi_message_pbm_get_version_introduced (
QmiMessage *self,
guint *major,
guint *minor);
#endif
/*****************************************************************************/
/* CLIENT: QMI Client PBM */
#define QMI_TYPE_CLIENT_PBM (qmi_client_pbm_get_type ())
#define QMI_CLIENT_PBM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), QMI_TYPE_CLIENT_PBM, QmiClientPbm))
#define QMI_CLIENT_PBM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), QMI_TYPE_CLIENT_PBM, QmiClientPbmClass))
#define QMI_IS_CLIENT_PBM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), QMI_TYPE_CLIENT_PBM))
#define QMI_IS_CLIENT_PBM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), QMI_TYPE_CLIENT_PBM))
#define QMI_CLIENT_PBM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), QMI_TYPE_CLIENT_PBM, QmiClientPbmClass))
typedef struct _QmiClientPbm QmiClientPbm;
typedef struct _QmiClientPbmClass QmiClientPbmClass;
/**
* QmiClientPbm:
*
* The #QmiClientPbm structure contains private data and should only be accessed
* using the provided API.
*/
struct _QmiClientPbm {
/*< private >*/
QmiClient parent;
gpointer priv_unused;
};
struct _QmiClientPbmClass {
/*< private >*/
QmiClientClass parent;
};
GType qmi_client_pbm_get_type (void);
void qmi_client_pbm_indication_register (
QmiClientPbm *self,
QmiMessagePbmIndicationRegisterInput *input,
guint timeout,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
QmiMessagePbmIndicationRegisterOutput *qmi_client_pbm_indication_register_finish (
QmiClientPbm *self,
GAsyncResult *res,
GError **error);
void qmi_client_pbm_get_capabilities (
QmiClientPbm *self,
QmiMessagePbmGetCapabilitiesInput *input,
guint timeout,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
QmiMessagePbmGetCapabilitiesOutput *qmi_client_pbm_get_capabilities_finish (
QmiClientPbm *self,
GAsyncResult *res,
GError **error);
void qmi_client_pbm_get_all_capabilities (
QmiClientPbm *self,
gpointer unused,
guint timeout,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
QmiMessagePbmGetAllCapabilitiesOutput *qmi_client_pbm_get_all_capabilities_finish (
QmiClientPbm *self,
GAsyncResult *res,
GError **error);
G_END_DECLS
#endif /* __LIBQMI_GLIB_QMI_PBM__ */
|