/usr/include/telepathy-1.0/telepathy-glib/_gen/telepathy-enums.h is in libtelepathy-glib-dev 0.24.1-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 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 | /* Generated from telepathy-glib
*/
#ifdef __cplusplus
extern "C" {
#endif
typedef enum /*< flags >*/ {
TP_CONN_MGR_PARAM_FLAG_REQUIRED = 1,
TP_CONN_MGR_PARAM_FLAG_REGISTER = 2,
TP_CONN_MGR_PARAM_FLAG_HAS_DEFAULT = 4,
TP_CONN_MGR_PARAM_FLAG_SECRET = 8,
TP_CONN_MGR_PARAM_FLAG_DBUS_PROPERTY = 16,
} TpConnMgrParamFlags;
typedef enum {
TP_HANDLE_TYPE_NONE = 0,
TP_HANDLE_TYPE_CONTACT = 1,
TP_HANDLE_TYPE_ROOM = 2,
TP_HANDLE_TYPE_LIST = 3,
TP_HANDLE_TYPE_GROUP = 4,
} TpHandleType;
#define TP_NUM_HANDLE_TYPES (4+1)
#define NUM_TP_HANDLE_TYPES TP_NUM_HANDLE_TYPES
typedef enum {
TP_CONNECTION_STATUS_CONNECTED = 0,
TP_CONNECTION_STATUS_CONNECTING = 1,
TP_CONNECTION_STATUS_DISCONNECTED = 2,
} TpConnectionStatus;
#define TP_NUM_CONNECTION_STATUSES (2+1)
#define NUM_TP_CONNECTION_STATUSES TP_NUM_CONNECTION_STATUSES
typedef enum {
TP_CONNECTION_STATUS_REASON_NONE_SPECIFIED = 0,
TP_CONNECTION_STATUS_REASON_REQUESTED = 1,
TP_CONNECTION_STATUS_REASON_NETWORK_ERROR = 2,
TP_CONNECTION_STATUS_REASON_AUTHENTICATION_FAILED = 3,
TP_CONNECTION_STATUS_REASON_ENCRYPTION_ERROR = 4,
TP_CONNECTION_STATUS_REASON_NAME_IN_USE = 5,
TP_CONNECTION_STATUS_REASON_CERT_NOT_PROVIDED = 6,
TP_CONNECTION_STATUS_REASON_CERT_UNTRUSTED = 7,
TP_CONNECTION_STATUS_REASON_CERT_EXPIRED = 8,
TP_CONNECTION_STATUS_REASON_CERT_NOT_ACTIVATED = 9,
TP_CONNECTION_STATUS_REASON_CERT_HOSTNAME_MISMATCH = 10,
TP_CONNECTION_STATUS_REASON_CERT_FINGERPRINT_MISMATCH = 11,
TP_CONNECTION_STATUS_REASON_CERT_SELF_SIGNED = 12,
TP_CONNECTION_STATUS_REASON_CERT_OTHER_ERROR = 13,
TP_CONNECTION_STATUS_REASON_CERT_REVOKED = 14,
TP_CONNECTION_STATUS_REASON_CERT_INSECURE = 15,
TP_CONNECTION_STATUS_REASON_CERT_LIMIT_EXCEEDED = 16,
} TpConnectionStatusReason;
#define TP_NUM_CONNECTION_STATUS_REASONS (16+1)
#define NUM_TP_CONNECTION_STATUS_REASONS TP_NUM_CONNECTION_STATUS_REASONS
typedef enum /*< flags >*/ {
TP_CONNECTION_ALIAS_FLAG_USER_SET = 1,
} TpConnectionAliasFlags;
typedef enum /*< flags >*/ {
TP_ANONYMITY_MODE_CLIENT_INFO = 1,
TP_ANONYMITY_MODE_SHOW_CLIENT_INFO = 2,
TP_ANONYMITY_MODE_NETWORK_INFO = 4,
} TpAnonymityModeFlags;
typedef enum /*< flags >*/ {
TP_CONNECTION_CAPABILITY_FLAG_CREATE = 1,
TP_CONNECTION_CAPABILITY_FLAG_INVITE = 2,
} TpConnectionCapabilityFlags;
typedef enum /*< flags >*/ {
TP_CONTACT_BLOCKING_CAPABILITY_CAN_REPORT_ABUSIVE = 1,
} TpContactBlockingCapabilities;
typedef enum /*< flags >*/ {
TP_CONTACT_INFO_FLAG_CAN_SET = 1,
TP_CONTACT_INFO_FLAG_PUSH = 2,
} TpContactInfoFlags;
typedef enum /*< flags >*/ {
TP_CONTACT_INFO_FIELD_FLAG_PARAMETERS_EXACT = 1,
TP_CONTACT_INFO_FIELD_FLAG_OVERWRITTEN_BY_NICKNAME = 2,
} TpContactInfoFieldFlags;
typedef enum {
TP_CONTACT_LIST_STATE_NONE = 0,
TP_CONTACT_LIST_STATE_WAITING = 1,
TP_CONTACT_LIST_STATE_FAILURE = 2,
TP_CONTACT_LIST_STATE_SUCCESS = 3,
} TpContactListState;
#define TP_NUM_CONTACT_LIST_STATES (3+1)
#define NUM_TP_CONTACT_LIST_STATES TP_NUM_CONTACT_LIST_STATES
typedef enum {
TP_SUBSCRIPTION_STATE_UNKNOWN = 0,
TP_SUBSCRIPTION_STATE_NO = 1,
TP_SUBSCRIPTION_STATE_REMOVED_REMOTELY = 2,
TP_SUBSCRIPTION_STATE_ASK = 3,
TP_SUBSCRIPTION_STATE_YES = 4,
} TpSubscriptionState;
#define TP_NUM_SUBSCRIPTION_STATES (4+1)
#define NUM_TP_SUBSCRIPTION_STATES TP_NUM_SUBSCRIPTION_STATES
typedef enum {
TP_CONTACT_METADATA_STORAGE_TYPE_NONE = 0,
TP_CONTACT_METADATA_STORAGE_TYPE_SUBSCRIBED_OR_PENDING = 1,
TP_CONTACT_METADATA_STORAGE_TYPE_SUBSCRIBED = 2,
TP_CONTACT_METADATA_STORAGE_TYPE_ANYONE = 3,
} TpContactMetadataStorageType;
#define TP_NUM_CONTACT_METADATA_STORAGE_TYPES (3+1)
#define NUM_TP_CONTACT_METADATA_STORAGE_TYPES TP_NUM_CONTACT_METADATA_STORAGE_TYPES
typedef enum {
TP_CONNECTION_PRESENCE_TYPE_UNSET = 0,
TP_CONNECTION_PRESENCE_TYPE_OFFLINE = 1,
TP_CONNECTION_PRESENCE_TYPE_AVAILABLE = 2,
TP_CONNECTION_PRESENCE_TYPE_AWAY = 3,
TP_CONNECTION_PRESENCE_TYPE_EXTENDED_AWAY = 4,
TP_CONNECTION_PRESENCE_TYPE_HIDDEN = 5,
TP_CONNECTION_PRESENCE_TYPE_BUSY = 6,
TP_CONNECTION_PRESENCE_TYPE_UNKNOWN = 7,
TP_CONNECTION_PRESENCE_TYPE_ERROR = 8,
} TpConnectionPresenceType;
#define TP_NUM_CONNECTION_PRESENCE_TYPES (8+1)
#define NUM_TP_CONNECTION_PRESENCE_TYPES TP_NUM_CONNECTION_PRESENCE_TYPES
typedef enum {
TP_ACCESS_CONTROL_TYPE_WHITELIST = 0,
TP_ACCESS_CONTROL_TYPE_PUBLISH_LIST = 1,
TP_ACCESS_CONTROL_TYPE_GROUP = 2,
TP_ACCESS_CONTROL_TYPE_OPEN = 3,
TP_ACCESS_CONTROL_TYPE_SUBSCRIBE_OR_PUBLISH_LIST = 4,
TP_ACCESS_CONTROL_TYPE_CLOSED = 5,
TP_ACCESS_CONTROL_TYPE_NOT_UNDERSTOOD = 6,
} TpAccessControlType;
#define TP_NUM_ACCESS_CONTROL_TYPES (6+1)
#define NUM_TP_ACCESS_CONTROL_TYPES TP_NUM_ACCESS_CONTROL_TYPES
typedef enum {
TP_RICH_PRESENCE_ACCESS_CONTROL_TYPE_WHITELIST = 0,
TP_RICH_PRESENCE_ACCESS_CONTROL_TYPE_PUBLISH_LIST = 1,
TP_RICH_PRESENCE_ACCESS_CONTROL_TYPE_GROUP = 2,
TP_RICH_PRESENCE_ACCESS_CONTROL_TYPE_OPEN = 3,
} TpRichPresenceAccessControlType;
#define TP_NUM_RICH_PRESENCE_ACCESS_CONTROL_TYPES (3+1)
#define NUM_TP_RICH_PRESENCE_ACCESS_CONTROL_TYPES TP_NUM_RICH_PRESENCE_ACCESS_CONTROL_TYPES
typedef enum /*< flags >*/ {
TP_LOCATION_FEATURE_CAN_SET = 1,
} TpLocationFeatures;
typedef enum {
TP_SERVICE_POINT_TYPE_NONE = 0,
TP_SERVICE_POINT_TYPE_EMERGENCY = 1,
TP_SERVICE_POINT_TYPE_COUNSELING = 2,
} TpServicePointType;
#define TP_NUM_SERVICE_POINT_TYPES (2+1)
#define NUM_TP_SERVICE_POINT_TYPES TP_NUM_SERVICE_POINT_TYPES
typedef enum /*< flags >*/ {
TP_MAIL_NOTIFICATION_FLAG_SUPPORTS_UNREAD_MAIL_COUNT = 1,
TP_MAIL_NOTIFICATION_FLAG_SUPPORTS_UNREAD_MAILS = 2,
TP_MAIL_NOTIFICATION_FLAG_EMITS_MAILS_RECEIVED = 4,
TP_MAIL_NOTIFICATION_FLAG_SUPPORTS_REQUEST_INBOX_URL = 8,
TP_MAIL_NOTIFICATION_FLAG_SUPPORTS_REQUEST_MAIL_URL = 16,
TP_MAIL_NOTIFICATION_FLAG_THREAD_BASED = 32,
} TpMailNotificationFlags;
typedef enum {
TP_HTTP_METHOD_GET = 0,
TP_HTTP_METHOD_POST = 1,
} TpHTTPMethod;
#define TP_NUM_HTTP_METHODS (1+1)
#define NUM_TP_HTTP_METHODS TP_NUM_HTTP_METHODS
typedef enum {
TP_CALL_STATE_UNKNOWN = 0,
TP_CALL_STATE_PENDING_INITIATOR = 1,
TP_CALL_STATE_INITIALISING = 2,
TP_CALL_STATE_INITIALISED = 3,
TP_CALL_STATE_ACCEPTED = 4,
TP_CALL_STATE_ACTIVE = 5,
TP_CALL_STATE_ENDED = 6,
} TpCallState;
#define TP_NUM_CALL_STATES (6+1)
#define NUM_TP_CALL_STATES TP_NUM_CALL_STATES
typedef enum /*< flags >*/ {
TP_CALL_FLAG_LOCALLY_HELD = 1,
TP_CALL_FLAG_LOCALLY_RINGING = 2,
TP_CALL_FLAG_LOCALLY_QUEUED = 4,
TP_CALL_FLAG_FORWARDED = 8,
TP_CALL_FLAG_CLEARING = 16,
} TpCallFlags;
typedef enum {
TP_CALL_STATE_CHANGE_REASON_UNKNOWN = 0,
TP_CALL_STATE_CHANGE_REASON_PROGRESS_MADE = 1,
TP_CALL_STATE_CHANGE_REASON_USER_REQUESTED = 2,
TP_CALL_STATE_CHANGE_REASON_FORWARDED = 3,
TP_CALL_STATE_CHANGE_REASON_REJECTED = 4,
TP_CALL_STATE_CHANGE_REASON_NO_ANSWER = 5,
TP_CALL_STATE_CHANGE_REASON_INVALID_CONTACT = 6,
TP_CALL_STATE_CHANGE_REASON_PERMISSION_DENIED = 7,
TP_CALL_STATE_CHANGE_REASON_BUSY = 8,
TP_CALL_STATE_CHANGE_REASON_INTERNAL_ERROR = 9,
TP_CALL_STATE_CHANGE_REASON_SERVICE_ERROR = 10,
TP_CALL_STATE_CHANGE_REASON_NETWORK_ERROR = 11,
TP_CALL_STATE_CHANGE_REASON_MEDIA_ERROR = 12,
TP_CALL_STATE_CHANGE_REASON_CONNECTIVITY_ERROR = 13,
} TpCallStateChangeReason;
#define TP_NUM_CALL_STATE_CHANGE_REASONS (13+1)
#define NUM_TP_CALL_STATE_CHANGE_REASONS TP_NUM_CALL_STATE_CHANGE_REASONS
typedef enum /*< flags >*/ {
TP_CALL_MEMBER_FLAG_RINGING = 1,
TP_CALL_MEMBER_FLAG_HELD = 2,
TP_CALL_MEMBER_FLAG_CONFERENCE_HOST = 4,
} TpCallMemberFlags;
typedef enum {
TP_CHANNEL_CONTACT_SEARCH_STATE_NOT_STARTED = 0,
TP_CHANNEL_CONTACT_SEARCH_STATE_IN_PROGRESS = 1,
TP_CHANNEL_CONTACT_SEARCH_STATE_MORE_AVAILABLE = 2,
TP_CHANNEL_CONTACT_SEARCH_STATE_COMPLETED = 3,
TP_CHANNEL_CONTACT_SEARCH_STATE_FAILED = 4,
} TpChannelContactSearchState;
#define TP_NUM_CHANNEL_CONTACT_SEARCH_STATES (4+1)
#define NUM_TP_CHANNEL_CONTACT_SEARCH_STATES TP_NUM_CHANNEL_CONTACT_SEARCH_STATES
typedef enum {
TP_FILE_TRANSFER_STATE_NONE = 0,
TP_FILE_TRANSFER_STATE_PENDING = 1,
TP_FILE_TRANSFER_STATE_ACCEPTED = 2,
TP_FILE_TRANSFER_STATE_OPEN = 3,
TP_FILE_TRANSFER_STATE_COMPLETED = 4,
TP_FILE_TRANSFER_STATE_CANCELLED = 5,
} TpFileTransferState;
#define TP_NUM_FILE_TRANSFER_STATES (5+1)
#define NUM_TP_FILE_TRANSFER_STATES TP_NUM_FILE_TRANSFER_STATES
typedef enum {
TP_FILE_TRANSFER_STATE_CHANGE_REASON_NONE = 0,
TP_FILE_TRANSFER_STATE_CHANGE_REASON_REQUESTED = 1,
TP_FILE_TRANSFER_STATE_CHANGE_REASON_LOCAL_STOPPED = 2,
TP_FILE_TRANSFER_STATE_CHANGE_REASON_REMOTE_STOPPED = 3,
TP_FILE_TRANSFER_STATE_CHANGE_REASON_LOCAL_ERROR = 4,
TP_FILE_TRANSFER_STATE_CHANGE_REASON_REMOTE_ERROR = 5,
} TpFileTransferStateChangeReason;
#define TP_NUM_FILE_TRANSFER_STATE_CHANGE_REASONS (5+1)
#define NUM_TP_FILE_TRANSFER_STATE_CHANGE_REASONS TP_NUM_FILE_TRANSFER_STATE_CHANGE_REASONS
typedef enum {
TP_FILE_HASH_TYPE_NONE = 0,
TP_FILE_HASH_TYPE_MD5 = 1,
TP_FILE_HASH_TYPE_SHA1 = 2,
TP_FILE_HASH_TYPE_SHA256 = 3,
} TpFileHashType;
#define TP_NUM_FILE_HASH_TYPES (3+1)
#define NUM_TP_FILE_HASH_TYPES TP_NUM_FILE_HASH_TYPES
typedef enum {
TP_MEDIA_STREAM_TYPE_AUDIO = 0,
TP_MEDIA_STREAM_TYPE_VIDEO = 1,
} TpMediaStreamType;
#define TP_NUM_MEDIA_STREAM_TYPES (1+1)
#define NUM_TP_MEDIA_STREAM_TYPES TP_NUM_MEDIA_STREAM_TYPES
typedef enum {
TP_MEDIA_STREAM_STATE_DISCONNECTED = 0,
TP_MEDIA_STREAM_STATE_CONNECTING = 1,
TP_MEDIA_STREAM_STATE_CONNECTED = 2,
} TpMediaStreamState;
#define TP_NUM_MEDIA_STREAM_STATES (2+1)
#define NUM_TP_MEDIA_STREAM_STATES TP_NUM_MEDIA_STREAM_STATES
typedef enum {
TP_MEDIA_STREAM_DIRECTION_NONE = 0,
TP_MEDIA_STREAM_DIRECTION_SEND = 1,
TP_MEDIA_STREAM_DIRECTION_RECEIVE = 2,
TP_MEDIA_STREAM_DIRECTION_BIDIRECTIONAL = 3,
} TpMediaStreamDirection;
#define TP_NUM_MEDIA_STREAM_DIRECTIONS (3+1)
#define NUM_TP_MEDIA_STREAM_DIRECTIONS TP_NUM_MEDIA_STREAM_DIRECTIONS
typedef enum /*< flags >*/ {
TP_MEDIA_STREAM_PENDING_LOCAL_SEND = 1,
TP_MEDIA_STREAM_PENDING_REMOTE_SEND = 2,
} TpMediaStreamPendingSend;
typedef enum /*< flags >*/ {
TP_CHANNEL_MEDIA_CAPABILITY_AUDIO = 1,
TP_CHANNEL_MEDIA_CAPABILITY_VIDEO = 2,
TP_CHANNEL_MEDIA_CAPABILITY_NAT_TRAVERSAL_STUN = 4,
TP_CHANNEL_MEDIA_CAPABILITY_NAT_TRAVERSAL_GTALK_P2P = 8,
TP_CHANNEL_MEDIA_CAPABILITY_NAT_TRAVERSAL_ICE_UDP = 16,
TP_CHANNEL_MEDIA_CAPABILITY_IMMUTABLE_STREAMS = 32,
} TpChannelMediaCapabilities;
typedef enum {
TP_CHANNEL_TEXT_SEND_ERROR_UNKNOWN = 0,
TP_CHANNEL_TEXT_SEND_ERROR_OFFLINE = 1,
TP_CHANNEL_TEXT_SEND_ERROR_INVALID_CONTACT = 2,
TP_CHANNEL_TEXT_SEND_ERROR_PERMISSION_DENIED = 3,
TP_CHANNEL_TEXT_SEND_ERROR_TOO_LONG = 4,
TP_CHANNEL_TEXT_SEND_ERROR_NOT_IMPLEMENTED = 5,
} TpChannelTextSendError;
#define TP_NUM_CHANNEL_TEXT_SEND_ERRORS (5+1)
#define NUM_TP_CHANNEL_TEXT_SEND_ERRORS TP_NUM_CHANNEL_TEXT_SEND_ERRORS
typedef enum {
TP_CHANNEL_TEXT_MESSAGE_TYPE_NORMAL = 0,
TP_CHANNEL_TEXT_MESSAGE_TYPE_ACTION = 1,
TP_CHANNEL_TEXT_MESSAGE_TYPE_NOTICE = 2,
TP_CHANNEL_TEXT_MESSAGE_TYPE_AUTO_REPLY = 3,
TP_CHANNEL_TEXT_MESSAGE_TYPE_DELIVERY_REPORT = 4,
} TpChannelTextMessageType;
#define TP_NUM_CHANNEL_TEXT_MESSAGE_TYPES (4+1)
#define NUM_TP_CHANNEL_TEXT_MESSAGE_TYPES TP_NUM_CHANNEL_TEXT_MESSAGE_TYPES
typedef enum /*< flags >*/ {
TP_CHANNEL_TEXT_MESSAGE_FLAG_TRUNCATED = 1,
TP_CHANNEL_TEXT_MESSAGE_FLAG_NON_TEXT_CONTENT = 2,
TP_CHANNEL_TEXT_MESSAGE_FLAG_SCROLLBACK = 4,
TP_CHANNEL_TEXT_MESSAGE_FLAG_RESCUED = 8,
} TpChannelTextMessageFlags;
typedef enum {
TP_TUBE_TYPE_DBUS = 0,
TP_TUBE_TYPE_STREAM = 1,
} TpTubeType;
#define TP_NUM_TUBE_TYPES (1+1)
#define NUM_TP_TUBE_TYPES TP_NUM_TUBE_TYPES
typedef enum {
TP_TUBE_STATE_LOCAL_PENDING = 0,
TP_TUBE_STATE_REMOTE_PENDING = 1,
TP_TUBE_STATE_OPEN = 2,
} TpTubeState;
#define TP_NUM_TUBE_STATES (2+1)
#define NUM_TP_TUBE_STATES TP_NUM_TUBE_STATES
typedef enum /*< flags >*/ {
TP_CHANNEL_CALL_STATE_RINGING = 1,
TP_CHANNEL_CALL_STATE_QUEUED = 2,
TP_CHANNEL_CALL_STATE_HELD = 4,
TP_CHANNEL_CALL_STATE_FORWARDED = 8,
TP_CHANNEL_CALL_STATE_IN_PROGRESS = 16,
TP_CHANNEL_CALL_STATE_CONFERENCE_HOST = 32,
} TpChannelCallStateFlags;
typedef enum /*< flags >*/ {
TP_CAPTCHA_FLAGS_REQUIRED = 1,
} TpCaptchaFlags;
typedef enum {
TP_CAPTCHA_CANCEL_REASON_USER_CANCELLED = 0,
TP_CAPTCHA_CANCEL_REASON_NOT_SUPPORTED = 1,
TP_CAPTCHA_CANCEL_REASON_SERVICE_CONFUSED = 2,
} TpCaptchaCancelReason;
#define TP_NUM_CAPTCHA_CANCEL_REASONS (2+1)
#define NUM_TP_CAPTCHA_CANCEL_REASONS TP_NUM_CAPTCHA_CANCEL_REASONS
typedef enum {
TP_CAPTCHA_STATUS_LOCAL_PENDING = 0,
TP_CAPTCHA_STATUS_REMOTE_PENDING = 1,
TP_CAPTCHA_STATUS_SUCCEEDED = 2,
TP_CAPTCHA_STATUS_TRY_AGAIN = 3,
TP_CAPTCHA_STATUS_FAILED = 4,
} TpCaptchaStatus;
#define TP_NUM_CAPTCHA_STATUSES (4+1)
#define NUM_TP_CAPTCHA_STATUSES TP_NUM_CAPTCHA_STATUSES
typedef enum {
TP_CHANNEL_CHAT_STATE_GONE = 0,
TP_CHANNEL_CHAT_STATE_INACTIVE = 1,
TP_CHANNEL_CHAT_STATE_ACTIVE = 2,
TP_CHANNEL_CHAT_STATE_PAUSED = 3,
TP_CHANNEL_CHAT_STATE_COMPOSING = 4,
} TpChannelChatState;
#define TP_NUM_CHANNEL_CHAT_STATES (4+1)
#define NUM_TP_CHANNEL_CHAT_STATES TP_NUM_CHANNEL_CHAT_STATES
typedef enum {
TP_DTMF_EVENT_DIGIT_0 = 0,
TP_DTMF_EVENT_DIGIT_1 = 1,
TP_DTMF_EVENT_DIGIT_2 = 2,
TP_DTMF_EVENT_DIGIT_3 = 3,
TP_DTMF_EVENT_DIGIT_4 = 4,
TP_DTMF_EVENT_DIGIT_5 = 5,
TP_DTMF_EVENT_DIGIT_6 = 6,
TP_DTMF_EVENT_DIGIT_7 = 7,
TP_DTMF_EVENT_DIGIT_8 = 8,
TP_DTMF_EVENT_DIGIT_9 = 9,
TP_DTMF_EVENT_ASTERISK = 10,
TP_DTMF_EVENT_HASH = 11,
TP_DTMF_EVENT_LETTER_A = 12,
TP_DTMF_EVENT_LETTER_B = 13,
TP_DTMF_EVENT_LETTER_C = 14,
TP_DTMF_EVENT_LETTER_D = 15,
} TpDTMFEvent;
#define TP_NUM_DTMF_EVENTS (15+1)
#define NUM_TP_DTMF_EVENTS TP_NUM_DTMF_EVENTS
typedef enum /*< flags >*/ {
TP_CHANNEL_GROUP_FLAG_CAN_ADD = 1,
TP_CHANNEL_GROUP_FLAG_CAN_REMOVE = 2,
TP_CHANNEL_GROUP_FLAG_CAN_RESCIND = 4,
TP_CHANNEL_GROUP_FLAG_MESSAGE_ADD = 8,
TP_CHANNEL_GROUP_FLAG_MESSAGE_REMOVE = 16,
TP_CHANNEL_GROUP_FLAG_MESSAGE_ACCEPT = 32,
TP_CHANNEL_GROUP_FLAG_MESSAGE_REJECT = 64,
TP_CHANNEL_GROUP_FLAG_MESSAGE_RESCIND = 128,
TP_CHANNEL_GROUP_FLAG_CHANNEL_SPECIFIC_HANDLES = 256,
TP_CHANNEL_GROUP_FLAG_ONLY_ONE_GROUP = 512,
TP_CHANNEL_GROUP_FLAG_HANDLE_OWNERS_NOT_AVAILABLE = 1024,
TP_CHANNEL_GROUP_FLAG_PROPERTIES = 2048,
TP_CHANNEL_GROUP_FLAG_MEMBERS_CHANGED_DETAILED = 4096,
TP_CHANNEL_GROUP_FLAG_MESSAGE_DEPART = 8192,
} TpChannelGroupFlags;
typedef enum {
TP_CHANNEL_GROUP_CHANGE_REASON_NONE = 0,
TP_CHANNEL_GROUP_CHANGE_REASON_OFFLINE = 1,
TP_CHANNEL_GROUP_CHANGE_REASON_KICKED = 2,
TP_CHANNEL_GROUP_CHANGE_REASON_BUSY = 3,
TP_CHANNEL_GROUP_CHANGE_REASON_INVITED = 4,
TP_CHANNEL_GROUP_CHANGE_REASON_BANNED = 5,
TP_CHANNEL_GROUP_CHANGE_REASON_ERROR = 6,
TP_CHANNEL_GROUP_CHANGE_REASON_INVALID_CONTACT = 7,
TP_CHANNEL_GROUP_CHANGE_REASON_NO_ANSWER = 8,
TP_CHANNEL_GROUP_CHANGE_REASON_RENAMED = 9,
TP_CHANNEL_GROUP_CHANGE_REASON_PERMISSION_DENIED = 10,
TP_CHANNEL_GROUP_CHANGE_REASON_SEPARATED = 11,
} TpChannelGroupChangeReason;
#define TP_NUM_CHANNEL_GROUP_CHANGE_REASONS (11+1)
#define NUM_TP_CHANNEL_GROUP_CHANGE_REASONS TP_NUM_CHANNEL_GROUP_CHANGE_REASONS
typedef enum {
TP_LOCAL_HOLD_STATE_UNHELD = 0,
TP_LOCAL_HOLD_STATE_HELD = 1,
TP_LOCAL_HOLD_STATE_PENDING_HOLD = 2,
TP_LOCAL_HOLD_STATE_PENDING_UNHOLD = 3,
} TpLocalHoldState;
#define TP_NUM_LOCAL_HOLD_STATES (3+1)
#define NUM_TP_LOCAL_HOLD_STATES TP_NUM_LOCAL_HOLD_STATES
typedef enum {
TP_LOCAL_HOLD_STATE_REASON_NONE = 0,
TP_LOCAL_HOLD_STATE_REASON_REQUESTED = 1,
TP_LOCAL_HOLD_STATE_REASON_RESOURCE_NOT_AVAILABLE = 2,
} TpLocalHoldStateReason;
#define TP_NUM_LOCAL_HOLD_STATE_REASONS (2+1)
#define NUM_TP_LOCAL_HOLD_STATE_REASONS TP_NUM_LOCAL_HOLD_STATE_REASONS
typedef enum /*< flags >*/ {
TP_MESSAGE_PART_SUPPORT_FLAG_ONE_ATTACHMENT = 1,
TP_MESSAGE_PART_SUPPORT_FLAG_MULTIPLE_ATTACHMENTS = 2,
} TpMessagePartSupportFlags;
typedef enum /*< flags >*/ {
TP_MESSAGE_SENDING_FLAG_REPORT_DELIVERY = 1,
TP_MESSAGE_SENDING_FLAG_REPORT_READ = 2,
TP_MESSAGE_SENDING_FLAG_REPORT_DELETED = 4,
} TpMessageSendingFlags;
typedef enum {
TP_DELIVERY_STATUS_UNKNOWN = 0,
TP_DELIVERY_STATUS_DELIVERED = 1,
TP_DELIVERY_STATUS_TEMPORARILY_FAILED = 2,
TP_DELIVERY_STATUS_PERMANENTLY_FAILED = 3,
TP_DELIVERY_STATUS_ACCEPTED = 4,
TP_DELIVERY_STATUS_READ = 5,
TP_DELIVERY_STATUS_DELETED = 6,
} TpDeliveryStatus;
#define TP_NUM_DELIVERY_STATUSES (6+1)
#define NUM_TP_DELIVERY_STATUSES TP_NUM_DELIVERY_STATUSES
typedef enum /*< flags >*/ {
TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_FAILURES = 1,
TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_SUCCESSES = 2,
TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_READ = 4,
TP_DELIVERY_REPORTING_SUPPORT_FLAG_RECEIVE_DELETED = 8,
} TpDeliveryReportingSupportFlags;
typedef enum /*< flags >*/ {
TP_CHANNEL_PASSWORD_FLAG_PROVIDE = 8,
TP_CHANNEL_PASSWORD_FLAG_HINT = 4,
} TpChannelPasswordFlags;
typedef enum {
TP_SASL_ABORT_REASON_INVALID_CHALLENGE = 0,
TP_SASL_ABORT_REASON_USER_ABORT = 1,
} TpSASLAbortReason;
#define TP_NUM_SASL_ABORT_REASONS (1+1)
#define NUM_TP_SASL_ABORT_REASONS TP_NUM_SASL_ABORT_REASONS
typedef enum {
TP_SASL_STATUS_NOT_STARTED = 0,
TP_SASL_STATUS_IN_PROGRESS = 1,
TP_SASL_STATUS_SERVER_SUCCEEDED = 2,
TP_SASL_STATUS_CLIENT_ACCEPTED = 3,
TP_SASL_STATUS_SUCCEEDED = 4,
TP_SASL_STATUS_SERVER_FAILED = 5,
TP_SASL_STATUS_CLIENT_FAILED = 6,
} TpSASLStatus;
#define TP_NUM_SASL_STATUSES (6+1)
#define NUM_TP_SASL_STATUSES TP_NUM_SASL_STATUSES
typedef enum {
TP_TUBE_CHANNEL_STATE_LOCAL_PENDING = 0,
TP_TUBE_CHANNEL_STATE_REMOTE_PENDING = 1,
TP_TUBE_CHANNEL_STATE_OPEN = 2,
TP_TUBE_CHANNEL_STATE_NOT_OFFERED = 3,
} TpTubeChannelState;
#define TP_NUM_TUBE_CHANNEL_STATES (3+1)
#define NUM_TP_TUBE_CHANNEL_STATES TP_NUM_TUBE_CHANNEL_STATES
typedef enum {
TP_SOCKET_ADDRESS_TYPE_UNIX = 0,
TP_SOCKET_ADDRESS_TYPE_ABSTRACT_UNIX = 1,
TP_SOCKET_ADDRESS_TYPE_IPV4 = 2,
TP_SOCKET_ADDRESS_TYPE_IPV6 = 3,
} TpSocketAddressType;
#define TP_NUM_SOCKET_ADDRESS_TYPES (3+1)
#define NUM_TP_SOCKET_ADDRESS_TYPES TP_NUM_SOCKET_ADDRESS_TYPES
typedef enum {
TP_SOCKET_ACCESS_CONTROL_LOCALHOST = 0,
TP_SOCKET_ACCESS_CONTROL_PORT = 1,
TP_SOCKET_ACCESS_CONTROL_NETMASK = 2,
TP_SOCKET_ACCESS_CONTROL_CREDENTIALS = 3,
} TpSocketAccessControl;
#define TP_NUM_SOCKET_ACCESS_CONTROLS (3+1)
#define NUM_TP_SOCKET_ACCESS_CONTROLS TP_NUM_SOCKET_ACCESS_CONTROLS
typedef enum {
TP_MEDIA_STREAM_ERROR_UNKNOWN = 0,
TP_MEDIA_STREAM_ERROR_EOS = 1,
TP_MEDIA_STREAM_ERROR_CODEC_NEGOTIATION_FAILED = 2,
TP_MEDIA_STREAM_ERROR_CONNECTION_FAILED = 3,
TP_MEDIA_STREAM_ERROR_NETWORK_ERROR = 4,
TP_MEDIA_STREAM_ERROR_NO_CODECS = 5,
TP_MEDIA_STREAM_ERROR_INVALID_CM_BEHAVIOR = 6,
TP_MEDIA_STREAM_ERROR_MEDIA_ERROR = 7,
} TpMediaStreamError;
#define TP_NUM_MEDIA_STREAM_ERRORS (7+1)
#define NUM_TP_MEDIA_STREAM_ERRORS TP_NUM_MEDIA_STREAM_ERRORS
typedef enum {
TP_MEDIA_STREAM_BASE_PROTO_UDP = 0,
TP_MEDIA_STREAM_BASE_PROTO_TCP = 1,
} TpMediaStreamBaseProto;
#define TP_NUM_MEDIA_STREAM_BASE_PROTOS (1+1)
#define NUM_TP_MEDIA_STREAM_BASE_PROTOS TP_NUM_MEDIA_STREAM_BASE_PROTOS
typedef enum {
TP_MEDIA_STREAM_TRANSPORT_TYPE_LOCAL = 0,
TP_MEDIA_STREAM_TRANSPORT_TYPE_DERIVED = 1,
TP_MEDIA_STREAM_TRANSPORT_TYPE_RELAY = 2,
} TpMediaStreamTransportType;
#define TP_NUM_MEDIA_STREAM_TRANSPORT_TYPES (2+1)
#define NUM_TP_MEDIA_STREAM_TRANSPORT_TYPES TP_NUM_MEDIA_STREAM_TRANSPORT_TYPES
typedef enum /*< flags >*/ {
TP_PROPERTY_FLAG_READ = 1,
TP_PROPERTY_FLAG_WRITE = 2,
} TpPropertyFlags;
typedef enum /*< flags >*/ {
TP_STORAGE_RESTRICTION_FLAG_CANNOT_SET_PARAMETERS = 1,
TP_STORAGE_RESTRICTION_FLAG_CANNOT_SET_ENABLED = 2,
TP_STORAGE_RESTRICTION_FLAG_CANNOT_SET_PRESENCE = 4,
TP_STORAGE_RESTRICTION_FLAG_CANNOT_SET_SERVICE = 8,
} TpStorageRestrictionFlags;
typedef enum {
TP_DEBUG_LEVEL_ERROR = 0,
TP_DEBUG_LEVEL_CRITICAL = 1,
TP_DEBUG_LEVEL_WARNING = 2,
TP_DEBUG_LEVEL_MESSAGE = 3,
TP_DEBUG_LEVEL_INFO = 4,
TP_DEBUG_LEVEL_DEBUG = 5,
} TpDebugLevel;
#define TP_NUM_DEBUG_LEVELS (5+1)
#define NUM_TP_DEBUG_LEVELS TP_NUM_DEBUG_LEVELS
typedef enum {
TP_TLS_CERTIFICATE_STATE_PENDING = 0,
TP_TLS_CERTIFICATE_STATE_ACCEPTED = 1,
TP_TLS_CERTIFICATE_STATE_REJECTED = 2,
} TpTLSCertificateState;
#define TP_NUM_TLS_CERTIFICATE_STATES (2+1)
#define NUM_TP_TLS_CERTIFICATE_STATES TP_NUM_TLS_CERTIFICATE_STATES
typedef enum {
TP_TLS_CERTIFICATE_REJECT_REASON_UNKNOWN = 0,
TP_TLS_CERTIFICATE_REJECT_REASON_UNTRUSTED = 1,
TP_TLS_CERTIFICATE_REJECT_REASON_EXPIRED = 2,
TP_TLS_CERTIFICATE_REJECT_REASON_NOT_ACTIVATED = 3,
TP_TLS_CERTIFICATE_REJECT_REASON_FINGERPRINT_MISMATCH = 4,
TP_TLS_CERTIFICATE_REJECT_REASON_HOSTNAME_MISMATCH = 5,
TP_TLS_CERTIFICATE_REJECT_REASON_SELF_SIGNED = 6,
TP_TLS_CERTIFICATE_REJECT_REASON_REVOKED = 7,
TP_TLS_CERTIFICATE_REJECT_REASON_INSECURE = 8,
TP_TLS_CERTIFICATE_REJECT_REASON_LIMIT_EXCEEDED = 9,
} TpTLSCertificateRejectReason;
#define TP_NUM_TLS_CERTIFICATE_REJECT_REASONS (9+1)
#define NUM_TP_TLS_CERTIFICATE_REJECT_REASONS TP_NUM_TLS_CERTIFICATE_REJECT_REASONS
typedef enum {
TP_CALL_CONTENT_PACKETIZATION_TYPE_RTP = 0,
TP_CALL_CONTENT_PACKETIZATION_TYPE_RAW = 1,
TP_CALL_CONTENT_PACKETIZATION_TYPE_MSN_WEBCAM = 2,
} TpCallContentPacketizationType;
#define TP_NUM_CALL_CONTENT_PACKETIZATION_TYPES (2+1)
#define NUM_TP_CALL_CONTENT_PACKETIZATION_TYPES TP_NUM_CALL_CONTENT_PACKETIZATION_TYPES
typedef enum {
TP_CALL_CONTENT_DISPOSITION_NONE = 0,
TP_CALL_CONTENT_DISPOSITION_INITIAL = 1,
} TpCallContentDisposition;
#define TP_NUM_CALL_CONTENT_DISPOSITIONS (1+1)
#define NUM_TP_CALL_CONTENT_DISPOSITIONS TP_NUM_CALL_CONTENT_DISPOSITIONS
typedef enum /*< flags >*/ {
TP_RTCP_XR_STATISTICS_FLAGS_LOSS = 1,
TP_RTCP_XR_STATISTICS_FLAGS_DUPLICATE = 2,
TP_RTCP_XR_STATISTICS_FLAGS_JITTER = 4,
TP_RTCP_XR_STATISTICS_FLAGS_TTL = 8,
TP_RTCP_XR_STATISTICS_FLAGS_HL = 16,
} TpRTCPXRStatisticsFlags;
typedef enum {
TP_RCPT_XR_RTT_MODE_ALL = 0,
TP_RCPT_XR_RTT_MODE_SENDER = 1,
} TpRCPTXRRTTMode;
#define TP_NUM_RCPT_XR_RTT_MODES (1+1)
#define NUM_TP_RCPT_XR_RTT_MODES TP_NUM_RCPT_XR_RTT_MODES
typedef enum {
TP_STREAM_FLOW_STATE_STOPPED = 0,
TP_STREAM_FLOW_STATE_PENDING_START = 1,
TP_STREAM_FLOW_STATE_PENDING_STOP = 2,
TP_STREAM_FLOW_STATE_STARTED = 3,
} TpStreamFlowState;
#define TP_NUM_STREAM_FLOW_STATES (3+1)
#define NUM_TP_STREAM_FLOW_STATES TP_NUM_STREAM_FLOW_STATES
typedef enum {
TP_CALL_STREAM_CANDIDATE_TYPE_NONE = 0,
TP_CALL_STREAM_CANDIDATE_TYPE_HOST = 1,
TP_CALL_STREAM_CANDIDATE_TYPE_SERVER_REFLEXIVE = 2,
TP_CALL_STREAM_CANDIDATE_TYPE_PEER_REFLEXIVE = 3,
TP_CALL_STREAM_CANDIDATE_TYPE_RELAY = 4,
TP_CALL_STREAM_CANDIDATE_TYPE_MULTICAST = 5,
} TpCallStreamCandidateType;
#define TP_NUM_CALL_STREAM_CANDIDATE_TYPES (5+1)
#define NUM_TP_CALL_STREAM_CANDIDATE_TYPES TP_NUM_CALL_STREAM_CANDIDATE_TYPES
typedef enum {
TP_STREAM_COMPONENT_UNKNOWN = 0,
TP_STREAM_COMPONENT_DATA = 1,
TP_STREAM_COMPONENT_CONTROL = 2,
} TpStreamComponent;
#define TP_NUM_STREAM_COMPONENTS (2+1)
#define NUM_TP_STREAM_COMPONENTS TP_NUM_STREAM_COMPONENTS
typedef enum {
TP_STREAM_TRANSPORT_TYPE_UNKNOWN = 0,
TP_STREAM_TRANSPORT_TYPE_RAW_UDP = 1,
TP_STREAM_TRANSPORT_TYPE_ICE = 2,
TP_STREAM_TRANSPORT_TYPE_GTALK_P2P = 3,
TP_STREAM_TRANSPORT_TYPE_WLM_2009 = 4,
TP_STREAM_TRANSPORT_TYPE_SHM = 5,
TP_STREAM_TRANSPORT_TYPE_MULTICAST = 6,
} TpStreamTransportType;
#define TP_NUM_STREAM_TRANSPORT_TYPES (6+1)
#define NUM_TP_STREAM_TRANSPORT_TYPES TP_NUM_STREAM_TRANSPORT_TYPES
typedef enum {
TP_SENDING_STATE_NONE = 0,
TP_SENDING_STATE_PENDING_SEND = 1,
TP_SENDING_STATE_SENDING = 2,
TP_SENDING_STATE_PENDING_STOP_SENDING = 3,
} TpSendingState;
#define TP_NUM_SENDING_STATES (3+1)
#define NUM_TP_SENDING_STATES TP_NUM_SENDING_STATES
typedef enum {
TP_STREAM_ENDPOINT_STATE_CONNECTING = 0,
TP_STREAM_ENDPOINT_STATE_PROVISIONALLY_CONNECTED = 1,
TP_STREAM_ENDPOINT_STATE_FULLY_CONNECTED = 2,
TP_STREAM_ENDPOINT_STATE_EXHAUSTED_CANDIDATES = 3,
TP_STREAM_ENDPOINT_STATE_FAILED = 4,
} TpStreamEndpointState;
#define TP_NUM_STREAM_ENDPOINT_STATES (4+1)
#define NUM_TP_STREAM_ENDPOINT_STATES TP_NUM_STREAM_ENDPOINT_STATES
#ifdef __cplusplus
}
#endif
|