summaryrefslogtreecommitdiff
path: root/src/xmpp/xmpp_stanza.hpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2013-11-11 00:29:44 +0100
committerFlorent Le Coz <louiz@louiz.org>2013-11-11 00:29:44 +0100
commit2be4811d14f921f92e7f976b6e3c9ceb5404086b (patch)
treeb463e1a50433c35394ebca658f02db689b81f75f /src/xmpp/xmpp_stanza.hpp
parent096a4e3bafe6e2d238e4592f57f22f19f363fcbd (diff)
downloadbiboumi-2be4811d14f921f92e7f976b6e3c9ceb5404086b.tar.gz
biboumi-2be4811d14f921f92e7f976b6e3c9ceb5404086b.tar.bz2
biboumi-2be4811d14f921f92e7f976b6e3c9ceb5404086b.tar.xz
biboumi-2be4811d14f921f92e7f976b6e3c9ceb5404086b.zip
Unescape XML before sending messages over IRC
Diffstat (limited to 'src/xmpp/xmpp_stanza.hpp')
-rw-r--r--src/xmpp/xmpp_stanza.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmpp/xmpp_stanza.hpp b/src/xmpp/xmpp_stanza.hpp
index d2fe8c8..2ce8ce2 100644
--- a/src/xmpp/xmpp_stanza.hpp
+++ b/src/xmpp/xmpp_stanza.hpp
@@ -6,6 +6,7 @@
#include <vector>
std::string xml_escape(const std::string& data);
+std::string xml_unescape(const std::string& data);
/**
* Raised on operator[] when the attribute does not exist
@@ -66,7 +67,6 @@ public:
void add_to_inner(const std::string& data);
/**
* Get the content of inner
- * TODO: unescape it here.
*/
std::string get_inner() const;
/**