summaryrefslogtreecommitdiffstats
path: root/src/crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto.h')
-rw-r--r--src/crypto.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/crypto.h b/src/crypto.h
index 92c6094..6efa086 100644
--- a/src/crypto.h
+++ b/src/crypto.h
@@ -91,8 +91,8 @@
#define S2K_SPECIFIER_LEN 9
-#include <qmap.h>
-#include <qstring.h>
+#include <ntqmap.h>
+#include <ntqstring.h>
typedef struct crypto_digest_env_t crypto_digest_env_t;
@@ -105,18 +105,18 @@ int digest_to_base64(char *d64, const char *digest);
int base64_encode(char *dest, size_t destlen, const char *src, size_t srclen);
int base16_decode(char *dest, size_t destlen, const char *src, size_t srclen);
-QString getFPDigestFromFP(const QString &fp);
-QString getNickNameFromFPDigest(const QString &fpdigest);
-QString getNickNameFromFP(const QString &fp);
-QString getFPFromNickName(const QString &nickname);
-QString getFPFromFPDigest(const QString &fp);
-void storeServer(const QString &server,const QString &fp_identity);
+TQString getFPDigestFromFP(const TQString &fp);
+TQString getNickNameFromFPDigest(const TQString &fpdigest);
+TQString getNickNameFromFP(const TQString &fp);
+TQString getFPFromNickName(const TQString &nickname);
+TQString getFPFromFPDigest(const TQString &fp);
+void storeServer(const TQString &server,const TQString &fp_identity);
void clearServers();
-QString fp_identity(const QString &server);
-QString server(const QString &fp_identity);
-QString hashPassword(const char* secret);
+TQString fp_identity(const TQString &server);
+TQString server(const TQString &fp_identity);
+TQString hashPassword(const char* secret);
-QString crypto_rand_string(int len);
+TQString crypto_rand_string(int len);
/* random numbers */
int crypto_seed_rng(void);