diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-10-11 10:58:58 +0000 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2010-10-11 10:58:58 +0000 |
| commit | 064235d640fc0efb3c77c4d6e4198f05ab1e4122 (patch) | |
| tree | 8f2fdcb4ce336fcdab776ba0c792e249d8f1222a /src/QXmppStun.h | |
| parent | 582be1f6e654b7e2dad76a466a562f5a4dab3294 (diff) | |
| download | qxmpp-064235d640fc0efb3c77c4d6e4198f05ab1e4122.tar.gz | |
improve STUN / ICE-UDP support
Diffstat (limited to 'src/QXmppStun.h')
| -rw-r--r-- | src/QXmppStun.h | 5 |
1 files changed, 1 insertions, 4 deletions
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; }; |
