gloox  0.9.9.12
gloox.cpp
1 /*
2  Copyright (c) 2005-2008 by Jakob Schroeter <js@camaya.net>
3  This file is part of the gloox library. http://camaya.net/gloox
4 
5  This software is distributed under a license. The full license
6  agreement can be found in the file LICENSE in this distribution.
7  This software may not be copied, modified, sold or distributed
8  other than expressed in the named license agreement.
9 
10  This software is distributed without any warranty.
11 */
12 
13 
14 #include "gloox.h"
15 
16 namespace gloox
17 {
18 
19  const std::string XMLNS_CLIENT = "jabber:client";
20  const std::string XMLNS_COMPONENT_ACCEPT = "jabber:component:accept";
21  const std::string XMLNS_COMPONENT_CONNECT = "jabber:component:connect";
22 
23  const std::string XMLNS_DISCO_INFO = "http://jabber.org/protocol/disco#info";
24  const std::string XMLNS_DISCO_ITEMS = "http://jabber.org/protocol/disco#items";
25  const std::string XMLNS_ADHOC_COMMANDS = "http://jabber.org/protocol/commands";
26  const std::string XMLNS_COMPRESSION = "http://jabber.org/protocol/compress";
27  const std::string XMLNS_OFFLINE = "http://jabber.org/protocol/offline";
28 
29  const std::string XMLNS_CHAT_STATES = "http://jabber.org/protocol/chatstates";
30  const std::string XMLNS_AMP = "http://jabber.org/protocol/amp";
31  const std::string XMLNS_IBB = "http://jabber.org/protocol/ibb";
32  const std::string XMLNS_FEATURE_NEG = "http://jabber.org/protocol/feature-neg";
33  const std::string XMLNS_CHATNEG = "http://jabber.org/protocol/chatneg";
34 
35  const std::string XMLNS_XHTML_IM = "http://jabber.org/protocol/xhtml-im";
36  const std::string XMLNS_DELAY = "urn:xmpp:delay";
37  const std::string XMLNS_ROSTER = "jabber:iq:roster";
38  const std::string XMLNS_VERSION = "jabber:iq:version";
39  const std::string XMLNS_REGISTER = "jabber:iq:register";
40 
41  const std::string XMLNS_PRIVACY = "jabber:iq:privacy";
42  const std::string XMLNS_AUTH = "jabber:iq:auth";
43  const std::string XMLNS_PRIVATE_XML = "jabber:iq:private";
44  const std::string XMLNS_LAST = "jabber:iq:last";
45  const std::string XMLNS_SEARCH = "jabber:iq:search";
46 
47  const std::string XMLNS_IQ_OOB = "jabber:iq:oob";
48  const std::string XMLNS_X_DATA = "jabber:x:data";
49  const std::string XMLNS_X_EVENT = "jabber:x:event";
50  const std::string XMLNS_X_OOB = "jabber:x:oob";
51  const std::string XMLNS_X_DELAY = "jabber:x:delay";
52 
53  const std::string XMLNS_X_GPGSIGNED = "jabber:x:signed";
54  const std::string XMLNS_X_GPGENCRYPTED = "jabber:x:encrypted";
55  const std::string XMLNS_VCARD_TEMP = "vcard-temp";
56  const std::string XMLNS_X_VCARD_UPDATE = "vcard-temp:x:update";
57  const std::string XMLNS_BOOKMARKS = "storage:bookmarks";
58 
59  const std::string XMLNS_ANNOTATIONS = "storage:rosternotes";
60  const std::string XMLNS_ROSTER_DELIMITER = "roster:delimiter";
61  const std::string XMLNS_XMPP_PING = "urn:xmpp:ping";
62  const std::string XMLNS_SI = "http://jabber.org/protocol/si";
63  const std::string XMLNS_SI_FT = "http://jabber.org/protocol/si/profile/file-transfer";
64 
65  const std::string XMLNS_BYTESTREAMS = "http://jabber.org/protocol/bytestreams";
66  const std::string XMLNS_MUC = "http://jabber.org/protocol/muc";
67  const std::string XMLNS_MUC_USER = "http://jabber.org/protocol/muc#user";
68  const std::string XMLNS_MUC_ADMIN = "http://jabber.org/protocol/muc#admin";
69  const std::string XMLNS_MUC_UNIQUE = "http://jabber.org/protocol/muc#unique";
70 
71  const std::string XMLNS_MUC_OWNER = "http://jabber.org/protocol/muc#owner";
72  const std::string XMLNS_MUC_ROOMINFO = "http://jabber.org/protocol/muc#roominfo";
73  const std::string XMLNS_MUC_ROOMS = "http://jabber.org/protocol/muc#rooms";
74  const std::string XMLNS_MUC_REQUEST = "http://jabber.org/protocol/muc#request";
75  const std::string XMLNS_XMPP_STREAM = "urn:ietf:params:xml:ns:xmpp-streams";
76 
77  const std::string XMLNS_XMPP_STANZAS = "urn:ietf:params:xml:ns:xmpp-stanzas";
78  const std::string XMLNS_STREAM_TLS = "urn:ietf:params:xml:ns:xmpp-tls";
79  const std::string XMLNS_STREAM_SASL = "urn:ietf:params:xml:ns:xmpp-sasl";
80  const std::string XMLNS_STREAM_BIND = "urn:ietf:params:xml:ns:xmpp-bind";
81  const std::string XMLNS_STREAM_SESSION = "urn:ietf:params:xml:ns:xmpp-session";
82 
83  const std::string XMLNS_STREAM_IQAUTH = "http://jabber.org/features/iq-auth";
84  const std::string XMLNS_STREAM_IQREGISTER = "http://jabber.org/features/iq-register";
85  const std::string XMLNS_STREAM_COMPRESS = "http://jabber.org/features/compress";
86 
87  const std::string XMPP_STREAM_VERSION_MAJOR = "1";
88  const std::string XMPP_STREAM_VERSION_MINOR = "0";
89  const std::string GLOOX_VERSION = "0.9.9.12";
90 
91 }
92 
93 const char* gloox_version()
94 {
95  return gloox::GLOOX_VERSION.c_str();
96 }