mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-28 12:34:31 +00:00
QString instead of QHostAddress
svn path=/trunk/kdesupport/qca/; revision=393745
This commit is contained in:
parent
320a135a69
commit
b5b5024414
1
TODO
1
TODO
@ -19,7 +19,6 @@
|
||||
standardize on count() vs size() when iterating?
|
||||
|
||||
* finish API:
|
||||
do something about qhostaddress in SASL. try to remove QtNetwork dependency?
|
||||
algorithm: qshareddata?
|
||||
qcaprovider.h
|
||||
|
||||
|
@ -27,8 +27,6 @@
|
||||
#include "qca_publickey.h"
|
||||
#include "qca_cert.h"
|
||||
|
||||
//class QHostAddress;
|
||||
|
||||
namespace QCA
|
||||
{
|
||||
/**
|
||||
@ -235,8 +233,8 @@ namespace QCA
|
||||
// configuration
|
||||
void setConstraints(AuthFlags f, SecurityLevel s = SL_None);
|
||||
void setConstraints(AuthFlags f, int minSSF, int maxSSF);
|
||||
//void setLocalAddr(const QHostAddress &addr, Q_UINT16 port);
|
||||
//void setRemoteAddr(const QHostAddress &addr, Q_UINT16 port);
|
||||
void setLocalAddr(const QString &addr, quint16 port);
|
||||
void setRemoteAddr(const QString &addr, quint16 port);
|
||||
void setExternalAuthId(const QString &authid);
|
||||
void setExternalSSF(int);
|
||||
|
||||
|
@ -463,17 +463,19 @@ void SASL::setExternalSSF(int x)
|
||||
d->ext_ssf = x;
|
||||
}
|
||||
|
||||
/*void SASL::setLocalAddr(const QHostAddress &addr, Q_UINT16 port)
|
||||
void SASL::setLocalAddr(const QString &addr, quint16 port)
|
||||
{
|
||||
d->localAddr = addr;
|
||||
Q_UNUSED(addr);
|
||||
//d->localAddr = addr;
|
||||
d->localPort = port;
|
||||
}
|
||||
|
||||
void SASL::setRemoteAddr(const QHostAddress &addr, Q_UINT16 port)
|
||||
void SASL::setRemoteAddr(const QString &addr, quint16 port)
|
||||
{
|
||||
d->remoteAddr = addr;
|
||||
Q_UNUSED(addr);
|
||||
//d->remoteAddr = addr;
|
||||
d->remotePort = port;
|
||||
}*/
|
||||
}
|
||||
|
||||
bool SASL::startClient(const QString &service, const QString &host, const QStringList &mechlist, ClientSendMode)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user