summaryrefslogtreecommitdiff
path: root/src/xmpp/xmpp_component.hpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-05-26 04:22:40 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-05-28 17:40:45 +0200
commit1c93afc9a7ec33d90c81062c3f1077b5cf84c212 (patch)
treecb6bb832454044a1bcdc436a0de4b131f7cf2db6 /src/xmpp/xmpp_component.hpp
parenta350caf6e0fb95263e929fde7dd4f58931f0825c (diff)
downloadbiboumi-1c93afc9a7ec33d90c81062c3f1077b5cf84c212.tar.gz
biboumi-1c93afc9a7ec33d90c81062c3f1077b5cf84c212.tar.bz2
biboumi-1c93afc9a7ec33d90c81062c3f1077b5cf84c212.tar.xz
biboumi-1c93afc9a7ec33d90c81062c3f1077b5cf84c212.zip
Change the way the namespaces are handled in the XmlNode class
Diffstat (limited to 'src/xmpp/xmpp_component.hpp')
-rw-r--r--src/xmpp/xmpp_component.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/xmpp/xmpp_component.hpp b/src/xmpp/xmpp_component.hpp
index 9839158..d934704 100644
--- a/src/xmpp/xmpp_component.hpp
+++ b/src/xmpp/xmpp_component.hpp
@@ -9,6 +9,20 @@
#include <memory>
#include <string>
+#define STREAM_NS "http://etherx.jabber.org/streams"
+#define COMPONENT_NS "jabber:component:accept"
+#define MUC_NS "http://jabber.org/protocol/muc"
+#define MUC_USER_NS MUC_NS"#user"
+#define MUC_ADMIN_NS MUC_NS"#admin"
+#define DISCO_NS "http://jabber.org/protocol/disco"
+#define DISCO_ITEMS_NS DISCO_NS"#items"
+#define DISCO_INFO_NS DISCO_NS"#info"
+#define XHTMLIM_NS "http://jabber.org/protocol/xhtml-im"
+#define STANZA_NS "urn:ietf:params:xml:ns:xmpp-stanzas"
+#define STREAMS_NS "urn:ietf:params:xml:ns:xmpp-streams"
+#define VERSION_NS "jabber:iq:version"
+#define ADHOC_NS "http://jabber.org/protocol/commands"
+
/**
* An XMPP component, communicating with an XMPP server using the protocole
* described in XEP-0114: Jabber Component Protocol