5#ifndef QXMPPCONSTANTS_H
6#define QXMPPCONSTANTS_H
21namespace QXmpp::Private {
23constexpr quint16 XMPP_DEFAULT_PORT = 5222;
24constexpr quint16 XMPPS_DEFAULT_PORT = 5223;
25constexpr quint16 XMPP_SERVER_DEFAULT_PORT = 5269;
29inline constexpr QStringView ns_qxmpp_credentials = u
"org.qxmpp.credentials";
30inline constexpr QStringView ns_qxmpp_export = u
"org.qxmpp.export";
32inline constexpr QStringView ns_stream = u
"http://etherx.jabber.org/streams";
33inline constexpr QStringView ns_client = u
"jabber:client";
34inline constexpr QStringView ns_server = u
"jabber:server";
35inline constexpr QStringView ns_roster = u
"jabber:iq:roster";
36inline constexpr QStringView ns_tls = u
"urn:ietf:params:xml:ns:xmpp-tls";
37inline constexpr QStringView ns_sasl = u
"urn:ietf:params:xml:ns:xmpp-sasl";
38inline constexpr QStringView ns_bind = u
"urn:ietf:params:xml:ns:xmpp-bind";
39inline constexpr QStringView ns_stream_error = u
"urn:ietf:params:xml:ns:xmpp-streams";
40inline constexpr QStringView ns_session = u
"urn:ietf:params:xml:ns:xmpp-session";
41inline constexpr QStringView ns_stanza = u
"urn:ietf:params:xml:ns:xmpp-stanzas";
42inline constexpr QStringView ns_pre_approval = u
"urn:xmpp:features:pre-approval";
43inline constexpr QStringView ns_rosterver = u
"urn:xmpp:features:rosterver";
45inline constexpr QStringView ns_rpc = u
"jabber:iq:rpc";
47inline constexpr QStringView ns_feature_negotiation = u
"http://jabber.org/protocol/feature-neg";
49inline constexpr QStringView ns_legacy_openpgp = u
"jabber:x:encrypted";
51inline constexpr QStringView ns_disco_info = u
"http://jabber.org/protocol/disco#info";
52inline constexpr QStringView ns_disco_items = u
"http://jabber.org/protocol/disco#items";
54inline constexpr QStringView ns_extended_addressing = u
"http://jabber.org/protocol/address";
56inline constexpr QStringView ns_muc = u
"http://jabber.org/protocol/muc";
57inline constexpr QStringView ns_muc_admin = u
"http://jabber.org/protocol/muc#admin";
58inline constexpr QStringView ns_muc_owner = u
"http://jabber.org/protocol/muc#owner";
59inline constexpr QStringView ns_muc_user = u
"http://jabber.org/protocol/muc#user";
61inline constexpr QStringView ns_ibb = u
"http://jabber.org/protocol/ibb";
63inline constexpr QStringView ns_bookmarks = u
"storage:bookmarks";
65inline constexpr QStringView ns_private = u
"jabber:iq:private";
67inline constexpr QStringView ns_vcard = u
"vcard-temp";
69inline constexpr QStringView ns_rsm = u
"http://jabber.org/protocol/rsm";
71inline constexpr QStringView ns_pubsub = u
"http://jabber.org/protocol/pubsub";
72inline constexpr QStringView ns_pubsub_auto_create = u
"http://jabber.org/protocol/pubsub#auto-create";
73inline constexpr QStringView ns_pubsub_config_node = u
"http://jabber.org/protocol/pubsub#config-node";
74inline constexpr QStringView ns_pubsub_config_node_max = u
"http://jabber.org/protocol/pubsub#config-node-max";
75inline constexpr QStringView ns_pubsub_create_and_configure = u
"http://jabber.org/protocol/pubsub#create-and-configure";
76inline constexpr QStringView ns_pubsub_create_nodes = u
"http://jabber.org/protocol/pubsub#create-nodes";
77inline constexpr QStringView ns_pubsub_errors = u
"http://jabber.org/protocol/pubsub#errors";
78inline constexpr QStringView ns_pubsub_event = u
"http://jabber.org/protocol/pubsub#event";
79inline constexpr QStringView ns_pubsub_multi_items = u
"http://jabber.org/protocol/pubsub#multi-items";
80inline constexpr QStringView ns_pubsub_node_config = u
"http://jabber.org/protocol/pubsub#node_config";
81inline constexpr QStringView ns_pubsub_owner = u
"http://jabber.org/protocol/pubsub#owner";
82inline constexpr QStringView ns_pubsub_publish = u
"http://jabber.org/protocol/pubsub#publish";
83inline constexpr QStringView ns_pubsub_publish_options = u
"http://jabber.org/protocol/pubsub#publish-options";
84inline constexpr QStringView ns_pubsub_rsm = u
"http://jabber.org/protocol/pubsub#rsm";
86inline constexpr QStringView ns_bytestreams = u
"http://jabber.org/protocol/bytestreams";
88inline constexpr QStringView ns_oob = u
"jabber:x:oob";
90inline constexpr QStringView ns_xhtml = u
"http://www.w3.org/1999/xhtml";
91inline constexpr QStringView ns_xhtml_im = u
"http://jabber.org/protocol/xhtml-im";
93inline constexpr QStringView ns_register = u
"jabber:iq:register";
94inline constexpr QStringView ns_register_feature = u
"http://jabber.org/features/iq-register";
96inline constexpr QStringView ns_auth = u
"jabber:iq:auth";
97inline constexpr QStringView ns_authFeature = u
"http://jabber.org/features/iq-auth";
99inline constexpr QStringView ns_geoloc = u
"http://jabber.org/protocol/geoloc";
100inline constexpr QStringView ns_geoloc_notify = u
"http://jabber.org/protocol/geoloc+notify";
102inline constexpr QStringView ns_user_avatar_data = u
"urn:xmpp:avatar:data";
103inline constexpr QStringView ns_user_avatar_metadata = u
"urn:xmpp:avatar:metadata";
105inline constexpr QStringView ns_chat_states = u
"http://jabber.org/protocol/chatstates";
107inline constexpr QStringView ns_legacy_delayed_delivery = u
"jabber:x:delay";
109inline constexpr QStringView ns_version = u
"jabber:iq:version";
110inline constexpr QStringView ns_data = u
"jabber:x:data";
112inline constexpr QStringView ns_stream_initiation = u
"http://jabber.org/protocol/si";
113inline constexpr QStringView ns_stream_initiation_file_transfer = u
"http://jabber.org/protocol/si/profile/file-transfer";
115inline constexpr QStringView ns_url_data = u
"http://jabber.org/protocol/url-data";
117inline constexpr QStringView ns_activity = u
"http://jabber.org/protocol/activity";
119inline constexpr QStringView ns_capabilities = u
"http://jabber.org/protocol/caps";
121inline constexpr QStringView ns_tune = u
"http://jabber.org/protocol/tune";
122inline constexpr QStringView ns_tune_notify = u
"http://jabber.org/protocol/tune+notify";
124inline constexpr QStringView ns_archive = u
"urn:xmpp:archive";
126inline constexpr QStringView ns_compress = u
"http://jabber.org/protocol/compress";
127inline constexpr QStringView ns_compressFeature = u
"http://jabber.org/features/compress";
129inline constexpr QStringView ns_rosternotes = u
"storage:rosternotes";
131inline constexpr QStringView ns_vcard_update = u
"vcard-temp:x:update";
133inline constexpr QStringView ns_captcha = u
"urn:xmpp:captcha";
135inline constexpr QStringView ns_jingle = u
"urn:xmpp:jingle:1";
136inline constexpr QStringView ns_jingle_raw_udp = u
"urn:xmpp:jingle:transports:raw-udp:1";
137inline constexpr QStringView ns_jingle_ice_udp = u
"urn:xmpp:jingle:transports:ice-udp:1";
139inline constexpr QStringView ns_jingle_rtp = u
"urn:xmpp:jingle:apps:rtp:1";
140inline constexpr QStringView ns_jingle_rtp_audio = u
"urn:xmpp:jingle:apps:rtp:audio";
141inline constexpr QStringView ns_jingle_rtp_video = u
"urn:xmpp:jingle:apps:rtp:video";
142inline constexpr QStringView ns_jingle_rtp_info = u
"urn:xmpp:jingle:apps:rtp:info:1";
143inline constexpr QStringView ns_jingle_rtp_errors = u
"urn:xmpp:jingle:apps:rtp:errors:1";
145inline constexpr QStringView ns_message_receipts = u
"urn:xmpp:receipts";
147inline constexpr QStringView ns_blocking = u
"urn:xmpp:blocking";
149inline constexpr QStringView ns_stream_management = u
"urn:xmpp:sm:3";
151inline constexpr QStringView ns_ping = u
"urn:xmpp:ping";
153inline constexpr QStringView ns_entity_time = u
"urn:xmpp:time";
155inline constexpr QStringView ns_delayed_delivery = u
"urn:xmpp:delay";
157inline constexpr QStringView ns_external_service_discovery = u
"urn:xmpp:extdisco:2";
159inline constexpr QStringView ns_server_dialback = u
"jabber:server:dialback";
161inline constexpr QStringView ns_media_element = u
"urn:xmpp:media-element";
163inline constexpr QStringView ns_attention = u
"urn:xmpp:attention:0";
165inline constexpr QStringView ns_bob = u
"urn:xmpp:bob";
167inline constexpr QStringView ns_conference = u
"jabber:x:conference";
169inline constexpr QStringView ns_thumbs = u
"urn:xmpp:thumbs:1";
171inline constexpr QStringView ns_muji = u
"urn:xmpp:jingle:muji:0";
173inline constexpr QStringView ns_carbons = u
"urn:xmpp:carbons:2";
175inline constexpr QStringView ns_moved = u
"urn:xmpp:moved:1";
177inline constexpr QStringView ns_jingle_rtp_feedback_negotiation = u
"urn:xmpp:jingle:apps:rtp:rtcp-fb:0";
179inline constexpr QStringView ns_jingle_rtp_header_extensions_negotiation = u
"urn:xmpp:jingle:apps:rtp:rtp-hdrext:0";
181inline constexpr QStringView ns_forwarding = u
"urn:xmpp:forward:0";
183inline constexpr QStringView ns_hashes = u
"urn:xmpp:hashes:2";
185inline constexpr QStringView ns_message_correct = u
"urn:xmpp:message-correct:0";
187inline constexpr QStringView ns_mam = u
"urn:xmpp:mam:2";
189inline constexpr QStringView ns_idle = u
"urn:xmpp:idle:1";
191inline constexpr QStringView ns_jingle_dtls = u
"urn:xmpp:jingle:apps:dtls:0";
193inline constexpr QStringView ns_chat_markers = u
"urn:xmpp:chat-markers:0";
195inline constexpr QStringView ns_message_processing_hints = u
"urn:xmpp:hints";
197inline constexpr QStringView ns_csi = u
"urn:xmpp:csi:0";
199inline constexpr QStringView ns_jingle_message_initiation = u
"urn:xmpp:jingle-message:0";
201inline constexpr QStringView ns_push = u
"urn:xmpp:push:0";
203inline constexpr QStringView ns_sid = u
"urn:xmpp:sid:0";
205inline constexpr QStringView ns_http_upload = u
"urn:xmpp:http:upload:0";
207inline constexpr QStringView ns_otr = u
"urn:xmpp:otr:0";
209inline constexpr QStringView ns_message_attaching = u
"urn:xmpp:message-attaching:1";
211inline constexpr QStringView ns_mix = u
"urn:xmpp:mix:core:1";
212inline constexpr QStringView ns_mix_create_channel = u
"urn:xmpp:mix:core:1#create-channel";
213inline constexpr QStringView ns_mix_searchable = u
"urn:xmpp:mix:core:1#searchable";
214inline constexpr QStringView ns_mix_node_info = u
"urn:xmpp:mix:nodes:info";
215inline constexpr QStringView ns_mix_node_messages = u
"urn:xmpp:mix:nodes:messages";
216inline constexpr QStringView ns_mix_node_participants = u
"urn:xmpp:mix:nodes:participants";
218inline constexpr QStringView ns_ox = u
"urn:xmpp:openpgp:0";
220inline constexpr QStringView ns_eme = u
"urn:xmpp:eme:0";
222inline constexpr QStringView ns_spoiler = u
"urn:xmpp:spoiler:0";
224inline constexpr QStringView ns_omemo = u
"eu.siacs.conversations.axolotl";
225inline constexpr QStringView ns_omemo_1 = u
"urn:xmpp:omemo:1";
226inline constexpr QStringView ns_omemo_2 = u
"urn:xmpp:omemo:2";
227inline constexpr QStringView ns_omemo_2_bundles = u
"urn:xmpp:omemo:2:bundles";
228inline constexpr QStringView ns_omemo_2_devices = u
"urn:xmpp:omemo:2:devices";
230inline constexpr QStringView ns_bind2 = u
"urn:xmpp:bind:0";
232inline constexpr QStringView ns_sasl_2 = u
"urn:xmpp:sasl:2";
234inline constexpr QStringView ns_mix_node_presence = u
"urn:xmpp:mix:nodes:presence";
236inline constexpr QStringView ns_mix_node_jidmap = u
"urn:xmpp:mix:nodes:jidmap";
238inline constexpr QStringView ns_mix_pam = u
"urn:xmpp:mix:pam:2";
239inline constexpr QStringView ns_mix_pam_archiving = u
"urn:xmpp:mix:pam:2#archive";
240inline constexpr QStringView ns_mix_roster = u
"urn:xmpp:mix:roster:0";
241inline constexpr QStringView ns_mix_presence = u
"urn:xmpp:presence:0";
243inline constexpr QStringView ns_mix_admin = u
"urn:xmpp:mix:admin:0";
244inline constexpr QStringView ns_mix_node_allowed = u
"urn:xmpp:mix:nodes:allowed";
245inline constexpr QStringView ns_mix_node_banned = u
"urn:xmpp:mix:nodes:banned";
246inline constexpr QStringView ns_mix_node_config = u
"urn:xmpp:mix:nodes:config";
248inline constexpr QStringView ns_mix_misc = u
"urn:xmpp:mix:misc:0";
250inline constexpr QStringView ns_fallback_indication = u
"urn:xmpp:fallback:0";
252inline constexpr QStringView ns_tm = u
"urn:xmpp:tm:1";
254inline constexpr QStringView ns_reactions = u
"urn:xmpp:reactions:0";
256inline constexpr QStringView ns_file_metadata = u
"urn:xmpp:file:metadata:0";
258inline constexpr QStringView ns_sfs = u
"urn:xmpp:sfs:0";
260inline constexpr QStringView ns_esfs = u
"urn:xmpp:esfs:0";
262inline constexpr QStringView ns_atm = u
"urn:xmpp:atm:1";
264inline constexpr QStringView ns_reply = u
"urn:xmpp:reply:0";
266inline constexpr QStringView ns_call_invites = u
"urn:xmpp:call-invites:0";
268inline constexpr auto ns_fast = u
"urn:xmpp:fast:0";