gloox.cpp
/*
Copyright (c) 2005-2023 by Jakob Schröter <js@camaya.net>
This file is part of the gloox library. http://camaya.net/gloox
This software is distributed under a license. The full license
agreement can be found in the file LICENSE in this distribution.
This software may not be copied, modified, sold or distributed
other than expressed in the named license agreement.
This software is distributed without any warranty.
*/
#include "gloox.h"
namespace gloox
{
const std::string XMLNS_CLIENT = "jabber:client";
const std::string XMLNS_COMPONENT_ACCEPT = "jabber:component:accept";
const std::string XMLNS_COMPONENT_CONNECT = "jabber:component:connect";
const std::string XMLNS_DISCO_INFO = "http://jabber.org/protocol/disco#info";
const std::string XMLNS_DISCO_ITEMS = "http://jabber.org/protocol/disco#items";
const std::string XMLNS_DISCO_PUBLISH = "http://jabber.org/protocol/disco#publish";
const std::string XMLNS_ADHOC_COMMANDS = "http://jabber.org/protocol/commands";
const std::string XMLNS_COMPRESSION = "http://jabber.org/protocol/compress";
const std::string XMLNS_OFFLINE = "http://jabber.org/protocol/offline";
const std::string XMLNS_CHAT_STATES = "http://jabber.org/protocol/chatstates";
const std::string XMLNS_AMP = "http://jabber.org/protocol/amp";
const std::string XMLNS_IBB = "http://jabber.org/protocol/ibb";
const std::string XMLNS_FEATURE_NEG = "http://jabber.org/protocol/feature-neg";
const std::string XMLNS_CHATNEG = "http://jabber.org/protocol/chatneg";
const std::string XMLNS_XHTML_IM = "http://jabber.org/protocol/xhtml-im";
const std::string XMLNS_DELAY = "urn:xmpp:delay";
const std::string XMLNS_ROSTER = "jabber:iq:roster";
const std::string XMLNS_VERSION = "jabber:iq:version";
const std::string XMLNS_REGISTER = "jabber:iq:register";
const std::string XMLNS_PRIVACY = "jabber:iq:privacy";
const std::string XMLNS_AUTH = "jabber:iq:auth";
const std::string XMLNS_PRIVATE_XML = "jabber:iq:private";
const std::string XMLNS_LAST = "jabber:iq:last";
const std::string XMLNS_SEARCH = "jabber:iq:search";
const std::string XMLNS_IQ_OOB = "jabber:iq:oob";
const std::string XMLNS_X_DATA = "jabber:x:data";
const std::string XMLNS_X_EVENT = "jabber:x:event";
const std::string XMLNS_X_OOB = "jabber:x:oob";
const std::string XMLNS_X_DELAY = "jabber:x:delay";
const std::string XMLNS_X_GPGSIGNED = "jabber:x:signed";
const std::string XMLNS_X_GPGENCRYPTED = "jabber:x:encrypted";
const std::string XMLNS_VCARD_TEMP = "vcard-temp";
const std::string XMLNS_X_VCARD_UPDATE = "vcard-temp:x:update";
const std::string XMLNS_BOOKMARKS = "storage:bookmarks";
const std::string XMLNS_ANNOTATIONS = "storage:rosternotes";
const std::string XMLNS_ROSTER_DELIMITER = "roster:delimiter";
const std::string XMLNS_XMPP_PING = "urn:xmpp:ping";
const std::string XMLNS_SI = "http://jabber.org/protocol/si";
const std::string XMLNS_SI_FT = "http://jabber.org/protocol/si/profile/file-transfer";
const std::string XMLNS_BYTESTREAMS = "http://jabber.org/protocol/bytestreams";
const std::string XMLNS_MUC = "http://jabber.org/protocol/muc";
const std::string XMLNS_MUC_USER = "http://jabber.org/protocol/muc#user";
const std::string XMLNS_MUC_ADMIN = "http://jabber.org/protocol/muc#admin";
const std::string XMLNS_MUC_UNIQUE = "http://jabber.org/protocol/muc#unique";
const std::string XMLNS_MUC_OWNER = "http://jabber.org/protocol/muc#owner";
const std::string XMLNS_MUC_ROOMINFO = "http://jabber.org/protocol/muc#roominfo";
const std::string XMLNS_MUC_ROOMS = "http://jabber.org/protocol/muc#rooms";
const std::string XMLNS_MUC_REQUEST = "http://jabber.org/protocol/muc#request";
const std::string XMLNS_PUBSUB = "http://jabber.org/protocol/pubsub";
const std::string XMLNS_PUBSUB_ERRORS = "http://jabber.org/protocol/pubsub#errors";
const std::string XMLNS_PUBSUB_EVENT = "http://jabber.org/protocol/pubsub#event";
const std::string XMLNS_PUBSUB_OWNER = "http://jabber.org/protocol/pubsub#owner";
const std::string XMLNS_CAPS = "http://jabber.org/protocol/caps";
const std::string XMLNS_FT_FASTMODE = "http://affinix.com/jabber/stream";
const std::string XMLNS_STREAM = "http://etherx.jabber.org/streams";
const std::string XMLNS_XMPP_STREAM = "urn:ietf:params:xml:ns:xmpp-streams";
const std::string XMLNS_XMPP_STANZAS = "urn:ietf:params:xml:ns:xmpp-stanzas";
const std::string XMLNS_STREAM_TLS = "urn:ietf:params:xml:ns:xmpp-tls";
const std::string XMLNS_STREAM_SASL = "urn:ietf:params:xml:ns:xmpp-sasl";
const std::string XMLNS_STREAM_BIND = "urn:ietf:params:xml:ns:xmpp-bind";
const std::string XMLNS_STREAM_SESSION = "urn:ietf:params:xml:ns:xmpp-session";
const std::string XMLNS_STREAM_IQAUTH = "http://jabber.org/features/iq-auth";
const std::string XMLNS_STREAM_IQREGISTER = "http://jabber.org/features/iq-register";
const std::string XMLNS_STREAM_COMPRESS = "http://jabber.org/features/compress";
const std::string XMLNS_HTTPBIND = "http://jabber.org/protocol/httpbind";
const std::string XMLNS_XMPP_BOSH = "urn:xmpp:xbosh";
const std::string XMLNS_RECEIPTS = "urn:xmpp:receipts";
const std::string XMLNS_NICKNAME = "http://jabber.org/protocol/nick";
const std::string XMLNS_JINGLE = "urn:xmpp:jingle:1";
const std::string XMLNS_JINGLE_ERRORS = "urn:xmpp:jingle:errors:1";
const std::string XMLNS_JINGLE_ICE_UDP = "urn:xmpp:jingle:transports:ice-udp:1";
const std::string XMLNS_JINGLE_FILE_TRANSFER = "urn:xmpp:jingle:apps:file-transfer:3";
const std::string XMLNS_JINGLE_FILE_TRANSFER_MULTI = "urn:xmpp:jingle:apps:file-transfer:multi";
const std::string XMLNS_SHIM = "http://jabber.org/protocol/shim";
const std::string XMLNS_ATTENTION = "urn:xmpp:attention:0";
const std::string XMLNS_STREAM_MANAGEMENT = "urn:xmpp:sm:3";
const std::string XMLNS_STANZA_FORWARDING = "urn:xmpp:forward:0";
const std::string XMLNS_MESSAGE_CARBONS = "urn:xmpp:carbons:2";
const std::string XMLNS_HASHES = "urn:xmpp:hashes:1";
const std::string XMLNS_IODATA = "urn:xmpp:tmp:io-data";
const std::string XMLNS_CLIENT_STATE_INDICATION = "urn:xmpp:csi:0";
const std::string XMPP_STREAM_VERSION_MAJOR = "1";
const std::string XMPP_STREAM_VERSION_MINOR = "0";
const std::string GLOOX_VERSION = "1.0.28";
const std::string GLOOX_CAPS_NODE = "http://camaya.net/gloox";
const std::string XMLNS = "xmlns";
const std::string TYPE = "type";
const std::string EmptyString = "";
}
const char* gloox_version()
{
return gloox::GLOOX_VERSION.c_str();
}
gloox
The namespace for the gloox library.
Definition adhoc.cpp:28
gloox::XMLNS_DISCO_PUBLISH
const std::string XMLNS_DISCO_PUBLISH
Definition gloox.cpp:25
gloox::XMLNS_STREAM
const std::string XMLNS_STREAM
Definition gloox.cpp:84
gloox::XMLNS_STREAM_COMPRESS
const std::string XMLNS_STREAM_COMPRESS
Definition gloox.cpp:95
gloox::XMLNS_LAST
const std::string XMLNS_LAST
Definition gloox.cpp:45
gloox::XMLNS_FT_FASTMODE
const std::string XMLNS_FT_FASTMODE
Definition gloox.cpp:83
gloox::XMLNS_X_VCARD_UPDATE
const std::string XMLNS_X_VCARD_UPDATE
Definition gloox.cpp:57
gloox::XMLNS_X_GPGENCRYPTED
const std::string XMLNS_X_GPGENCRYPTED
Definition gloox.cpp:55
gloox::XMLNS_IQ_OOB
const std::string XMLNS_IQ_OOB
Definition gloox.cpp:48
gloox::XMLNS_VERSION
const std::string XMLNS_VERSION
Definition gloox.cpp:39
gloox::XMLNS_MESSAGE_CARBONS
const std::string XMLNS_MESSAGE_CARBONS
Definition gloox.cpp:111
gloox::XMLNS_X_EVENT
const std::string XMLNS_X_EVENT
Definition gloox.cpp:50
gloox::GLOOX_VERSION
const std::string GLOOX_VERSION
Definition gloox.cpp:119
gloox::XMLNS_XMPP_PING
const std::string XMLNS_XMPP_PING
Definition gloox.cpp:62
gloox::XMLNS_PRIVATE_XML
const std::string XMLNS_PRIVATE_XML
Definition gloox.cpp:44
gloox::XMLNS_ATTENTION
const std::string XMLNS_ATTENTION
Definition gloox.cpp:108
gloox::XMLNS_DELAY
const std::string XMLNS_DELAY
Definition gloox.cpp:37
gloox::XMLNS_XMPP_STREAM
const std::string XMLNS_XMPP_STREAM
Definition gloox.cpp:85
gloox::XMLNS_RECEIPTS
const std::string XMLNS_RECEIPTS
Definition gloox.cpp:98
gloox::XMLNS_COMPONENT_CONNECT
const std::string XMLNS_COMPONENT_CONNECT
Definition gloox.cpp:21
gloox::XMLNS_MUC_UNIQUE
const std::string XMLNS_MUC_UNIQUE
Definition gloox.cpp:71
gloox::XMLNS_XMPP_STANZAS
const std::string XMLNS_XMPP_STANZAS
Definition gloox.cpp:86
gloox::XMLNS_JINGLE
const std::string XMLNS_JINGLE
Definition gloox.cpp:101
gloox::XMLNS_X_OOB
const std::string XMLNS_X_OOB
Definition gloox.cpp:51
gloox::XMLNS_MUC_ROOMINFO
const std::string XMLNS_MUC_ROOMINFO
Definition gloox.cpp:73
gloox::XMLNS_JINGLE_FILE_TRANSFER_MULTI
const std::string XMLNS_JINGLE_FILE_TRANSFER_MULTI
Definition gloox.cpp:105
gloox::XMLNS_STREAM_BIND
const std::string XMLNS_STREAM_BIND
Definition gloox.cpp:90
gloox::XMLNS_MUC_OWNER
const std::string XMLNS_MUC_OWNER
Definition gloox.cpp:72
gloox::XMLNS_IBB
const std::string XMLNS_IBB
Definition gloox.cpp:32
gloox::XMLNS_STREAM_IQREGISTER
const std::string XMLNS_STREAM_IQREGISTER
Definition gloox.cpp:93
gloox::XMLNS_STANZA_FORWARDING
const std::string XMLNS_STANZA_FORWARDING
Definition gloox.cpp:110
gloox::XMPP_STREAM_VERSION_MAJOR
const std::string XMPP_STREAM_VERSION_MAJOR
Definition gloox.cpp:117
gloox::XMLNS_REGISTER
const std::string XMLNS_REGISTER
Definition gloox.cpp:41
gloox::XMLNS_COMPONENT_ACCEPT
const std::string XMLNS_COMPONENT_ACCEPT
Definition gloox.cpp:20
gloox::XMLNS_FEATURE_NEG
const std::string XMLNS_FEATURE_NEG
Definition gloox.cpp:33
gloox::XMLNS_MUC_REQUEST
const std::string XMLNS_MUC_REQUEST
Definition gloox.cpp:75
gloox::XMLNS_NICKNAME
const std::string XMLNS_NICKNAME
Definition gloox.cpp:99
gloox::XMLNS_CLIENT
const std::string XMLNS_CLIENT
Definition gloox.cpp:19
gloox::XMLNS_X_DELAY
const std::string XMLNS_X_DELAY
Definition gloox.cpp:53
gloox::XMLNS_DISCO_ITEMS
const std::string XMLNS_DISCO_ITEMS
Definition gloox.cpp:24
gloox::XMLNS_PUBSUB_ERRORS
const std::string XMLNS_PUBSUB_ERRORS
Definition gloox.cpp:78
gloox::XMLNS_ANNOTATIONS
const std::string XMLNS_ANNOTATIONS
Definition gloox.cpp:60
gloox::XMLNS_STREAM_SASL
const std::string XMLNS_STREAM_SASL
Definition gloox.cpp:89
gloox::XMLNS_BOOKMARKS
const std::string XMLNS_BOOKMARKS
Definition gloox.cpp:59
gloox::XMLNS_PUBSUB_EVENT
const std::string XMLNS_PUBSUB_EVENT
Definition gloox.cpp:79
gloox::XMLNS_X_DATA
const std::string XMLNS_X_DATA
Definition gloox.cpp:49
gloox::XMLNS_VCARD_TEMP
const std::string XMLNS_VCARD_TEMP
Definition gloox.cpp:56
gloox::GLOOX_CAPS_NODE
const std::string GLOOX_CAPS_NODE
Definition gloox.cpp:120
gloox::XMPP_STREAM_VERSION_MINOR
const std::string XMPP_STREAM_VERSION_MINOR
Definition gloox.cpp:118
gloox::XMLNS_DISCO_INFO
const std::string XMLNS_DISCO_INFO
Definition gloox.cpp:23
gloox::XMLNS_STREAM_SESSION
const std::string XMLNS_STREAM_SESSION
Definition gloox.cpp:91
gloox::EmptyString
const std::string EmptyString
Definition gloox.cpp:124
gloox::XMLNS_STREAM_IQAUTH
const std::string XMLNS_STREAM_IQAUTH
Definition gloox.cpp:92
gloox::XMLNS
const std::string XMLNS
Definition gloox.cpp:122
gloox::TYPE
const std::string TYPE
Definition gloox.cpp:123
gloox::XMLNS_CLIENT_STATE_INDICATION
const std::string XMLNS_CLIENT_STATE_INDICATION
Definition gloox.cpp:115
gloox::XMLNS_SI_FT
const std::string XMLNS_SI_FT
Definition gloox.cpp:65
gloox::XMLNS_ROSTER
const std::string XMLNS_ROSTER
Definition gloox.cpp:38
gloox::XMLNS_AMP
const std::string XMLNS_AMP
Definition gloox.cpp:31
gloox::XMLNS_PRIVACY
const std::string XMLNS_PRIVACY
Definition gloox.cpp:42
gloox::XMLNS_IODATA
const std::string XMLNS_IODATA
Definition gloox.cpp:114
gloox::XMLNS_MUC_USER
const std::string XMLNS_MUC_USER
Definition gloox.cpp:68
gloox::XMLNS_MUC_ADMIN
const std::string XMLNS_MUC_ADMIN
Definition gloox.cpp:69
gloox::XMLNS_X_GPGSIGNED
const std::string XMLNS_X_GPGSIGNED
Definition gloox.cpp:54
gloox::XMLNS_AUTH
const std::string XMLNS_AUTH
Definition gloox.cpp:43
gloox::XMLNS_SI
const std::string XMLNS_SI
Definition gloox.cpp:63
gloox::XMLNS_CAPS
const std::string XMLNS_CAPS
Definition gloox.cpp:81
gloox::XMLNS_COMPRESSION
const std::string XMLNS_COMPRESSION
Definition gloox.cpp:27
gloox::XMLNS_SHIM
const std::string XMLNS_SHIM
Definition gloox.cpp:107
gloox::XMLNS_ADHOC_COMMANDS
const std::string XMLNS_ADHOC_COMMANDS
Definition gloox.cpp:26
gloox::XMLNS_JINGLE_ERRORS
const std::string XMLNS_JINGLE_ERRORS
Definition gloox.cpp:102
gloox::XMLNS_PUBSUB_OWNER
const std::string XMLNS_PUBSUB_OWNER
Definition gloox.cpp:80
gloox::XMLNS_STREAM_TLS
const std::string XMLNS_STREAM_TLS
Definition gloox.cpp:87
gloox::XMLNS_CHAT_STATES
const std::string XMLNS_CHAT_STATES
Definition gloox.cpp:30
gloox::XMLNS_OFFLINE
const std::string XMLNS_OFFLINE
Definition gloox.cpp:29
gloox::XMLNS_XMPP_BOSH
const std::string XMLNS_XMPP_BOSH
Definition gloox.cpp:97
gloox::XMLNS_ROSTER_DELIMITER
const std::string XMLNS_ROSTER_DELIMITER
Definition gloox.cpp:61
gloox::XMLNS_BYTESTREAMS
const std::string XMLNS_BYTESTREAMS
Definition gloox.cpp:66
gloox::XMLNS_SEARCH
const std::string XMLNS_SEARCH
Definition gloox.cpp:47
gloox::XMLNS_JINGLE_ICE_UDP
const std::string XMLNS_JINGLE_ICE_UDP
Definition gloox.cpp:103
gloox::XMLNS_MUC_ROOMS
const std::string XMLNS_MUC_ROOMS
Definition gloox.cpp:74
gloox::XMLNS_STREAM_MANAGEMENT
const std::string XMLNS_STREAM_MANAGEMENT
Definition gloox.cpp:109
gloox::XMLNS_PUBSUB
const std::string XMLNS_PUBSUB
Definition gloox.cpp:77
gloox::XMLNS_HTTPBIND
const std::string XMLNS_HTTPBIND
Definition gloox.cpp:96
gloox::XMLNS_XHTML_IM
const std::string XMLNS_XHTML_IM
Definition gloox.cpp:36
gloox::XMLNS_CHATNEG
const std::string XMLNS_CHATNEG
Definition gloox.cpp:35
gloox::XMLNS_HASHES
const std::string XMLNS_HASHES
Definition gloox.cpp:113
gloox::XMLNS_MUC
const std::string XMLNS_MUC
Definition gloox.cpp:67
gloox::XMLNS_JINGLE_FILE_TRANSFER
const std::string XMLNS_JINGLE_FILE_TRANSFER
Definition gloox.cpp:104