From 5008f4e433c305f63b6b6dbd4d8545ab4cb9d4b4 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Fri, 20 Aug 2010 12:02:31 +0000 Subject: add and test better auth-md5 parser (not used yet) --- src/QXmppUtils.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/QXmppUtils.h') diff --git a/src/QXmppUtils.h b/src/QXmppUtils.h index 919cf6be..4fc9d9c7 100644 --- a/src/QXmppUtils.h +++ b/src/QXmppUtils.h @@ -26,6 +26,7 @@ #ifndef QXMPPUTILS_H #define QXMPPUTILS_H +#include // forward declarations of QXmlStream* classes will not work on Mac, we need to // include the whole header. @@ -63,4 +64,8 @@ void helperToXmlAddNumberElement(QXmlStreamWriter* stream, const QString& name, QString escapeString(const QString& str); QString unescapeString(const QString& str); +// Digest MD5 authentication +QMap parseDigestMd5(const QByteArray &ba); +QByteArray serializeDigestMd5(const QMap &map); + #endif // QXMPPUTILS_H -- cgit v1.2.3