From 064235d640fc0efb3c77c4d6e4198f05ab1e4122 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Mon, 11 Oct 2010 10:58:58 +0000 Subject: improve STUN / ICE-UDP support --- src/QXmppStun.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/QXmppStun.h') diff --git a/src/QXmppStun.h b/src/QXmppStun.h index 1b7c81be..2620730f 100644 --- a/src/QXmppStun.h +++ b/src/QXmppStun.h @@ -47,7 +47,7 @@ public: quint16 type() const; void setType(quint16 type); - QByteArray encode(const QString &password = QString()) const; + QByteArray encode(const QString &password = QString(), bool addFingerprint = true) const; bool decode(const QByteArray &buffer, const QString &password = QString(), QStringList *errors = 0); QString toString() const; static quint16 peekType(const QByteArray &buffer, QByteArray &id); @@ -73,9 +73,6 @@ public: bool useCandidate; private: - void addAddress(QDataStream &stream, quint16 type, const QHostAddress &host, quint16 port) const; - void setBodyLength(QByteArray &buffer, qint16 length) const; - QByteArray m_id; quint16 m_type; }; -- cgit v1.2.3