1 /* 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. 3 * 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 6 * tree. An additional intellectual property rights grant can be found 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 9 */ 10 11 #ifndef WEBRTC_LIBJINGLE_XMPP_CONSTANTS_H_ 12 #define WEBRTC_LIBJINGLE_XMPP_CONSTANTS_H_ 13 14 #include <string> 15 #include "webrtc/libjingle/xmllite/qname.h" 16 #include "webrtc/libjingle/xmpp/jid.h" 17 18 namespace buzz { 19 20 extern const char NS_CLIENT[]; 21 extern const char NS_SERVER[]; 22 extern const char NS_STREAM[]; 23 extern const char NS_XSTREAM[]; 24 extern const char NS_TLS[]; 25 extern const char NS_SASL[]; 26 extern const char NS_BIND[]; 27 extern const char NS_DIALBACK[]; 28 extern const char NS_SESSION[]; 29 extern const char NS_STANZA[]; 30 extern const char NS_PRIVACY[]; 31 extern const char NS_ROSTER[]; 32 extern const char NS_VCARD[]; 33 extern const char NS_AVATAR_HASH[]; 34 extern const char NS_VCARD_UPDATE[]; 35 extern const char STR_CLIENT[]; 36 extern const char STR_SERVER[]; 37 extern const char STR_STREAM[]; 38 39 extern const char STR_GET[]; 40 extern const char STR_SET[]; 41 extern const char STR_RESULT[]; 42 extern const char STR_ERROR[]; 43 44 extern const char STR_FORM[]; 45 extern const char STR_SUBMIT[]; 46 extern const char STR_TEXT_SINGLE[]; 47 extern const char STR_LIST_SINGLE[]; 48 extern const char STR_LIST_MULTI[]; 49 extern const char STR_HIDDEN[]; 50 extern const char STR_FORM_TYPE[]; 51 52 extern const char STR_FROM[]; 53 extern const char STR_TO[]; 54 extern const char STR_BOTH[]; 55 extern const char STR_REMOVE[]; 56 extern const char STR_TRUE[]; 57 58 extern const char STR_TYPE[]; 59 extern const char STR_NAME[]; 60 extern const char STR_ID[]; 61 extern const char STR_JID[]; 62 extern const char STR_SUBSCRIPTION[]; 63 extern const char STR_ASK[]; 64 extern const char STR_X[]; 65 extern const char STR_GOOGLE_COM[]; 66 extern const char STR_GMAIL_COM[]; 67 extern const char STR_GOOGLEMAIL_COM[]; 68 extern const char STR_DEFAULT_DOMAIN[]; 69 extern const char STR_TALK_GOOGLE_COM[]; 70 extern const char STR_TALKX_L_GOOGLE_COM[]; 71 extern const char STR_XMPP_GOOGLE_COM[]; 72 extern const char STR_XMPPX_L_GOOGLE_COM[]; 73 74 #ifdef FEATURE_ENABLE_VOICEMAIL 75 extern const char STR_VOICEMAIL[]; 76 extern const char STR_OUTGOINGVOICEMAIL[]; 77 #endif 78 79 extern const char STR_UNAVAILABLE[]; 80 81 extern const char NS_PING[]; 82 extern const StaticQName QN_PING; 83 84 extern const char NS_MUC_UNIQUE[]; 85 extern const StaticQName QN_MUC_UNIQUE_QUERY; 86 extern const StaticQName QN_HANGOUT_ID; 87 88 extern const char STR_GOOGLE_MUC_LOOKUP_JID[]; 89 extern const char STR_MUC_ROOMCONFIG_ROOMNAME[]; 90 extern const char STR_MUC_ROOMCONFIG_FEATURES[]; 91 extern const char STR_MUC_ROOM_FEATURE_ENTERPRISE[]; 92 extern const char STR_MUC_ROOMCONFIG[]; 93 extern const char STR_MUC_ROOM_FEATURE_HANGOUT[]; 94 extern const char STR_MUC_ROOM_FEATURE_HANGOUT_LITE[]; 95 extern const char STR_MUC_ROOM_FEATURE_BROADCAST[]; 96 extern const char STR_MUC_ROOM_FEATURE_MULTI_USER_VC[]; 97 extern const char STR_MUC_ROOM_FEATURE_RECORDABLE[]; 98 extern const char STR_MUC_ROOM_FEATURE_CUSTOM_RECORDING[]; 99 extern const char STR_MUC_ROOM_OWNER_PROFILE_ID[]; 100 extern const char STR_MUC_ROOM_FEATURE_ABUSE_RECORDABLE[]; 101 102 extern const char STR_ID_TYPE_CONVERSATION[]; 103 extern const char NS_GOOGLE_MUC_HANGOUT[]; 104 extern const StaticQName QN_GOOGLE_MUC_HANGOUT_INVITE; 105 extern const StaticQName QN_GOOGLE_MUC_HANGOUT_INVITE_TYPE; 106 extern const StaticQName QN_ATTR_CREATE_ACTIVITY; 107 extern const StaticQName QN_GOOGLE_MUC_HANGOUT_PUBLIC; 108 extern const StaticQName QN_GOOGLE_MUC_HANGOUT_INVITEE; 109 extern const StaticQName QN_GOOGLE_MUC_HANGOUT_NOTIFICATION_STATUS; 110 extern const StaticQName QN_GOOGLE_MUC_HANGOUT_NOTIFICATION_TYPE; 111 extern const StaticQName QN_GOOGLE_MUC_HANGOUT_HANGOUT_START_CONTEXT; 112 extern const StaticQName QN_GOOGLE_MUC_HANGOUT_CONVERSATION_ID; 113 114 extern const StaticQName QN_STREAM_STREAM; 115 extern const StaticQName QN_STREAM_FEATURES; 116 extern const StaticQName QN_STREAM_ERROR; 117 118 extern const StaticQName QN_XSTREAM_BAD_FORMAT; 119 extern const StaticQName QN_XSTREAM_BAD_NAMESPACE_PREFIX; 120 extern const StaticQName QN_XSTREAM_CONFLICT; 121 extern const StaticQName QN_XSTREAM_CONNECTION_TIMEOUT; 122 extern const StaticQName QN_XSTREAM_HOST_GONE; 123 extern const StaticQName QN_XSTREAM_HOST_UNKNOWN; 124 extern const StaticQName QN_XSTREAM_IMPROPER_ADDRESSIING; 125 extern const StaticQName QN_XSTREAM_INTERNAL_SERVER_ERROR; 126 extern const StaticQName QN_XSTREAM_INVALID_FROM; 127 extern const StaticQName QN_XSTREAM_INVALID_ID; 128 extern const StaticQName QN_XSTREAM_INVALID_NAMESPACE; 129 extern const StaticQName QN_XSTREAM_INVALID_XML; 130 extern const StaticQName QN_XSTREAM_NOT_AUTHORIZED; 131 extern const StaticQName QN_XSTREAM_POLICY_VIOLATION; 132 extern const StaticQName QN_XSTREAM_REMOTE_CONNECTION_FAILED; 133 extern const StaticQName QN_XSTREAM_RESOURCE_CONSTRAINT; 134 extern const StaticQName QN_XSTREAM_RESTRICTED_XML; 135 extern const StaticQName QN_XSTREAM_SEE_OTHER_HOST; 136 extern const StaticQName QN_XSTREAM_SYSTEM_SHUTDOWN; 137 extern const StaticQName QN_XSTREAM_UNDEFINED_CONDITION; 138 extern const StaticQName QN_XSTREAM_UNSUPPORTED_ENCODING; 139 extern const StaticQName QN_XSTREAM_UNSUPPORTED_STANZA_TYPE; 140 extern const StaticQName QN_XSTREAM_UNSUPPORTED_VERSION; 141 extern const StaticQName QN_XSTREAM_XML_NOT_WELL_FORMED; 142 extern const StaticQName QN_XSTREAM_TEXT; 143 144 extern const StaticQName QN_TLS_STARTTLS; 145 extern const StaticQName QN_TLS_REQUIRED; 146 extern const StaticQName QN_TLS_PROCEED; 147 extern const StaticQName QN_TLS_FAILURE; 148 149 extern const StaticQName QN_SASL_MECHANISMS; 150 extern const StaticQName QN_SASL_MECHANISM; 151 extern const StaticQName QN_SASL_AUTH; 152 extern const StaticQName QN_SASL_CHALLENGE; 153 extern const StaticQName QN_SASL_RESPONSE; 154 extern const StaticQName QN_SASL_ABORT; 155 extern const StaticQName QN_SASL_SUCCESS; 156 extern const StaticQName QN_SASL_FAILURE; 157 extern const StaticQName QN_SASL_ABORTED; 158 extern const StaticQName QN_SASL_INCORRECT_ENCODING; 159 extern const StaticQName QN_SASL_INVALID_AUTHZID; 160 extern const StaticQName QN_SASL_INVALID_MECHANISM; 161 extern const StaticQName QN_SASL_MECHANISM_TOO_WEAK; 162 extern const StaticQName QN_SASL_NOT_AUTHORIZED; 163 extern const StaticQName QN_SASL_TEMPORARY_AUTH_FAILURE; 164 165 // These are non-standard. 166 extern const char NS_GOOGLE_AUTH[]; 167 extern const char NS_GOOGLE_AUTH_PROTOCOL[]; 168 extern const StaticQName QN_GOOGLE_AUTH_CLIENT_USES_FULL_BIND_RESULT; 169 extern const StaticQName QN_GOOGLE_ALLOW_NON_GOOGLE_ID_XMPP_LOGIN; 170 extern const StaticQName QN_GOOGLE_AUTH_SERVICE; 171 172 extern const StaticQName QN_DIALBACK_RESULT; 173 extern const StaticQName QN_DIALBACK_VERIFY; 174 175 extern const StaticQName QN_STANZA_BAD_REQUEST; 176 extern const StaticQName QN_STANZA_CONFLICT; 177 extern const StaticQName QN_STANZA_FEATURE_NOT_IMPLEMENTED; 178 extern const StaticQName QN_STANZA_FORBIDDEN; 179 extern const StaticQName QN_STANZA_GONE; 180 extern const StaticQName QN_STANZA_INTERNAL_SERVER_ERROR; 181 extern const StaticQName QN_STANZA_ITEM_NOT_FOUND; 182 extern const StaticQName QN_STANZA_JID_MALFORMED; 183 extern const StaticQName QN_STANZA_NOT_ACCEPTABLE; 184 extern const StaticQName QN_STANZA_NOT_ALLOWED; 185 extern const StaticQName QN_STANZA_PAYMENT_REQUIRED; 186 extern const StaticQName QN_STANZA_RECIPIENT_UNAVAILABLE; 187 extern const StaticQName QN_STANZA_REDIRECT; 188 extern const StaticQName QN_STANZA_REGISTRATION_REQUIRED; 189 extern const StaticQName QN_STANZA_REMOTE_SERVER_NOT_FOUND; 190 extern const StaticQName QN_STANZA_REMOTE_SERVER_TIMEOUT; 191 extern const StaticQName QN_STANZA_RESOURCE_CONSTRAINT; 192 extern const StaticQName QN_STANZA_SERVICE_UNAVAILABLE; 193 extern const StaticQName QN_STANZA_SUBSCRIPTION_REQUIRED; 194 extern const StaticQName QN_STANZA_UNDEFINED_CONDITION; 195 extern const StaticQName QN_STANZA_UNEXPECTED_REQUEST; 196 extern const StaticQName QN_STANZA_TEXT; 197 198 extern const StaticQName QN_BIND_BIND; 199 extern const StaticQName QN_BIND_RESOURCE; 200 extern const StaticQName QN_BIND_JID; 201 202 extern const StaticQName QN_MESSAGE; 203 extern const StaticQName QN_BODY; 204 extern const StaticQName QN_SUBJECT; 205 extern const StaticQName QN_THREAD; 206 extern const StaticQName QN_PRESENCE; 207 extern const StaticQName QN_SHOW; 208 extern const StaticQName QN_STATUS; 209 extern const StaticQName QN_LANG; 210 extern const StaticQName QN_PRIORITY; 211 extern const StaticQName QN_IQ; 212 extern const StaticQName QN_ERROR; 213 214 extern const StaticQName QN_SERVER_MESSAGE; 215 extern const StaticQName QN_SERVER_BODY; 216 extern const StaticQName QN_SERVER_SUBJECT; 217 extern const StaticQName QN_SERVER_THREAD; 218 extern const StaticQName QN_SERVER_PRESENCE; 219 extern const StaticQName QN_SERVER_SHOW; 220 extern const StaticQName QN_SERVER_STATUS; 221 extern const StaticQName QN_SERVER_LANG; 222 extern const StaticQName QN_SERVER_PRIORITY; 223 extern const StaticQName QN_SERVER_IQ; 224 extern const StaticQName QN_SERVER_ERROR; 225 226 extern const StaticQName QN_SESSION_SESSION; 227 228 extern const StaticQName QN_PRIVACY_QUERY; 229 extern const StaticQName QN_PRIVACY_ACTIVE; 230 extern const StaticQName QN_PRIVACY_DEFAULT; 231 extern const StaticQName QN_PRIVACY_LIST; 232 extern const StaticQName QN_PRIVACY_ITEM; 233 extern const StaticQName QN_PRIVACY_IQ; 234 extern const StaticQName QN_PRIVACY_MESSAGE; 235 extern const StaticQName QN_PRIVACY_PRESENCE_IN; 236 extern const StaticQName QN_PRIVACY_PRESENCE_OUT; 237 238 extern const StaticQName QN_ROSTER_QUERY; 239 extern const StaticQName QN_ROSTER_ITEM; 240 extern const StaticQName QN_ROSTER_GROUP; 241 242 extern const StaticQName QN_VCARD; 243 extern const StaticQName QN_VCARD_FN; 244 extern const StaticQName QN_VCARD_PHOTO; 245 extern const StaticQName QN_VCARD_PHOTO_BINVAL; 246 extern const StaticQName QN_VCARD_AVATAR_HASH; 247 extern const StaticQName QN_VCARD_AVATAR_HASH_MODIFIED; 248 249 #if defined(FEATURE_ENABLE_PSTN) 250 extern const StaticQName QN_VCARD_TEL; 251 extern const StaticQName QN_VCARD_VOICE; 252 extern const StaticQName QN_VCARD_HOME; 253 extern const StaticQName QN_VCARD_WORK; 254 extern const StaticQName QN_VCARD_CELL; 255 extern const StaticQName QN_VCARD_NUMBER; 256 #endif 257 258 #if defined(FEATURE_ENABLE_RICHPROFILES) 259 extern const StaticQName QN_USER_PROFILE_QUERY; 260 extern const StaticQName QN_USER_PROFILE_URL; 261 262 extern const StaticQName QN_ATOM_FEED; 263 extern const StaticQName QN_ATOM_ENTRY; 264 extern const StaticQName QN_ATOM_TITLE; 265 extern const StaticQName QN_ATOM_ID; 266 extern const StaticQName QN_ATOM_MODIFIED; 267 extern const StaticQName QN_ATOM_IMAGE; 268 extern const StaticQName QN_ATOM_LINK; 269 extern const StaticQName QN_ATOM_HREF; 270 #endif 271 272 extern const StaticQName QN_XML_LANG; 273 274 extern const StaticQName QN_ENCODING; 275 extern const StaticQName QN_VERSION; 276 extern const StaticQName QN_TO; 277 extern const StaticQName QN_FROM; 278 extern const StaticQName QN_TYPE; 279 extern const StaticQName QN_ID; 280 extern const StaticQName QN_CODE; 281 extern const StaticQName QN_NAME; 282 extern const StaticQName QN_VALUE; 283 extern const StaticQName QN_ACTION; 284 extern const StaticQName QN_ORDER; 285 extern const StaticQName QN_MECHANISM; 286 extern const StaticQName QN_ASK; 287 extern const StaticQName QN_JID; 288 extern const StaticQName QN_NICK; 289 extern const StaticQName QN_SUBSCRIPTION; 290 extern const StaticQName QN_TITLE1; 291 extern const StaticQName QN_TITLE2; 292 extern const StaticQName QN_AFFILIATION; 293 extern const StaticQName QN_ROLE; 294 extern const StaticQName QN_TIME; 295 296 extern const StaticQName QN_XMLNS_CLIENT; 297 extern const StaticQName QN_XMLNS_SERVER; 298 extern const StaticQName QN_XMLNS_STREAM; 299 300 // Presence 301 extern const char STR_SHOW_AWAY[]; 302 extern const char STR_SHOW_CHAT[]; 303 extern const char STR_SHOW_DND[]; 304 extern const char STR_SHOW_XA[]; 305 extern const char STR_SHOW_OFFLINE[]; 306 307 extern const char NS_GOOGLE_PSTN_CONFERENCE[]; 308 extern const StaticQName QN_GOOGLE_PSTN_CONFERENCE_STATUS; 309 extern const StaticQName QN_ATTR_STATUS; 310 311 // Presence connection status 312 extern const char STR_PSTN_CONFERENCE_STATUS_CONNECTING[]; 313 extern const char STR_PSTN_CONFERENCE_STATUS_JOINING[]; 314 extern const char STR_PSTN_CONFERENCE_STATUS_CONNECTED[]; 315 extern const char STR_PSTN_CONFERENCE_STATUS_HANGUP[]; 316 317 // Subscription 318 extern const char STR_SUBSCRIBE[]; 319 extern const char STR_SUBSCRIBED[]; 320 extern const char STR_UNSUBSCRIBE[]; 321 extern const char STR_UNSUBSCRIBED[]; 322 323 // Google Invite 324 extern const char NS_GOOGLE_SUBSCRIBE[]; 325 extern const StaticQName QN_INVITATION; 326 extern const StaticQName QN_INVITE_NAME; 327 extern const StaticQName QN_INVITE_SUBJECT; 328 extern const StaticQName QN_INVITE_MESSAGE; 329 330 // Kick 331 extern const char NS_GOOGLE_MUC_ADMIN[]; 332 extern const StaticQName QN_GOOGLE_MUC_ADMIN_QUERY; 333 extern const StaticQName QN_GOOGLE_MUC_ADMIN_QUERY_ITEM; 334 extern const StaticQName QN_GOOGLE_MUC_ADMIN_QUERY_ITEM_REASON; 335 336 // PubSub: http://xmpp.org/extensions/xep-0060.html 337 extern const char NS_PUBSUB[]; 338 extern const StaticQName QN_PUBSUB; 339 extern const StaticQName QN_PUBSUB_ITEMS; 340 extern const StaticQName QN_PUBSUB_ITEM; 341 extern const StaticQName QN_PUBSUB_PUBLISH; 342 extern const StaticQName QN_PUBSUB_RETRACT; 343 extern const StaticQName QN_ATTR_PUBLISHER; 344 345 extern const char NS_PUBSUB_EVENT[]; 346 extern const StaticQName QN_NODE; 347 extern const StaticQName QN_PUBSUB_EVENT; 348 extern const StaticQName QN_PUBSUB_EVENT_ITEMS; 349 extern const StaticQName QN_PUBSUB_EVENT_ITEM; 350 extern const StaticQName QN_PUBSUB_EVENT_RETRACT; 351 extern const StaticQName QN_NOTIFY; 352 353 extern const char NS_PRESENTER[]; 354 extern const StaticQName QN_PRESENTER_PRESENTER; 355 extern const StaticQName QN_PRESENTER_PRESENTATION_ITEM; 356 extern const StaticQName QN_PRESENTER_PRESENTATION_TYPE; 357 extern const StaticQName QN_PRESENTER_PRESENTATION_ID; 358 359 // JEP 0030 360 extern const StaticQName QN_CATEGORY; 361 extern const StaticQName QN_VAR; 362 extern const char NS_DISCO_INFO[]; 363 extern const char NS_DISCO_ITEMS[]; 364 365 extern const StaticQName QN_DISCO_INFO_QUERY; 366 extern const StaticQName QN_DISCO_IDENTITY; 367 extern const StaticQName QN_DISCO_FEATURE; 368 369 extern const StaticQName QN_DISCO_ITEMS_QUERY; 370 extern const StaticQName QN_DISCO_ITEM; 371 372 // JEP 0020 373 extern const char NS_FEATURE[]; 374 extern const StaticQName QN_FEATURE_FEATURE; 375 376 // JEP 0004 377 extern const char NS_XDATA[]; 378 extern const StaticQName QN_XDATA_X; 379 extern const StaticQName QN_XDATA_INSTRUCTIONS; 380 extern const StaticQName QN_XDATA_TITLE; 381 extern const StaticQName QN_XDATA_FIELD; 382 extern const StaticQName QN_XDATA_REPORTED; 383 extern const StaticQName QN_XDATA_ITEM; 384 extern const StaticQName QN_XDATA_DESC; 385 extern const StaticQName QN_XDATA_REQUIRED; 386 extern const StaticQName QN_XDATA_VALUE; 387 extern const StaticQName QN_XDATA_OPTION; 388 389 // JEP 0045 390 extern const char NS_MUC[]; 391 extern const StaticQName QN_MUC_X; 392 extern const StaticQName QN_MUC_ITEM; 393 extern const StaticQName QN_MUC_AFFILIATION; 394 extern const StaticQName QN_MUC_ROLE; 395 extern const StaticQName QN_CLIENT_VERSION; 396 extern const StaticQName QN_LOCALE; 397 extern const char STR_AFFILIATION_NONE[]; 398 extern const char STR_ROLE_PARTICIPANT[]; 399 400 extern const char NS_GOOGLE_SESSION[]; 401 extern const StaticQName QN_GOOGLE_USER_ID; 402 extern const StaticQName QN_GOOGLE_CIRCLE_ID; 403 extern const StaticQName QN_GOOGLE_SESSION_BLOCKED; 404 extern const StaticQName QN_GOOGLE_SESSION_BLOCKING; 405 406 extern const char NS_MUC_OWNER[]; 407 extern const StaticQName QN_MUC_OWNER_QUERY; 408 409 extern const char NS_MUC_USER[]; 410 extern const StaticQName QN_MUC_USER_CONTINUE; 411 extern const StaticQName QN_MUC_USER_X; 412 extern const StaticQName QN_MUC_USER_ITEM; 413 extern const StaticQName QN_MUC_USER_STATUS; 414 extern const StaticQName QN_MUC_USER_REASON; 415 extern const StaticQName QN_MUC_USER_ABUSE_VIOLATION; 416 417 // JEP 0055 - Jabber Search 418 extern const char NS_SEARCH[]; 419 extern const StaticQName QN_SEARCH_QUERY; 420 extern const StaticQName QN_SEARCH_ITEM; 421 extern const StaticQName QN_SEARCH_ROOM_NAME; 422 extern const StaticQName QN_SEARCH_ROOM_JID; 423 extern const StaticQName QN_SEARCH_ROOM_DOMAIN; 424 extern const StaticQName QN_SEARCH_HANGOUT_ID; 425 extern const StaticQName QN_SEARCH_EXTERNAL_ID; 426 427 // JEP 0115 428 extern const char NS_CAPS[]; 429 extern const StaticQName QN_CAPS_C; 430 extern const StaticQName QN_VER; 431 extern const StaticQName QN_EXT; 432 433 434 // Avatar - JEP 0153 435 extern const char kNSVCard[]; 436 extern const StaticQName kQnVCardX; 437 extern const StaticQName kQnVCardPhoto; 438 439 // JEP 0172 User Nickname 440 extern const char NS_NICKNAME[]; 441 extern const StaticQName QN_NICKNAME; 442 443 // JEP 0085 chat state 444 extern const char NS_CHATSTATE[]; 445 extern const StaticQName QN_CS_ACTIVE; 446 extern const StaticQName QN_CS_COMPOSING; 447 extern const StaticQName QN_CS_PAUSED; 448 extern const StaticQName QN_CS_INACTIVE; 449 extern const StaticQName QN_CS_GONE; 450 451 // JEP 0091 Delayed Delivery 452 extern const char kNSDelay[]; 453 extern const StaticQName kQnDelayX; 454 extern const StaticQName kQnStamp; 455 456 // Google time stamping (higher resolution) 457 extern const char kNSTimestamp[]; 458 extern const StaticQName kQnTime; 459 extern const StaticQName kQnMilliseconds; 460 461 extern const char NS_JINGLE_INFO[]; 462 extern const StaticQName QN_JINGLE_INFO_QUERY; 463 extern const StaticQName QN_JINGLE_INFO_STUN; 464 extern const StaticQName QN_JINGLE_INFO_RELAY; 465 extern const StaticQName QN_JINGLE_INFO_SERVER; 466 extern const StaticQName QN_JINGLE_INFO_TOKEN; 467 extern const StaticQName QN_JINGLE_INFO_HOST; 468 extern const StaticQName QN_JINGLE_INFO_TCP; 469 extern const StaticQName QN_JINGLE_INFO_UDP; 470 extern const StaticQName QN_JINGLE_INFO_TCPSSL; 471 472 extern const char NS_GOOGLE_CALLPERF_STATS[]; 473 extern const StaticQName QN_CALLPERF_STATS; 474 extern const StaticQName QN_CALLPERF_SESSIONID; 475 extern const StaticQName QN_CALLPERF_LOCALUSER; 476 extern const StaticQName QN_CALLPERF_REMOTEUSER; 477 extern const StaticQName QN_CALLPERF_STARTTIME; 478 extern const StaticQName QN_CALLPERF_CALL_LENGTH; 479 extern const StaticQName QN_CALLPERF_CALL_ACCEPTED; 480 extern const StaticQName QN_CALLPERF_CALL_ERROR_CODE; 481 extern const StaticQName QN_CALLPERF_TERMINATE_CODE; 482 extern const StaticQName QN_CALLPERF_DATAPOINT; 483 extern const StaticQName QN_CALLPERF_DATAPOINT_TIME; 484 extern const StaticQName QN_CALLPERF_DATAPOINT_FRACTION_LOST; 485 extern const StaticQName QN_CALLPERF_DATAPOINT_CUM_LOST; 486 extern const StaticQName QN_CALLPERF_DATAPOINT_EXT_MAX; 487 extern const StaticQName QN_CALLPERF_DATAPOINT_JITTER; 488 extern const StaticQName QN_CALLPERF_DATAPOINT_RTT; 489 extern const StaticQName QN_CALLPERF_DATAPOINT_BYTES_R; 490 extern const StaticQName QN_CALLPERF_DATAPOINT_PACKETS_R; 491 extern const StaticQName QN_CALLPERF_DATAPOINT_BYTES_S; 492 extern const StaticQName QN_CALLPERF_DATAPOINT_PACKETS_S; 493 extern const StaticQName QN_CALLPERF_DATAPOINT_PROCESS_CPU; 494 extern const StaticQName QN_CALLPERF_DATAPOINT_SYSTEM_CPU; 495 extern const StaticQName QN_CALLPERF_DATAPOINT_CPUS; 496 extern const StaticQName QN_CALLPERF_CONNECTION; 497 extern const StaticQName QN_CALLPERF_CONNECTION_LOCAL_ADDRESS; 498 extern const StaticQName QN_CALLPERF_CONNECTION_REMOTE_ADDRESS; 499 extern const StaticQName QN_CALLPERF_CONNECTION_FLAGS; 500 extern const StaticQName QN_CALLPERF_CONNECTION_RTT; 501 extern const StaticQName QN_CALLPERF_CONNECTION_TOTAL_BYTES_S; 502 extern const StaticQName QN_CALLPERF_CONNECTION_BYTES_SECOND_S; 503 extern const StaticQName QN_CALLPERF_CONNECTION_TOTAL_BYTES_R; 504 extern const StaticQName QN_CALLPERF_CONNECTION_BYTES_SECOND_R; 505 extern const StaticQName QN_CALLPERF_CANDIDATE; 506 extern const StaticQName QN_CALLPERF_CANDIDATE_ENDPOINT; 507 extern const StaticQName QN_CALLPERF_CANDIDATE_PROTOCOL; 508 extern const StaticQName QN_CALLPERF_CANDIDATE_ADDRESS; 509 extern const StaticQName QN_CALLPERF_MEDIA; 510 extern const StaticQName QN_CALLPERF_MEDIA_DIRECTION; 511 extern const StaticQName QN_CALLPERF_MEDIA_SSRC; 512 extern const StaticQName QN_CALLPERF_MEDIA_ENERGY; 513 extern const StaticQName QN_CALLPERF_MEDIA_FIR; 514 extern const StaticQName QN_CALLPERF_MEDIA_NACK; 515 extern const StaticQName QN_CALLPERF_MEDIA_FPS; 516 extern const StaticQName QN_CALLPERF_MEDIA_FPS_NETWORK; 517 extern const StaticQName QN_CALLPERF_MEDIA_FPS_DECODED; 518 extern const StaticQName QN_CALLPERF_MEDIA_JITTER_BUFFER_SIZE; 519 extern const StaticQName QN_CALLPERF_MEDIA_PREFERRED_JITTER_BUFFER_SIZE; 520 extern const StaticQName QN_CALLPERF_MEDIA_TOTAL_PLAYOUT_DELAY; 521 522 // Muc invites. 523 extern const StaticQName QN_MUC_USER_INVITE; 524 525 // Multiway audio/video. 526 extern const char NS_GOOGLE_MUC_USER[]; 527 extern const StaticQName QN_GOOGLE_MUC_USER_AVAILABLE_MEDIA; 528 extern const StaticQName QN_GOOGLE_MUC_USER_ENTRY; 529 extern const StaticQName QN_GOOGLE_MUC_USER_MEDIA; 530 extern const StaticQName QN_GOOGLE_MUC_USER_TYPE; 531 extern const StaticQName QN_GOOGLE_MUC_USER_SRC_ID; 532 extern const StaticQName QN_GOOGLE_MUC_USER_STATUS; 533 extern const StaticQName QN_LABEL; 534 535 extern const char NS_GOOGLE_MUC_MEDIA[]; 536 extern const StaticQName QN_GOOGLE_MUC_AUDIO_MUTE; 537 extern const StaticQName QN_GOOGLE_MUC_VIDEO_MUTE; 538 extern const StaticQName QN_GOOGLE_MUC_VIDEO_PAUSE; 539 extern const StaticQName QN_GOOGLE_MUC_RECORDING; 540 extern const StaticQName QN_GOOGLE_MUC_MEDIA_BLOCK; 541 extern const StaticQName QN_STATE_ATTR; 542 543 544 extern const char AUTH_MECHANISM_GOOGLE_COOKIE[]; 545 extern const char AUTH_MECHANISM_GOOGLE_TOKEN[]; 546 extern const char AUTH_MECHANISM_OAUTH2[]; 547 extern const char AUTH_MECHANISM_PLAIN[]; 548 549 } // namespace buzz 550 551 #endif // WEBRTC_LIBJINGLE_XMPP_CONSTANTS_H_ 552