/usr/include/gisi-1.0/gisicomm.h is in libgisi-dev 0.1.0-2.
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 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 | /* gisicomm.h generated by valac 0.14.2, the Vala compiler, do not modify */
#ifndef __GISICOMM_H__
#define __GISICOMM_H__
#include <glib.h>
#include <stdlib.h>
#include <string.h>
#include <network.h>
#include <glib-object.h>
#include <libgisi.h>
#include <clients.h>
#include <gio/gio.h>
G_BEGIN_DECLS
#define GISI_COMM_TYPE_ERROR_CODE (gisi_comm_error_code_get_type ())
#define GISI_COMM_NETWORK_TYPE_ISI_REGSTATUS (gisi_comm_network_isi_regstatus_get_type ())
typedef struct _GIsiCommNetworkISI_RegStatus GIsiCommNetworkISI_RegStatus;
#define GISI_COMM_NETWORK_TYPE_ISI_PROVIDER (gisi_comm_network_isi_provider_get_type ())
typedef struct _GIsiCommNetworkISI_Provider GIsiCommNetworkISI_Provider;
#define GISI_COMM_TYPE_ONLINE_STATUS (gisi_comm_online_status_get_type ())
#define GISI_COMM_TYPE_MODEM_ACCESS (gisi_comm_modem_access_get_type ())
#define GISI_COMM_MODEM_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GISI_COMM_TYPE_MODEM_ACCESS, GIsiCommModemAccess))
#define GISI_COMM_MODEM_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GISI_COMM_TYPE_MODEM_ACCESS, GIsiCommModemAccessClass))
#define GISI_COMM_IS_MODEM_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GISI_COMM_TYPE_MODEM_ACCESS))
#define GISI_COMM_IS_MODEM_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GISI_COMM_TYPE_MODEM_ACCESS))
#define GISI_COMM_MODEM_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GISI_COMM_TYPE_MODEM_ACCESS, GIsiCommModemAccessClass))
typedef struct _GIsiCommModemAccess GIsiCommModemAccess;
typedef struct _GIsiCommModemAccessClass GIsiCommModemAccessClass;
typedef struct _GIsiCommModemAccessPrivate GIsiCommModemAccessPrivate;
#define GISI_COMM_TYPE_ABSTRACT_BASE_CLIENT (gisi_comm_abstract_base_client_get_type ())
#define GISI_COMM_ABSTRACT_BASE_CLIENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GISI_COMM_TYPE_ABSTRACT_BASE_CLIENT, GIsiCommAbstractBaseClient))
#define GISI_COMM_ABSTRACT_BASE_CLIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GISI_COMM_TYPE_ABSTRACT_BASE_CLIENT, GIsiCommAbstractBaseClientClass))
#define GISI_COMM_IS_ABSTRACT_BASE_CLIENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GISI_COMM_TYPE_ABSTRACT_BASE_CLIENT))
#define GISI_COMM_IS_ABSTRACT_BASE_CLIENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GISI_COMM_TYPE_ABSTRACT_BASE_CLIENT))
#define GISI_COMM_ABSTRACT_BASE_CLIENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GISI_COMM_TYPE_ABSTRACT_BASE_CLIENT, GIsiCommAbstractBaseClientClass))
typedef struct _GIsiCommAbstractBaseClient GIsiCommAbstractBaseClient;
typedef struct _GIsiCommAbstractBaseClientClass GIsiCommAbstractBaseClientClass;
#define GISI_COMM_TYPE_MTC (gisi_comm_mtc_get_type ())
#define GISI_COMM_MTC(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GISI_COMM_TYPE_MTC, GIsiCommMTC))
#define GISI_COMM_MTC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GISI_COMM_TYPE_MTC, GIsiCommMTCClass))
#define GISI_COMM_IS_MTC(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GISI_COMM_TYPE_MTC))
#define GISI_COMM_IS_MTC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GISI_COMM_TYPE_MTC))
#define GISI_COMM_MTC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GISI_COMM_TYPE_MTC, GIsiCommMTCClass))
typedef struct _GIsiCommMTC GIsiCommMTC;
typedef struct _GIsiCommMTCClass GIsiCommMTCClass;
#define GISI_COMM_TYPE_PHONE_INFO (gisi_comm_phone_info_get_type ())
#define GISI_COMM_PHONE_INFO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GISI_COMM_TYPE_PHONE_INFO, GIsiCommPhoneInfo))
#define GISI_COMM_PHONE_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GISI_COMM_TYPE_PHONE_INFO, GIsiCommPhoneInfoClass))
#define GISI_COMM_IS_PHONE_INFO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GISI_COMM_TYPE_PHONE_INFO))
#define GISI_COMM_IS_PHONE_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GISI_COMM_TYPE_PHONE_INFO))
#define GISI_COMM_PHONE_INFO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GISI_COMM_TYPE_PHONE_INFO, GIsiCommPhoneInfoClass))
typedef struct _GIsiCommPhoneInfo GIsiCommPhoneInfo;
typedef struct _GIsiCommPhoneInfoClass GIsiCommPhoneInfoClass;
#define GISI_COMM_TYPE_SIM (gisi_comm_sim_get_type ())
#define GISI_COMM_SIM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GISI_COMM_TYPE_SIM, GIsiCommSIM))
#define GISI_COMM_SIM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GISI_COMM_TYPE_SIM, GIsiCommSIMClass))
#define GISI_COMM_IS_SIM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GISI_COMM_TYPE_SIM))
#define GISI_COMM_IS_SIM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GISI_COMM_TYPE_SIM))
#define GISI_COMM_SIM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GISI_COMM_TYPE_SIM, GIsiCommSIMClass))
typedef struct _GIsiCommSIM GIsiCommSIM;
typedef struct _GIsiCommSIMClass GIsiCommSIMClass;
#define GISI_COMM_TYPE_CALL (gisi_comm_call_get_type ())
#define GISI_COMM_CALL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GISI_COMM_TYPE_CALL, GIsiCommCall))
#define GISI_COMM_CALL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GISI_COMM_TYPE_CALL, GIsiCommCallClass))
#define GISI_COMM_IS_CALL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GISI_COMM_TYPE_CALL))
#define GISI_COMM_IS_CALL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GISI_COMM_TYPE_CALL))
#define GISI_COMM_CALL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GISI_COMM_TYPE_CALL, GIsiCommCallClass))
typedef struct _GIsiCommCall GIsiCommCall;
typedef struct _GIsiCommCallClass GIsiCommCallClass;
#define GISI_COMM_TYPE_SMS (gisi_comm_sms_get_type ())
#define GISI_COMM_SMS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GISI_COMM_TYPE_SMS, GIsiCommSMS))
#define GISI_COMM_SMS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GISI_COMM_TYPE_SMS, GIsiCommSMSClass))
#define GISI_COMM_IS_SMS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GISI_COMM_TYPE_SMS))
#define GISI_COMM_IS_SMS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GISI_COMM_TYPE_SMS))
#define GISI_COMM_SMS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GISI_COMM_TYPE_SMS, GIsiCommSMSClass))
typedef struct _GIsiCommSMS GIsiCommSMS;
typedef struct _GIsiCommSMSClass GIsiCommSMSClass;
#define GISI_COMM_TYPE_SIM_AUTH (gisi_comm_sim_auth_get_type ())
#define GISI_COMM_SIM_AUTH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GISI_COMM_TYPE_SIM_AUTH, GIsiCommSIMAuth))
#define GISI_COMM_SIM_AUTH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GISI_COMM_TYPE_SIM_AUTH, GIsiCommSIMAuthClass))
#define GISI_COMM_IS_SIM_AUTH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GISI_COMM_TYPE_SIM_AUTH))
#define GISI_COMM_IS_SIM_AUTH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GISI_COMM_TYPE_SIM_AUTH))
#define GISI_COMM_SIM_AUTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GISI_COMM_TYPE_SIM_AUTH, GIsiCommSIMAuthClass))
typedef struct _GIsiCommSIMAuth GIsiCommSIMAuth;
typedef struct _GIsiCommSIMAuthClass GIsiCommSIMAuthClass;
#define GISI_COMM_TYPE_NETWORK (gisi_comm_network_get_type ())
#define GISI_COMM_NETWORK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GISI_COMM_TYPE_NETWORK, GIsiCommNetwork))
#define GISI_COMM_NETWORK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GISI_COMM_TYPE_NETWORK, GIsiCommNetworkClass))
#define GISI_COMM_IS_NETWORK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GISI_COMM_TYPE_NETWORK))
#define GISI_COMM_IS_NETWORK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GISI_COMM_TYPE_NETWORK))
#define GISI_COMM_NETWORK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GISI_COMM_TYPE_NETWORK, GIsiCommNetworkClass))
typedef struct _GIsiCommNetwork GIsiCommNetwork;
typedef struct _GIsiCommNetworkClass GIsiCommNetworkClass;
#define GISI_COMM_TYPE_SS (gisi_comm_ss_get_type ())
#define GISI_COMM_SS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GISI_COMM_TYPE_SS, GIsiCommSS))
#define GISI_COMM_SS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GISI_COMM_TYPE_SS, GIsiCommSSClass))
#define GISI_COMM_IS_SS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GISI_COMM_TYPE_SS))
#define GISI_COMM_IS_SS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GISI_COMM_TYPE_SS))
#define GISI_COMM_SS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GISI_COMM_TYPE_SS, GIsiCommSSClass))
typedef struct _GIsiCommSS GIsiCommSS;
typedef struct _GIsiCommSSClass GIsiCommSSClass;
#define GISI_COMM_TYPE_GSS (gisi_comm_gss_get_type ())
#define GISI_COMM_GSS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GISI_COMM_TYPE_GSS, GIsiCommGSS))
#define GISI_COMM_GSS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GISI_COMM_TYPE_GSS, GIsiCommGSSClass))
#define GISI_COMM_IS_GSS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GISI_COMM_TYPE_GSS))
#define GISI_COMM_IS_GSS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GISI_COMM_TYPE_GSS))
#define GISI_COMM_GSS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GISI_COMM_TYPE_GSS, GIsiCommGSSClass))
typedef struct _GIsiCommGSS GIsiCommGSS;
typedef struct _GIsiCommGSSClass GIsiCommGSSClass;
#define GISI_COMM_TYPE_GPDS (gisi_comm_gpds_get_type ())
#define GISI_COMM_GPDS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GISI_COMM_TYPE_GPDS, GIsiCommGPDS))
#define GISI_COMM_GPDS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GISI_COMM_TYPE_GPDS, GIsiCommGPDSClass))
#define GISI_COMM_IS_GPDS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GISI_COMM_TYPE_GPDS))
#define GISI_COMM_IS_GPDS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GISI_COMM_TYPE_GPDS))
#define GISI_COMM_GPDS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GISI_COMM_TYPE_GPDS, GIsiCommGPDSClass))
typedef struct _GIsiCommGPDS GIsiCommGPDS;
typedef struct _GIsiCommGPDSClass GIsiCommGPDSClass;
#define GISI_COMM_TYPE_EPOC_INFO (gisi_comm_epoc_info_get_type ())
#define GISI_COMM_EPOC_INFO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GISI_COMM_TYPE_EPOC_INFO, GIsiCommEpocInfo))
#define GISI_COMM_EPOC_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GISI_COMM_TYPE_EPOC_INFO, GIsiCommEpocInfoClass))
#define GISI_COMM_IS_EPOC_INFO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GISI_COMM_TYPE_EPOC_INFO))
#define GISI_COMM_IS_EPOC_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GISI_COMM_TYPE_EPOC_INFO))
#define GISI_COMM_EPOC_INFO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GISI_COMM_TYPE_EPOC_INFO, GIsiCommEpocInfoClass))
typedef struct _GIsiCommEpocInfo GIsiCommEpocInfo;
typedef struct _GIsiCommEpocInfoClass GIsiCommEpocInfoClass;
typedef struct _GIsiCommAbstractBaseClientPrivate GIsiCommAbstractBaseClientPrivate;
typedef struct _GIsiCommMTCPrivate GIsiCommMTCPrivate;
typedef struct _GIsiCommPhoneInfoPrivate GIsiCommPhoneInfoPrivate;
typedef struct _GIsiCommSIMAuthPrivate GIsiCommSIMAuthPrivate;
typedef struct _GIsiCommSIMPrivate GIsiCommSIMPrivate;
typedef struct _GIsiCommNetworkPrivate GIsiCommNetworkPrivate;
#define GISI_COMM_NETWORK_TYPE_ISI_TIME (gisi_comm_network_isi_time_get_type ())
typedef struct _GIsiCommNetworkISI_Time GIsiCommNetworkISI_Time;
typedef struct _GIsiCommCallPrivate GIsiCommCallPrivate;
#define GISI_COMM_CALL_TYPE_ISI_CALLSTATUS (gisi_comm_call_isi_callstatus_get_type ())
typedef struct _GIsiCommCallISI_CallStatus GIsiCommCallISI_CallStatus;
typedef struct _GIsiCommSMSPrivate GIsiCommSMSPrivate;
typedef struct _GIsiCommGSSPrivate GIsiCommGSSPrivate;
typedef struct _GIsiCommSSPrivate GIsiCommSSPrivate;
#define GISI_COMM_TYPE_GPDS_HELPER (gisi_comm_gpds_helper_get_type ())
#define GISI_COMM_GPDS_HELPER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GISI_COMM_TYPE_GPDS_HELPER, GIsiCommGPDSHelper))
#define GISI_COMM_GPDS_HELPER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GISI_COMM_TYPE_GPDS_HELPER, GIsiCommGPDSHelperClass))
#define GISI_COMM_IS_GPDS_HELPER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GISI_COMM_TYPE_GPDS_HELPER))
#define GISI_COMM_IS_GPDS_HELPER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GISI_COMM_TYPE_GPDS_HELPER))
#define GISI_COMM_GPDS_HELPER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GISI_COMM_TYPE_GPDS_HELPER, GIsiCommGPDSHelperClass))
typedef struct _GIsiCommGPDSHelper GIsiCommGPDSHelper;
typedef struct _GIsiCommGPDSHelperClass GIsiCommGPDSHelperClass;
typedef struct _GIsiCommGPDSHelperPrivate GIsiCommGPDSHelperPrivate;
typedef struct _GIsiCommGPDSPrivate GIsiCommGPDSPrivate;
typedef struct _GIsiCommEpocInfoPrivate GIsiCommEpocInfoPrivate;
typedef enum {
GISI_COMM_ERROR_CODE_OK = 0xE0,
GISI_COMM_ERROR_CODE_INVALID_FORMAT = 0xE1
} GIsiCommErrorCode;
typedef void (*GIsiCommVoidResultFunc) (GIsiCommErrorCode _error_, void* user_data);
typedef void (*GIsiCommBoolResultFunc) (GIsiCommErrorCode _error_, gboolean yesOrNo, void* user_data);
typedef void (*GIsiCommStringResultFunc) (GIsiCommErrorCode _error_, const gchar* _result_, void* user_data);
typedef void (*GIsiCommIntResultFunc) (GIsiCommErrorCode _error_, gint _result_, void* user_data);
struct _GIsiCommNetworkISI_RegStatus {
guint8 status;
guint8 mode;
gchar* network;
gchar* name;
gchar* lac;
gchar* cid;
gchar* mcc;
gchar* mnc;
guint band;
gboolean egprs;
gboolean hsdpa;
gboolean hsupa;
};
typedef void (*GIsiCommIsiRegStatusResultFunc) (GIsiCommErrorCode _error_, GIsiCommNetworkISI_RegStatus* status, void* user_data);
struct _GIsiCommNetworkISI_Provider {
guint8 status;
gchar* name;
gchar* mcc;
gchar* mnc;
gint technology;
};
typedef void (*GIsiCommIsiProviderArrayResultFunc) (GIsiCommErrorCode _error_, GIsiCommNetworkISI_Provider* providers, int providers_length1, void* user_data);
typedef void (*GIsiCommMtcStatesResultFunc) (GIsiCommErrorCode _error_, guint8 current, guint8 target, void* user_data);
typedef void (*GIsiCommByteArrayResultFunc) (GIsiCommErrorCode code, guint8* array, int array_length1, void* user_data);
typedef enum {
GISI_COMM_ONLINE_STATUS_UNKNOWN,
GISI_COMM_ONLINE_STATUS_NO,
GISI_COMM_ONLINE_STATUS_YES
} GIsiCommOnlineStatus;
struct _GIsiCommModemAccess {
GTypeInstance parent_instance;
volatile int ref_count;
GIsiCommModemAccessPrivate * priv;
GIsiModem* m;
GIsiCommOnlineStatus online;
GIsiPhonetNetlink* netlink;
GIsiCommMTC* mtc;
GIsiCommPhoneInfo* info;
GIsiCommSIM* sim;
GIsiCommCall* call;
GIsiCommSMS* sms;
GIsiCommSIMAuth* simauth;
GIsiCommNetwork* net;
GIsiCommSS* ss;
GIsiCommGSS* gss;
GIsiCommGPDS* gpds;
GIsiCommEpocInfo* epoc;
guint8 state;
};
struct _GIsiCommModemAccessClass {
GTypeClass parent_class;
void (*finalize) (GIsiCommModemAccess *self);
};
struct _GIsiCommAbstractBaseClient {
GTypeInstance parent_instance;
volatile int ref_count;
GIsiCommAbstractBaseClientPrivate * priv;
gboolean reachable;
guint16 isiobj;
GIsiClient* client;
GSourceFunc cb;
gpointer cb_target;
GDestroyNotify cb_target_destroy_notify;
};
struct _GIsiCommAbstractBaseClientClass {
GTypeClass parent_class;
void (*finalize) (GIsiCommAbstractBaseClient *self);
void (*onSubsystemIsReachable) (GIsiCommAbstractBaseClient* self);
};
struct _GIsiCommMTC {
GIsiCommAbstractBaseClient parent_instance;
GIsiCommMTCPrivate * priv;
GIsiClient* ll;
guint8 state;
};
struct _GIsiCommMTCClass {
GIsiCommAbstractBaseClientClass parent_class;
};
typedef void (*GIsiCommMTCIsiCauseResultFunc) (GIsiCommErrorCode _error_, guint8 cause, void* user_data);
struct _GIsiCommPhoneInfo {
GIsiCommAbstractBaseClient parent_instance;
GIsiCommPhoneInfoPrivate * priv;
GIsiClient* ll;
};
struct _GIsiCommPhoneInfoClass {
GIsiCommAbstractBaseClientClass parent_class;
};
struct _GIsiCommSIMAuth {
GIsiCommAbstractBaseClient parent_instance;
GIsiCommSIMAuthPrivate * priv;
GIsiClient* ll;
};
struct _GIsiCommSIMAuthClass {
GIsiCommAbstractBaseClientClass parent_class;
};
struct _GIsiCommSIM {
GIsiCommAbstractBaseClient parent_instance;
GIsiCommSIMPrivate * priv;
};
struct _GIsiCommSIMClass {
GIsiCommAbstractBaseClientClass parent_class;
};
struct _GIsiCommNetwork {
GIsiCommAbstractBaseClient parent_instance;
GIsiCommNetworkPrivate * priv;
};
struct _GIsiCommNetworkClass {
GIsiCommAbstractBaseClientClass parent_class;
};
struct _GIsiCommNetworkISI_Time {
guint8 year;
guint8 mon;
guint8 mday;
guint8 hour;
guint8 min;
guint8 sec;
guint8 utc;
guint8 dst;
};
struct _GIsiCommCall {
GIsiCommAbstractBaseClient parent_instance;
GIsiCommCallPrivate * priv;
};
struct _GIsiCommCallClass {
GIsiCommAbstractBaseClientClass parent_class;
};
struct _GIsiCommCallISI_CallStatus {
guint8 id;
guint8 status;
guint8 ntype;
gchar* number;
};
struct _GIsiCommSMS {
GIsiCommAbstractBaseClient parent_instance;
GIsiCommSMSPrivate * priv;
};
struct _GIsiCommSMSClass {
GIsiCommAbstractBaseClientClass parent_class;
};
struct _GIsiCommGSS {
GIsiCommAbstractBaseClient parent_instance;
GIsiCommGSSPrivate * priv;
};
struct _GIsiCommGSSClass {
GIsiCommAbstractBaseClientClass parent_class;
};
struct _GIsiCommSS {
GIsiCommAbstractBaseClient parent_instance;
GIsiCommSSPrivate * priv;
};
struct _GIsiCommSSClass {
GIsiCommAbstractBaseClientClass parent_class;
};
struct _GIsiCommGPDSHelper {
GTypeInstance parent_instance;
volatile int ref_count;
GIsiCommGPDSHelperPrivate * priv;
GIsiCommGPDS* instance;
GSourceFunc cb;
gpointer cb_target;
GDestroyNotify cb_target_destroy_notify;
};
struct _GIsiCommGPDSHelperClass {
GTypeClass parent_class;
void (*finalize) (GIsiCommGPDSHelper *self);
};
struct _GIsiCommGPDS {
GIsiCommAbstractBaseClient parent_instance;
GIsiCommGPDSPrivate * priv;
};
struct _GIsiCommGPDSClass {
GIsiCommAbstractBaseClientClass parent_class;
};
struct _GIsiCommEpocInfo {
GTypeInstance parent_instance;
volatile int ref_count;
GIsiCommEpocInfoPrivate * priv;
};
struct _GIsiCommEpocInfoClass {
GTypeClass parent_class;
void (*finalize) (GIsiCommEpocInfo *self);
};
GType gisi_comm_error_code_get_type (void) G_GNUC_CONST;
GType gisi_comm_network_isi_regstatus_get_type (void) G_GNUC_CONST;
GIsiCommNetworkISI_RegStatus* gisi_comm_network_isi_regstatus_dup (const GIsiCommNetworkISI_RegStatus* self);
void gisi_comm_network_isi_regstatus_free (GIsiCommNetworkISI_RegStatus* self);
void gisi_comm_network_isi_regstatus_copy (const GIsiCommNetworkISI_RegStatus* self, GIsiCommNetworkISI_RegStatus* dest);
void gisi_comm_network_isi_regstatus_destroy (GIsiCommNetworkISI_RegStatus* self);
GType gisi_comm_network_isi_provider_get_type (void) G_GNUC_CONST;
GIsiCommNetworkISI_Provider* gisi_comm_network_isi_provider_dup (const GIsiCommNetworkISI_Provider* self);
void gisi_comm_network_isi_provider_free (GIsiCommNetworkISI_Provider* self);
void gisi_comm_network_isi_provider_copy (const GIsiCommNetworkISI_Provider* self, GIsiCommNetworkISI_Provider* dest);
void gisi_comm_network_isi_provider_destroy (GIsiCommNetworkISI_Provider* self);
GType gisi_comm_online_status_get_type (void) G_GNUC_CONST;
gpointer gisi_comm_modem_access_ref (gpointer instance);
void gisi_comm_modem_access_unref (gpointer instance);
GParamSpec* gisi_comm_param_spec_modem_access (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void gisi_comm_value_set_modem_access (GValue* value, gpointer v_object);
void gisi_comm_value_take_modem_access (GValue* value, gpointer v_object);
gpointer gisi_comm_value_get_modem_access (const GValue* value);
GType gisi_comm_modem_access_get_type (void) G_GNUC_CONST;
gpointer gisi_comm_abstract_base_client_ref (gpointer instance);
void gisi_comm_abstract_base_client_unref (gpointer instance);
GParamSpec* gisi_comm_param_spec_abstract_base_client (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void gisi_comm_value_set_abstract_base_client (GValue* value, gpointer v_object);
void gisi_comm_value_take_abstract_base_client (GValue* value, gpointer v_object);
gpointer gisi_comm_value_get_abstract_base_client (const GValue* value);
GType gisi_comm_abstract_base_client_get_type (void) G_GNUC_CONST;
GType gisi_comm_mtc_get_type (void) G_GNUC_CONST;
GType gisi_comm_phone_info_get_type (void) G_GNUC_CONST;
GType gisi_comm_sim_get_type (void) G_GNUC_CONST;
GType gisi_comm_call_get_type (void) G_GNUC_CONST;
GType gisi_comm_sms_get_type (void) G_GNUC_CONST;
GType gisi_comm_sim_auth_get_type (void) G_GNUC_CONST;
GType gisi_comm_network_get_type (void) G_GNUC_CONST;
GType gisi_comm_ss_get_type (void) G_GNUC_CONST;
GType gisi_comm_gss_get_type (void) G_GNUC_CONST;
GType gisi_comm_gpds_get_type (void) G_GNUC_CONST;
gpointer gisi_comm_epoc_info_ref (gpointer instance);
void gisi_comm_epoc_info_unref (gpointer instance);
GParamSpec* gisi_comm_param_spec_epoc_info (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void gisi_comm_value_set_epoc_info (GValue* value, gpointer v_object);
void gisi_comm_value_take_epoc_info (GValue* value, gpointer v_object);
gpointer gisi_comm_value_get_epoc_info (const GValue* value);
GType gisi_comm_epoc_info_get_type (void) G_GNUC_CONST;
GIsiCommModemAccess* gisi_comm_modem_access_new (const gchar* iface);
GIsiCommModemAccess* gisi_comm_modem_access_construct (GType object_type, const gchar* iface);
void gisi_comm_modem_access_connect (GIsiCommModemAccess* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean gisi_comm_modem_access_connect_finish (GIsiCommModemAccess* self, GAsyncResult* _res_);
void gisi_comm_modem_access_disconnect (GIsiCommModemAccess* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
void gisi_comm_modem_access_disconnect_finish (GIsiCommModemAccess* self, GAsyncResult* _res_);
void gisi_comm_modem_access_launch (GIsiCommModemAccess* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean gisi_comm_modem_access_launch_finish (GIsiCommModemAccess* self, GAsyncResult* _res_);
void gisi_comm_modem_access_startup (GIsiCommModemAccess* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean gisi_comm_modem_access_startup_finish (GIsiCommModemAccess* self, GAsyncResult* _res_);
void gisi_comm_modem_access_poweron (GIsiCommModemAccess* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
gboolean gisi_comm_modem_access_poweron_finish (GIsiCommModemAccess* self, GAsyncResult* _res_);
GIsiCommAbstractBaseClient* gisi_comm_abstract_base_client_construct (GType object_type);
void gisi_comm_abstract_base_client_waitUntilSubsystemIsOnline (GIsiCommAbstractBaseClient* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
void gisi_comm_abstract_base_client_waitUntilSubsystemIsOnline_finish (GIsiCommAbstractBaseClient* self, GAsyncResult* _res_);
void gisi_comm_abstract_base_client_onSubsystemIsReachable (GIsiCommAbstractBaseClient* self);
void gisi_comm_abstract_base_client_sendGenericRequest (GIsiCommAbstractBaseClient* self, guint8* req, int req_length1, GIsiCommByteArrayResultFunc cb, void* cb_target);
guint8 gisi_comm_abstract_base_client_align4 (GIsiCommAbstractBaseClient* self, guint8 size);
GIsiCommMTC* gisi_comm_mtc_new (GIsiModem* modem);
GIsiCommMTC* gisi_comm_mtc_construct (GType object_type, GIsiModem* modem);
void gisi_comm_mtc_readState (GIsiCommMTC* self, GIsiCommMtcStatesResultFunc cb, void* cb_target);
void gisi_comm_mtc_setState (GIsiCommMTC* self, gboolean on, gboolean online, GIsiCommIntResultFunc cb, void* cb_target);
void gisi_comm_mtc_startupSynq (GIsiCommMTC* self, GIsiCommVoidResultFunc cb, void* cb_target);
void gisi_comm_mtc_setPower (GIsiCommMTC* self, gboolean on, GIsiCommMTCIsiCauseResultFunc cb, void* cb_target);
GIsiCommPhoneInfo* gisi_comm_phone_info_new (GIsiModem* modem);
GIsiCommPhoneInfo* gisi_comm_phone_info_construct (GType object_type, GIsiModem* modem);
void gisi_comm_phone_info_readManufacturer (GIsiCommPhoneInfo* self, GIsiCommStringResultFunc cb, void* cb_target, GDestroyNotify cb_target_destroy_notify);
void gisi_comm_phone_info_readModel (GIsiCommPhoneInfo* self, GIsiCommStringResultFunc cb, void* cb_target, GDestroyNotify cb_target_destroy_notify);
void gisi_comm_phone_info_readSerial (GIsiCommPhoneInfo* self, GIsiCommStringResultFunc cb, void* cb_target, GDestroyNotify cb_target_destroy_notify);
void gisi_comm_phone_info_readVersion (GIsiCommPhoneInfo* self, GIsiCommStringResultFunc cb, void* cb_target, GDestroyNotify cb_target_destroy_notify);
GIsiCommSIMAuth* gisi_comm_sim_auth_new (GIsiModem* modem);
GIsiCommSIMAuth* gisi_comm_sim_auth_construct (GType object_type, GIsiModem* modem);
void gisi_comm_sim_auth_queryStatus (GIsiCommSIMAuth* self, GIsiCommIntResultFunc cb, void* cb_target, GDestroyNotify cb_target_destroy_notify);
void gisi_comm_sim_auth_sendPin (GIsiCommSIMAuth* self, const gchar* pin, GIsiCommIntResultFunc cb, void* cb_target, GDestroyNotify cb_target_destroy_notify);
void gisi_comm_sim_auth_changePin (GIsiCommSIMAuth* self, const gchar* oldpin, const gchar* newpin, GIsiCommVoidResultFunc cb, void* cb_target, GDestroyNotify cb_target_destroy_notify, GAsyncReadyCallback _callback_, gpointer _user_data_);
void gisi_comm_sim_auth_changePin_finish (GIsiCommSIMAuth* self, GAsyncResult* _res_);
GIsiCommSIM* gisi_comm_sim_new (GIsiModem* modem);
GIsiCommSIM* gisi_comm_sim_construct (GType object_type, GIsiModem* modem);
void gisi_comm_sim_readHPLMN (GIsiCommSIM* self, GIsiCommStringResultFunc cb, void* cb_target, GDestroyNotify cb_target_destroy_notify);
void gisi_comm_sim_readSPN (GIsiCommSIM* self, GIsiCommStringResultFunc cb, void* cb_target, GDestroyNotify cb_target_destroy_notify);
void gisi_comm_sim_readIMSI (GIsiCommSIM* self, GIsiCommStringResultFunc cb, void* cb_target, GDestroyNotify cb_target_destroy_notify);
GIsiCommNetwork* gisi_comm_network_new (GIsiModem* modem);
GIsiCommNetwork* gisi_comm_network_construct (GType object_type, GIsiModem* modem);
void gisi_comm_network_queryStatus (GIsiCommNetwork* self, GIsiCommIsiRegStatusResultFunc cb, void* cb_target, GDestroyNotify cb_target_destroy_notify);
void gisi_comm_network_queryStrength (GIsiCommNetwork* self, GIsiCommIntResultFunc cb, void* cb_target, GDestroyNotify cb_target_destroy_notify);
void gisi_comm_network_listProviders (GIsiCommNetwork* self, GIsiCommIsiProviderArrayResultFunc cb, void* cb_target, GDestroyNotify cb_target_destroy_notify);
void gisi_comm_network_registerAutomatic (GIsiCommNetwork* self, gboolean force, GIsiCommVoidResultFunc cb, void* cb_target, GDestroyNotify cb_target_destroy_notify);
void gisi_comm_network_registerManual (GIsiCommNetwork* self, const gchar* mcc, const gchar* mnc, GIsiCommVoidResultFunc cb, void* cb_target, GDestroyNotify cb_target_destroy_notify);
void gisi_comm_network_queryRat (GIsiCommNetwork* self, GIsiCommIntResultFunc cb, void* cb_target, GDestroyNotify cb_target_destroy_notify);
GType gisi_comm_network_isi_time_get_type (void) G_GNUC_CONST;
GIsiCommNetworkISI_Time* gisi_comm_network_isi_time_dup (const GIsiCommNetworkISI_Time* self);
void gisi_comm_network_isi_time_free (GIsiCommNetworkISI_Time* self);
GIsiCommCall* gisi_comm_call_new (GIsiModem* modem);
GIsiCommCall* gisi_comm_call_construct (GType object_type, GIsiModem* modem);
void gisi_comm_call_initiateVoiceCall (GIsiCommCall* self, const gchar* number, guint8 ntype, guint8 presentation, GIsiCommIntResultFunc cb, void* cb_target);
void gisi_comm_call_releaseVoiceCall (GIsiCommCall* self, guint8 callid, guint8 causeType, guint8 causeValue, GIsiCommVoidResultFunc cb, void* cb_target);
void gisi_comm_call_answerVoiceCall (GIsiCommCall* self, guint8 callid, GIsiCommVoidResultFunc cb, void* cb_target);
void gisi_comm_call_controlVoiceCall (GIsiCommCall* self, guint8 callid, guint8 operation, guint8 param, GIsiCommVoidResultFunc cb, void* cb_target);
void gisi_comm_call_sendTonesOnVoiceCall (GIsiCommCall* self, guint8 callid, const gchar* tones, GIsiCommVoidResultFunc cb, void* cb_target);
GType gisi_comm_call_isi_callstatus_get_type (void) G_GNUC_CONST;
GIsiCommCallISI_CallStatus* gisi_comm_call_isi_callstatus_dup (const GIsiCommCallISI_CallStatus* self);
void gisi_comm_call_isi_callstatus_free (GIsiCommCallISI_CallStatus* self);
void gisi_comm_call_isi_callstatus_copy (const GIsiCommCallISI_CallStatus* self, GIsiCommCallISI_CallStatus* dest);
void gisi_comm_call_isi_callstatus_destroy (GIsiCommCallISI_CallStatus* self);
GIsiCommSMS* gisi_comm_sms_new (GIsiModem* modem);
GIsiCommSMS* gisi_comm_sms_construct (GType object_type, GIsiModem* modem);
GIsiCommGSS* gisi_comm_gss_new (GIsiModem* modem);
GIsiCommGSS* gisi_comm_gss_construct (GType object_type, GIsiModem* modem);
GIsiCommSS* gisi_comm_ss_new (GIsiModem* modem);
GIsiCommSS* gisi_comm_ss_construct (GType object_type, GIsiModem* modem);
gpointer gisi_comm_gpds_helper_ref (gpointer instance);
void gisi_comm_gpds_helper_unref (gpointer instance);
GParamSpec* gisi_comm_param_spec_gpds_helper (const gchar* name, const gchar* nick, const gchar* blurb, GType object_type, GParamFlags flags);
void gisi_comm_value_set_gpds_helper (GValue* value, gpointer v_object);
void gisi_comm_value_take_gpds_helper (GValue* value, gpointer v_object);
gpointer gisi_comm_value_get_gpds_helper (const GValue* value);
GType gisi_comm_gpds_helper_get_type (void) G_GNUC_CONST;
GIsiCommGPDSHelper* gisi_comm_gpds_helper_new (GIsiCommGPDS* instance, GSourceFunc cb, void* cb_target);
GIsiCommGPDSHelper* gisi_comm_gpds_helper_construct (GType object_type, GIsiCommGPDS* instance, GSourceFunc cb, void* cb_target);
GIsiCommGPDS* gisi_comm_gpds_new (GIsiModem* modem);
GIsiCommGPDS* gisi_comm_gpds_construct (GType object_type, GIsiModem* modem);
void gisi_comm_gpds_activate (GIsiCommGPDS* self, const gchar* apn, const gchar* user, const gchar* pw, GIsiCommVoidResultFunc cb, void* cb_target, GAsyncReadyCallback _callback_, gpointer _user_data_);
void gisi_comm_gpds_activate_finish (GIsiCommGPDS* self, GAsyncResult* _res_);
void gisi_comm_gpds_deactivate (GIsiCommGPDS* self, GAsyncReadyCallback _callback_, gpointer _user_data_);
void gisi_comm_gpds_deactivate_finish (GIsiCommGPDS* self, GAsyncResult* _res_);
GIsiCommEpocInfo* gisi_comm_epoc_info_new (GIsiModem* modem);
GIsiCommEpocInfo* gisi_comm_epoc_info_construct (GType object_type, GIsiModem* modem);
G_END_DECLS
#endif
|