diff options
Diffstat (limited to 'Swiften/SASL')
| -rw-r--r-- | Swiften/SASL/ClientAuthenticator.h | 3 | ||||
| -rw-r--r-- | Swiften/SASL/DIGESTMD5ClientAuthenticator.h | 3 | ||||
| -rw-r--r-- | Swiften/SASL/DIGESTMD5Properties.h | 3 | ||||
| -rw-r--r-- | Swiften/SASL/PLAINClientAuthenticator.h | 3 | ||||
| -rw-r--r-- | Swiften/SASL/SCRAMSHA1ClientAuthenticator.h | 3 |
5 files changed, 10 insertions, 5 deletions
diff --git a/Swiften/SASL/ClientAuthenticator.h b/Swiften/SASL/ClientAuthenticator.h index 8710ac8..bc5b4f1 100644 --- a/Swiften/SASL/ClientAuthenticator.h +++ b/Swiften/SASL/ClientAuthenticator.h @@ -9,13 +9,14 @@ #include <boost/optional.hpp> #include <string> #include <vector> +#include <Swiften/Base/API.h> #include <Swiften/Base/SafeByteArray.h> #include <Swiften/Base/ByteArray.h> namespace Swift { - class ClientAuthenticator { + class SWIFTEN_API ClientAuthenticator { public: ClientAuthenticator(const std::string& name); virtual ~ClientAuthenticator(); diff --git a/Swiften/SASL/DIGESTMD5ClientAuthenticator.h b/Swiften/SASL/DIGESTMD5ClientAuthenticator.h index 7ced962..01cdde9 100644 --- a/Swiften/SASL/DIGESTMD5ClientAuthenticator.h +++ b/Swiften/SASL/DIGESTMD5ClientAuthenticator.h @@ -9,14 +9,15 @@ #include <map> #include <string> #include <vector> +#include <Swiften/Base/API.h> #include <Swiften/SASL/ClientAuthenticator.h> #include <Swiften/SASL/DIGESTMD5Properties.h> #include <Swiften/Base/SafeByteArray.h> namespace Swift { - class DIGESTMD5ClientAuthenticator : public ClientAuthenticator { + class SWIFTEN_API DIGESTMD5ClientAuthenticator : public ClientAuthenticator { public: DIGESTMD5ClientAuthenticator(const std::string& host, const std::string& nonce); virtual boost::optional<SafeByteArray> getResponse() const; diff --git a/Swiften/SASL/DIGESTMD5Properties.h b/Swiften/SASL/DIGESTMD5Properties.h index ef87574..654208d 100644 --- a/Swiften/SASL/DIGESTMD5Properties.h +++ b/Swiften/SASL/DIGESTMD5Properties.h @@ -9,12 +9,13 @@ #include <map> #include <boost/optional.hpp> #include <string> +#include <Swiften/Base/API.h> #include <Swiften/Base/ByteArray.h> namespace Swift { - class DIGESTMD5Properties { + class SWIFTEN_API DIGESTMD5Properties { public: DIGESTMD5Properties(); boost::optional<std::string> getValue(const std::string& key) const; diff --git a/Swiften/SASL/PLAINClientAuthenticator.h b/Swiften/SASL/PLAINClientAuthenticator.h index 83e45c1..ad3a695 100644 --- a/Swiften/SASL/PLAINClientAuthenticator.h +++ b/Swiften/SASL/PLAINClientAuthenticator.h @@ -5,13 +5,14 @@ */ #pragma once +#include <Swiften/Base/API.h> #include <Swiften/SASL/ClientAuthenticator.h> #include <Swiften/Base/ByteArray.h> namespace Swift { - class PLAINClientAuthenticator : public ClientAuthenticator { + class SWIFTEN_API PLAINClientAuthenticator : public ClientAuthenticator { public: PLAINClientAuthenticator(); virtual boost::optional<SafeByteArray> getResponse() const; diff --git a/Swiften/SASL/SCRAMSHA1ClientAuthenticator.h b/Swiften/SASL/SCRAMSHA1ClientAuthenticator.h index d140013..ace69b0 100644 --- a/Swiften/SASL/SCRAMSHA1ClientAuthenticator.h +++ b/Swiften/SASL/SCRAMSHA1ClientAuthenticator.h @@ -11,11 +11,12 @@ #include <string> #include <Swiften/Base/ByteArray.h> #include <Swiften/SASL/ClientAuthenticator.h> +#include <Swiften/Base/API.h> namespace Swift { - class SCRAMSHA1ClientAuthenticator : public ClientAuthenticator { + class SWIFTEN_API SCRAMSHA1ClientAuthenticator : public ClientAuthenticator { public: SCRAMSHA1ClientAuthenticator(const std::string& nonce, bool useChannelBinding = false); void setTLSChannelBindingData(const ByteArray& channelBindingData); |
Swift