1 /*
2  * Copyright (C) 2008-2021 The QXmpp developers
3  *
4  * Author:
5  *  Manjeet Dahiya
6  *
7  * Source:
8  *  https://github.com/qxmpp-project/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 
24 #ifndef QXMPPCONSTANTS_H
25 #define QXMPPCONSTANTS_H
26 
27 //
28 //  W A R N I N G
29 //  -------------
30 //
31 // This file is not part of the QXmpp API.  It exists for the convenience
32 // of QXmpp's own classes.  This header file may change from version to
33 // version without notice, or even be removed.
34 //
35 // We mean it.
36 //
37 
38 extern const char* ns_stream;
39 extern const char* ns_client;
40 extern const char* ns_server;
41 extern const char* ns_roster;
42 extern const char* ns_tls;
43 extern const char* ns_sasl;
44 extern const char* ns_bind;
45 extern const char* ns_session;
46 extern const char* ns_stanza;
47 extern const char* ns_pre_approval;
48 extern const char* ns_rosterver;
49 // XEP-0009: Jabber-RPC
50 extern const char* ns_rpc;
51 // XEP-0020: Feature Negotiation
52 extern const char* ns_feature_negotiation;
53 // XEP-0027: Current Jabber OpenPGP Usage
54 extern const char* ns_legacy_openpgp;
55 // XEP-0030: Service Discovery
56 extern const char* ns_disco_info;
57 extern const char* ns_disco_items;
58 // XEP-0033: Extended Stanza Addressing
59 extern const char* ns_extended_addressing;
60 // XEP-0045: Multi-User Chat
61 extern const char* ns_muc;
62 extern const char* ns_muc_admin;
63 extern const char* ns_muc_owner;
64 extern const char* ns_muc_user;
65 // XEP-0047: In-Band Bytestreams
66 extern const char* ns_ibb;
67 // XEP-0049: Private XML Storage
68 extern const char* ns_private;
69 // XEP-0054: vcard-temp
70 extern const char* ns_vcard;
71 // XEP-0059: Result Set Management
72 extern const char* ns_rsm;
73 // XEP-0060: Publish-Subscribe
74 extern const char* ns_pubsub;
75 // XEP-0065: SOCKS5 Bytestreams
76 extern const char* ns_bytestreams;
77 // XEP-0066: Out of Band Data
78 extern const char* ns_oob;
79 // XEP-0071: XHTML-IM
80 extern const char* ns_xhtml;
81 extern const char* ns_xhtml_im;
82 // XEP-0077: In-Band Registration
83 extern const char* ns_register;
84 extern const char* ns_register_feature;
85 // XEP-0078: Non-SASL Authentication
86 extern const char* ns_auth;
87 extern const char* ns_authFeature;
88 // XEP-0085: Chat State Notifications
89 extern const char* ns_chat_states;
90 // XEP-0091: Legacy Delayed Delivery
91 extern const char* ns_legacy_delayed_delivery;
92 // XEP-0092: Software Version
93 extern const char* ns_version;
94 extern const char* ns_data;
95 // XEP-0095: Stream Initiation
96 extern const char* ns_stream_initiation;
97 extern const char* ns_stream_initiation_file_transfer;
98 // XEP-0108: User Activity
99 extern const char* ns_activity;
100 // XEP-0115: Entity Capabilities
101 extern const char* ns_capabilities;
102 // XEP-0136: Message Archiving
103 extern const char* ns_archive;
104 // XEP-0138: Stream Compression
105 extern const char* ns_compress;
106 extern const char* ns_compressFeature;
107 // XEP-0145: Annotations
108 extern const char* ns_rosternotes;
109 // XEP-0153: vCard-Based Avatars
110 extern const char* ns_vcard_update;
111 // XEP-0158: CAPTCHA Forms
112 extern const char* ns_captcha;
113 // XEP-0166: Jingle
114 extern const char* ns_jingle;
115 extern const char* ns_jingle_ice_udp;
116 extern const char* ns_jingle_raw_udp;
117 extern const char* ns_jingle_rtp;
118 extern const char* ns_jingle_rtp_audio;
119 extern const char* ns_jingle_rtp_video;
120 // XEP-0184: Message Receipts
121 extern const char* ns_message_receipts;
122 // XEP-0198: Stream Management
123 extern const char* ns_stream_management;
124 // XEP-0199: XMPP Ping
125 extern const char* ns_ping;
126 // XEP-0202: Entity Time
127 extern const char* ns_entity_time;
128 // XEP-0203: Delayed Delivery
129 extern const char* ns_delayed_delivery;
130 // XEP-0220: Server Dialback
131 extern const char* ns_server_dialback;
132 // XEP-0221: Data Forms Media Element
133 extern const char* ns_media_element;
134 // XEP-0224: Attention
135 extern const char* ns_attention;
136 // XEP-0231: Bits of Binary
137 extern const char* ns_bob;
138 // XEP-0249: Direct MUC Invitations
139 extern const char* ns_conference;
140 // XEP-0280: Message Carbons
141 extern const char* ns_carbons;
142 // XEP-0297: Stanza Forwarding
143 extern const char* ns_forwarding;
144 // XEP-0308: Last Message Correction
145 extern const char* ns_message_correct;
146 // XEP-0313: Message Archive Management
147 extern const char* ns_mam;
148 // XEP-0319: Last User Interaction in Presence
149 extern const char* ns_idle;
150 // XEP-0333: Char Markers
151 extern const char* ns_chat_markers;
152 // XEP-0334: Message Processing Hints:
153 extern const char* ns_message_processing_hints;
154 // XEP-0352: Client State Indication
155 extern const char* ns_csi;
156 // XEP-0357: Push Notifications
157 extern const char* ns_push;
158 // XEP-0359: Unique and Stable Stanza IDs
159 extern const char* ns_sid;
160 // XEP-0363: HTTP File Upload
161 extern const char* ns_http_upload;
162 // XEP-0364: Current Off-the-Record Messaging Usage
163 extern const char* ns_otr;
164 // XEP-0367: Message Attaching
165 extern const char* ns_message_attaching;
166 // XEP-0369: Mediated Information eXchange (MIX)
167 extern const char* ns_mix;
168 extern const char* ns_mix_create_channel;
169 extern const char* ns_mix_searchable;
170 extern const char* ns_mix_node_messages;
171 extern const char* ns_mix_node_participants;
172 extern const char* ns_mix_node_presence;
173 extern const char* ns_mix_node_config;
174 extern const char* ns_mix_node_info;
175 // XEP-0373: OpenPGP for XMPP
176 extern const char* ns_ox;
177 // XEP-0380: Explicit Message Encryption
178 extern const char* ns_eme;
179 // XEP-0382: Spoiler messages
180 extern const char* ns_spoiler;
181 // XEP-0384: OMEMO Encryption
182 extern const char* ns_omemo;
183 // XEP-0405: Mediated Information eXchange (MIX): Participant Server Requirements
184 extern const char* ns_mix_pam;
185 extern const char* ns_mix_roster;
186 extern const char* ns_mix_presence;
187 // XEP-0407: Mediated Information eXchange (MIX): Miscellaneous Capabilities
188 extern const char* ns_mix_misc;
189 // XEP-0428: Fallback Indication
190 extern const char* ns_fallback_indication;
191 
192 #endif  // QXMPPCONSTANTS_H
193