QXmppConstants.cpp 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. /*
  2. * Copyright (C) 2008-2012 The QXmpp developers
  3. *
  4. * Author:
  5. * Manjeet Dahiya
  6. *
  7. * Source:
  8. * http://code.google.com/p/qxmpp
  9. *
  10. * This file is a part of QXmpp library.
  11. *
  12. * This library is free software; you can redistribute it and/or
  13. * modify it under the terms of the GNU Lesser General Public
  14. * License as published by the Free Software Foundation; either
  15. * version 2.1 of the License, or (at your option) any later version.
  16. *
  17. * This library is distributed in the hope that it will be useful,
  18. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  19. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  20. * Lesser General Public License for more details.
  21. *
  22. */
  23. #include "QXmppConstants.h"
  24. const char* ns_stream = "http://etherx.jabber.org/streams";
  25. const char* ns_client = "jabber:client";
  26. const char* ns_server = "jabber:server";
  27. const char* ns_roster = "jabber:iq:roster";
  28. const char* ns_tls = "urn:ietf:params:xml:ns:xmpp-tls";
  29. const char* ns_sasl = "urn:ietf:params:xml:ns:xmpp-sasl";
  30. const char* ns_bind = "urn:ietf:params:xml:ns:xmpp-bind";
  31. const char* ns_session = "urn:ietf:params:xml:ns:xmpp-session";
  32. const char* ns_stanza = "urn:ietf:params:xml:ns:xmpp-stanzas";
  33. // XEP-0009: Jabber-RPC
  34. const char* ns_rpc = "jabber:iq:rpc";
  35. // XEP-0020: Feature Negotiation
  36. const char* ns_feature_negotiation = "http://jabber.org/protocol/feature-neg";
  37. // XEP-0030: Service Discovery
  38. const char* ns_disco_info = "http://jabber.org/protocol/disco#info";
  39. const char* ns_disco_items = "http://jabber.org/protocol/disco#items";
  40. // XEP-0033: Extended Stanza Addressing
  41. const char* ns_extended_addressing = "http://jabber.org/protocol/address";
  42. // XEP-0045: Multi-User Chat
  43. const char* ns_muc = "http://jabber.org/protocol/muc";
  44. const char* ns_muc_admin = "http://jabber.org/protocol/muc#admin";
  45. const char* ns_muc_owner = "http://jabber.org/protocol/muc#owner";
  46. const char* ns_muc_user = "http://jabber.org/protocol/muc#user";
  47. // XEP-0047: In-Band Bytestreams
  48. const char* ns_ibb = "http://jabber.org/protocol/ibb";
  49. // XEP-0049: Private XML Storage
  50. const char* ns_private = "jabber:iq:private";
  51. // XEP-0054: vcard-temp
  52. const char* ns_vcard = "vcard-temp";
  53. // XEP-0059: Result Set Management
  54. const char* ns_rsm = "http://jabber.org/protocol/rsm";
  55. // XEP-0065: SOCKS5 Bytestreams
  56. const char* ns_bytestreams = "http://jabber.org/protocol/bytestreams";
  57. // XEP-0071: XHTML-IM
  58. const char *ns_xhtml_im = "http://jabber.org/protocol/xhtml-im";
  59. // XEP-0077: In-Band Registration
  60. const char* ns_register = "jabber:iq:register";
  61. // XEP-0078: Non-SASL Authentication
  62. const char* ns_auth = "jabber:iq:auth";
  63. const char* ns_authFeature = "http://jabber.org/features/iq-auth";
  64. // XEP-0085: Chat State Notifications
  65. const char* ns_chat_states = "http://jabber.org/protocol/chatstates";
  66. // XEP-0091: Legacy Delayed Delivery
  67. const char* ns_legacy_delayed_delivery = "jabber:x:delay";
  68. // XEP-0092: Software Version
  69. const char* ns_version = "jabber:iq:version";
  70. const char* ns_data = "jabber:x:data";
  71. // XEP-0095: Stream Initiation
  72. const char* ns_stream_initiation = "http://jabber.org/protocol/si";
  73. const char* ns_stream_initiation_file_transfer = "http://jabber.org/protocol/si/profile/file-transfer";
  74. // XEP-0108: User Activity
  75. const char* ns_activity = "http://jabber.org/protocol/activity";
  76. // XEP-0115: Entity Capabilities
  77. const char* ns_capabilities = "http://jabber.org/protocol/caps";
  78. // XEP-0136: Message Archiving
  79. const char* ns_archive = "urn:xmpp:archive";
  80. // XEP-0138: Stream Compression
  81. const char* ns_compress = "http://jabber.org/protocol/compress";
  82. const char* ns_compressFeature = "http://jabber.org/features/compress";
  83. // XEP-0145: Annotations
  84. const char* ns_rosternotes = "storage:rosternotes";
  85. // XEP-0153: vCard-Based Avatars
  86. const char* ns_vcard_update = "vcard-temp:x:update";
  87. // XEP-0158: CAPTCHA Forms
  88. const char* ns_captcha = "urn:xmpp:captcha";
  89. // XEP-0166: Jingle
  90. const char* ns_jingle = "urn:xmpp:jingle:1";
  91. const char* ns_jingle_raw_udp = "urn:xmpp:jingle:transports:raw-udp:1";
  92. const char* ns_jingle_ice_udp = "urn:xmpp:jingle:transports:ice-udp:1";
  93. const char* ns_jingle_rtp = "urn:xmpp:jingle:apps:rtp:1";
  94. const char* ns_jingle_rtp_audio = "urn:xmpp:jingle:apps:rtp:audio";
  95. const char* ns_jingle_rtp_video = "urn:xmpp:jingle:apps:rtp:video";
  96. // XEP-0184: Message Receipts
  97. const char* ns_message_receipts = "urn:xmpp:receipts";
  98. // XEP-0199: XMPP Ping
  99. const char* ns_ping = "urn:xmpp:ping";
  100. // XEP-0202: Entity Time
  101. const char* ns_entity_time = "urn:xmpp:time";
  102. // XEP-0203: Delayed Delivery
  103. const char* ns_delayed_delivery = "urn:xmpp:delay";
  104. // XEP-0220: Server Dialback
  105. const char* ns_server_dialback = "jabber:server:dialback";
  106. // XEP-0221: Data Forms Media Element
  107. const char* ns_media_element = "urn:xmpp:media-element";
  108. // XEP-0224: Attention
  109. const char* ns_attention = "urn:xmpp:attention:0";
  110. // XEP-0231: Bits of Binary
  111. const char* ns_bob = "urn:xmpp:bob";
  112. // XEP-0249: Direct MUC Invitations
  113. const char* ns_conference = "jabber:x:conference";