diff options
Diffstat (limited to 'src/QXmppUtils.h')
| -rw-r--r-- | src/QXmppUtils.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 <QMap> // 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<QByteArray, QByteArray> parseDigestMd5(const QByteArray &ba); +QByteArray serializeDigestMd5(const QMap<QByteArray, QByteArray> &map); + #endif // QXMPPUTILS_H |
