diff options
Diffstat (limited to 'src/libktorrent/mse/functions.h')
-rw-r--r-- | src/libktorrent/mse/functions.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/libktorrent/mse/functions.h b/src/libktorrent/mse/functions.h index 95e8e5d..a5e7cab 100644 --- a/src/libktorrent/mse/functions.h +++ b/src/libktorrent/mse/functions.h @@ -20,6 +20,8 @@ #ifndef MSEFUNCTIONS_H #define MSEFUNCTIONS_H +#include <libktorrent_export.h> + namespace bt { class SHA1Hash; @@ -29,11 +31,11 @@ namespace mse { class BigInt; - void GeneratePublicPrivateKey(BigInt & pub,BigInt & priv); - BigInt DHSecret(const BigInt & our_priv,const BigInt & peer_pub); - bt::SHA1Hash EncryptionKey(bool a,const BigInt & s,const bt::SHA1Hash & skey); + LIBKTORRENT_EXPORT void GeneratePublicPrivateKey(BigInt & pub,BigInt & priv); + LIBKTORRENT_EXPORT BigInt DHSecret(const BigInt & our_priv,const BigInt & peer_pub); + LIBKTORRENT_EXPORT bt::SHA1Hash EncryptionKey(bool a,const BigInt & s,const bt::SHA1Hash & skey); - void DumpBigInt(const TQString & name,const BigInt & bi); + LIBKTORRENT_EXPORT void DumpBigInt(const TQString & name,const BigInt & bi); } #endif |