gloox.cpp

00001 /*
00002   Copyright (c) 2005-2009 by Jakob Schroeter <js@camaya.net>
00003   This file is part of the gloox library. http://camaya.net/gloox
00004 
00005   This software is distributed under a license. The full license
00006   agreement can be found in the file LICENSE in this distribution.
00007   This software may not be copied, modified, sold or distributed
00008   other than expressed in the named license agreement.
00009 
00010   This software is distributed without any warranty.
00011 */
00012 
00013 
00014 #include "gloox.h"
00015 
00016 namespace gloox
00017 {
00018 
00019   const std::string XMLNS_CLIENT            = "jabber:client";
00020   const std::string XMLNS_COMPONENT_ACCEPT  = "jabber:component:accept";
00021   const std::string XMLNS_COMPONENT_CONNECT = "jabber:component:connect";
00022 
00023   const std::string XMLNS_DISCO_INFO        = "http://jabber.org/protocol/disco#info";
00024   const std::string XMLNS_DISCO_ITEMS       = "http://jabber.org/protocol/disco#items";
00025   const std::string XMLNS_DISCO_PUBLISH     = "http://jabber.org/protocol/disco#publish";
00026   const std::string XMLNS_ADHOC_COMMANDS    = "http://jabber.org/protocol/commands";
00027   const std::string XMLNS_COMPRESSION       = "http://jabber.org/protocol/compress";
00028   const std::string XMLNS_OFFLINE           = "http://jabber.org/protocol/offline";
00029 
00030   const std::string XMLNS_CHAT_STATES       = "http://jabber.org/protocol/chatstates";
00031   const std::string XMLNS_AMP               = "http://jabber.org/protocol/amp";
00032   const std::string XMLNS_IBB               = "http://jabber.org/protocol/ibb";
00033   const std::string XMLNS_FEATURE_NEG       = "http://jabber.org/protocol/feature-neg";
00034   const std::string XMLNS_CHATNEG           = "http://jabber.org/protocol/chatneg";
00035 
00036   const std::string XMLNS_XHTML_IM          = "http://jabber.org/protocol/xhtml-im";
00037   const std::string XMLNS_DELAY             = "urn:xmpp:delay";
00038   const std::string XMLNS_ROSTER            = "jabber:iq:roster";
00039   const std::string XMLNS_VERSION           = "jabber:iq:version";
00040   const std::string XMLNS_REGISTER          = "jabber:iq:register";
00041 
00042   const std::string XMLNS_PRIVACY           = "jabber:iq:privacy";
00043   const std::string XMLNS_AUTH              = "jabber:iq:auth";
00044   const std::string XMLNS_PRIVATE_XML       = "jabber:iq:private";
00045   const std::string XMLNS_LAST              = "jabber:iq:last";
00046   const std::string XMLNS_SEARCH            = "jabber:iq:search";
00047 
00048   const std::string XMLNS_IQ_OOB            = "jabber:iq:oob";
00049   const std::string XMLNS_X_DATA            = "jabber:x:data";
00050   const std::string XMLNS_X_EVENT           = "jabber:x:event";
00051   const std::string XMLNS_X_OOB             = "jabber:x:oob";
00052   const std::string XMLNS_X_DELAY           = "jabber:x:delay";
00053 
00054   const std::string XMLNS_X_GPGSIGNED       = "jabber:x:signed";
00055   const std::string XMLNS_X_GPGENCRYPTED    = "jabber:x:encrypted";
00056   const std::string XMLNS_VCARD_TEMP        = "vcard-temp";
00057   const std::string XMLNS_X_VCARD_UPDATE    = "vcard-temp:x:update";
00058   const std::string XMLNS_BOOKMARKS         = "storage:bookmarks";
00059 
00060   const std::string XMLNS_ANNOTATIONS       = "storage:rosternotes";
00061   const std::string XMLNS_ROSTER_DELIMITER  = "roster:delimiter";
00062   const std::string XMLNS_XMPP_PING         = "urn:xmpp:ping";
00063   const std::string XMLNS_SI                = "http://jabber.org/protocol/si";
00064   const std::string XMLNS_SI_FT             = "http://jabber.org/protocol/si/profile/file-transfer";
00065 
00066   const std::string XMLNS_BYTESTREAMS       = "http://jabber.org/protocol/bytestreams";
00067   const std::string XMLNS_MUC               = "http://jabber.org/protocol/muc";
00068   const std::string XMLNS_MUC_USER          = "http://jabber.org/protocol/muc#user";
00069   const std::string XMLNS_MUC_ADMIN         = "http://jabber.org/protocol/muc#admin";
00070   const std::string XMLNS_MUC_UNIQUE        = "http://jabber.org/protocol/muc#unique";
00071 
00072   const std::string XMLNS_MUC_OWNER         = "http://jabber.org/protocol/muc#owner";
00073   const std::string XMLNS_MUC_ROOMINFO      = "http://jabber.org/protocol/muc#roominfo";
00074   const std::string XMLNS_MUC_ROOMS         = "http://jabber.org/protocol/muc#rooms";
00075   const std::string XMLNS_MUC_REQUEST       = "http://jabber.org/protocol/muc#request";
00076 
00077   const std::string XMLNS_PUBSUB            = "http://jabber.org/protocol/pubsub";
00078   const std::string XMLNS_PUBSUB_ERRORS     = "http://jabber.org/protocol/pubsub#errors";
00079   const std::string XMLNS_PUBSUB_EVENT      = "http://jabber.org/protocol/pubsub#event";
00080   const std::string XMLNS_PUBSUB_OWNER      = "http://jabber.org/protocol/pubsub#owner";
00081 
00082   const std::string XMLNS_CAPS              = "http://jabber.org/protocol/caps";
00083   const std::string XMLNS_FT_FASTMODE       = "http://affinix.com/jabber/stream";
00084 
00085   const std::string XMLNS_STREAM            = "http://etherx.jabber.org/streams";
00086   const std::string XMLNS_XMPP_STREAM       = "urn:ietf:params:xml:ns:xmpp-streams";
00087   const std::string XMLNS_XMPP_STANZAS      = "urn:ietf:params:xml:ns:xmpp-stanzas";
00088   const std::string XMLNS_STREAM_TLS        = "urn:ietf:params:xml:ns:xmpp-tls";
00089   const std::string XMLNS_STREAM_SASL       = "urn:ietf:params:xml:ns:xmpp-sasl";
00090 
00091   const std::string XMLNS_STREAM_BIND       = "urn:ietf:params:xml:ns:xmpp-bind";
00092   const std::string XMLNS_STREAM_SESSION    = "urn:ietf:params:xml:ns:xmpp-session";
00093   const std::string XMLNS_STREAM_IQAUTH     = "http://jabber.org/features/iq-auth";
00094   const std::string XMLNS_STREAM_IQREGISTER = "http://jabber.org/features/iq-register";
00095   const std::string XMLNS_STREAM_COMPRESS   = "http://jabber.org/features/compress";
00096 
00097   const std::string XMLNS_HTTPBIND          = "http://jabber.org/protocol/httpbind";
00098   const std::string XMLNS_XMPP_BOSH         = "urn:xmpp:xbosh";
00099   const std::string XMLNS_RECEIPTS          = "urn:xmpp:receipts";
00100   const std::string XMLNS_NICKNAME          = "http://jabber.org/protocol/nick";
00101 
00102   const std::string XMLNS_JINGLE            = "urn:xmpp:tmp:jingle";
00103   const std::string XMLNS_JINGLE_AUDIO_RTP  = "urn:xmpp:tmp:jingle:apps:audio-rtp";
00104   const std::string XMLNS_JINGLE_ICE_UDP    = "urn:xmpp:tmp:jingle:transports:ice-udp";
00105   const std::string XMLNS_JINGLE_RAW_UDP    = "urn:xmpp:tmp:jingle:transports:raw-udp";
00106   const std::string XMLNS_JINGLE_VIDEO_RTP  = "urn:xmpp:tmp:jingle:apps:video-rtp";
00107 
00108   const std::string XMLNS_SHIM              = "http://jabber.org/protocol/shim";
00109   const std::string XMLNS_ATTENTION         = "urn:xmpp:attention:0";
00110 
00111   const std::string XMPP_STREAM_VERSION_MAJOR = "1";
00112   const std::string XMPP_STREAM_VERSION_MINOR = "0";
00113   const std::string GLOOX_VERSION           = "1.0";
00114   const std::string GLOOX_CAPS_NODE         = "http://camaya.net/gloox";
00115 
00116   const std::string XMLNS = "xmlns";
00117   const std::string TYPE = "type";
00118   const std::string EmptyString = "";
00119 }
00120 
00121 const char* gloox_version()
00122 {
00123   return gloox::GLOOX_VERSION.c_str();
00124 }

Generated by  doxygen 1.6.2