summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/TLS')
-rw-r--r--Swiften/TLS/BlindCertificateTrustChecker.h5
-rw-r--r--Swiften/TLS/CertificateFactory.h5
-rw-r--r--Swiften/TLS/CertificateVerificationError.h5
-rw-r--r--Swiften/TLS/CertificateWithKey.h5
-rw-r--r--Swiften/TLS/PKCS12Certificate.h5
-rw-r--r--Swiften/TLS/SimpleCertificate.h5
-rw-r--r--Swiften/TLS/TLSContext.h5
-rw-r--r--Swiften/TLS/TLSContextFactory.h6
-rw-r--r--Swiften/TLS/TLSError.h5
9 files changed, 28 insertions, 18 deletions
diff --git a/Swiften/TLS/BlindCertificateTrustChecker.h b/Swiften/TLS/BlindCertificateTrustChecker.h
index 2c1f6a6..b21f7a6 100644
--- a/Swiften/TLS/BlindCertificateTrustChecker.h
+++ b/Swiften/TLS/BlindCertificateTrustChecker.h
@@ -1,11 +1,12 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/TLS/CertificateTrustChecker.h>
namespace Swift {
@@ -17,7 +18,7 @@ namespace Swift {
*
* \see Client::setAlwaysTrustCertificates()
*/
- class BlindCertificateTrustChecker : public CertificateTrustChecker {
+ class SWIFTEN_API BlindCertificateTrustChecker : public CertificateTrustChecker {
public:
virtual bool isCertificateTrusted(const std::vector<Certificate::ref>&) {
return true;
diff --git a/Swiften/TLS/CertificateFactory.h b/Swiften/TLS/CertificateFactory.h
index efd3733..28d39bb 100644
--- a/Swiften/TLS/CertificateFactory.h
+++ b/Swiften/TLS/CertificateFactory.h
@@ -1,15 +1,16 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/TLS/Certificate.h>
namespace Swift {
- class CertificateFactory {
+ class SWIFTEN_API CertificateFactory {
public:
virtual ~CertificateFactory();
diff --git a/Swiften/TLS/CertificateVerificationError.h b/Swiften/TLS/CertificateVerificationError.h
index c940818..f1596dc 100644
--- a/Swiften/TLS/CertificateVerificationError.h
+++ b/Swiften/TLS/CertificateVerificationError.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2012 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -7,10 +7,11 @@
#pragma once
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/Error.h>
namespace Swift {
- class CertificateVerificationError : public Error {
+ class SWIFTEN_API CertificateVerificationError : public Error {
public:
typedef boost::shared_ptr<CertificateVerificationError> ref;
diff --git a/Swiften/TLS/CertificateWithKey.h b/Swiften/TLS/CertificateWithKey.h
index 2cec1fc..687118a 100644
--- a/Swiften/TLS/CertificateWithKey.h
+++ b/Swiften/TLS/CertificateWithKey.h
@@ -1,15 +1,16 @@
/*
- * Copyright (c) 2010-2012 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Base/SafeByteArray.h>
namespace Swift {
- class CertificateWithKey {
+ class SWIFTEN_API CertificateWithKey {
public:
typedef boost::shared_ptr<CertificateWithKey> ref;
CertificateWithKey() {}
diff --git a/Swiften/TLS/PKCS12Certificate.h b/Swiften/TLS/PKCS12Certificate.h
index d699ccd..0fd3f56 100644
--- a/Swiften/TLS/PKCS12Certificate.h
+++ b/Swiften/TLS/PKCS12Certificate.h
@@ -1,17 +1,18 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
+#include <Swiften/Base/API.h>
#include <Swiften/Base/SafeByteArray.h>
#include <Swiften/TLS/CertificateWithKey.h>
#include <boost/filesystem/path.hpp>
namespace Swift {
- class PKCS12Certificate : public Swift::CertificateWithKey {
+ class SWIFTEN_API PKCS12Certificate : public Swift::CertificateWithKey {
public:
PKCS12Certificate() {}
diff --git a/Swiften/TLS/SimpleCertificate.h b/Swiften/TLS/SimpleCertificate.h
index da94bf7..88688c0 100644
--- a/Swiften/TLS/SimpleCertificate.h
+++ b/Swiften/TLS/SimpleCertificate.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -7,10 +7,11 @@
#pragma once
#include <string>
+#include <Swiften/Base/API.h>
#include <Swiften/TLS/Certificate.h>
namespace Swift {
- class SimpleCertificate : public Certificate {
+ class SWIFTEN_API SimpleCertificate : public Certificate {
public:
typedef boost::shared_ptr<SimpleCertificate> ref;
diff --git a/Swiften/TLS/TLSContext.h b/Swiften/TLS/TLSContext.h
index f5d0515..c5703e7 100644
--- a/Swiften/TLS/TLSContext.h
+++ b/Swiften/TLS/TLSContext.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
@@ -9,6 +9,7 @@
#include <Swiften/Base/boost_bsignals.h>
#include <boost/shared_ptr.hpp>
+#include <Swiften/Base/API.h>
#include <Swiften/Base/SafeByteArray.h>
#include <Swiften/TLS/Certificate.h>
#include <Swiften/TLS/CertificateWithKey.h>
@@ -17,7 +18,7 @@
namespace Swift {
- class TLSContext {
+ class SWIFTEN_API TLSContext {
public:
virtual ~TLSContext();
diff --git a/Swiften/TLS/TLSContextFactory.h b/Swiften/TLS/TLSContextFactory.h
index 79e2b05..10c5577 100644
--- a/Swiften/TLS/TLSContextFactory.h
+++ b/Swiften/TLS/TLSContextFactory.h
@@ -1,15 +1,17 @@
/*
- * Copyright (c) 2010 Isode Limited.
+ * Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
+#include <Swiften/Base/API.h>
+
namespace Swift {
class TLSContext;
- class TLSContextFactory {
+ class SWIFTEN_API TLSContextFactory {
public:
virtual ~TLSContextFactory();
diff --git a/Swiften/TLS/TLSError.h b/Swiften/TLS/TLSError.h
index 2589a2a..27e4b03 100644
--- a/Swiften/TLS/TLSError.h
+++ b/Swiften/TLS/TLSError.h
@@ -1,16 +1,17 @@
/*
- * Copyright (c) 2012 Isode Limited.
+ * Copyright (c) 2012-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
+#include <Swiften/Base/API.h>
#include <boost/shared_ptr.hpp>
#include <Swiften/Base/Error.h>
namespace Swift {
- class TLSError : public Error {
+ class SWIFTEN_API TLSError : public Error {
public:
typedef boost::shared_ptr<TLSError> ref;