aboutsummaryrefslogtreecommitdiffstats
path: root/Attic
diff options
context:
space:
mode:
Diffstat (limited to 'Attic')
-rw-r--r--Attic/mutex/info.txt6
-rw-r--r--Attic/mutex/mutex.h6
-rw-r--r--Attic/mutex/noop_mutex/info.txt9
-rw-r--r--Attic/mutex/noop_mutex/mux_noop.cpp2
-rw-r--r--Attic/mutex/noop_mutex/mux_noop.h4
-rw-r--r--Attic/mutex/pthreads/info.txt9
-rw-r--r--Attic/mutex/pthreads/mux_pthr.cpp2
-rw-r--r--Attic/mutex/pthreads/mux_pthr.h4
-rw-r--r--Attic/mutex/qt_mutex/info.txt8
-rw-r--r--Attic/mutex/qt_mutex/mux_qt.cpp2
-rw-r--r--Attic/mutex/qt_mutex/mux_qt.h4
-rw-r--r--Attic/mutex/win32_crit_section/info.txt8
-rw-r--r--Attic/mutex/win32_crit_section/mux_win32.cpp2
-rw-r--r--Attic/mutex/win32_crit_section/mux_win32.h4
14 files changed, 42 insertions, 28 deletions
diff --git a/Attic/mutex/info.txt b/Attic/mutex/info.txt
index 0f2836b64..af4cf9bb3 100644
--- a/Attic/mutex/info.txt
+++ b/Attic/mutex/info.txt
@@ -1,7 +1,5 @@
define MUTEX_WRAPPERS
-load_on auto
-
-<add>
+<header:internal>
mutex.h
-</add>
+</header:internal>
diff --git a/Attic/mutex/mutex.h b/Attic/mutex/mutex.h
index a04ff83c9..fcb0e9982 100644
--- a/Attic/mutex/mutex.h
+++ b/Attic/mutex/mutex.h
@@ -15,7 +15,7 @@ namespace Botan {
/*
* Mutex Base Class
*/
-class BOTAN_DLL Mutex
+class Mutex
{
public:
virtual void lock() = 0;
@@ -26,7 +26,7 @@ class BOTAN_DLL Mutex
/*
* Mutex Factory
*/
-class BOTAN_DLL Mutex_Factory
+class Mutex_Factory
{
public:
virtual Mutex* make() = 0;
@@ -36,7 +36,7 @@ class BOTAN_DLL Mutex_Factory
/*
* Mutex Holding Class
*/
-class BOTAN_DLL Mutex_Holder
+class Mutex_Holder
{
public:
Mutex_Holder(Mutex* m) : mux(m)
diff --git a/Attic/mutex/noop_mutex/info.txt b/Attic/mutex/noop_mutex/info.txt
index 6025959c2..16670b1dd 100644
--- a/Attic/mutex/noop_mutex/info.txt
+++ b/Attic/mutex/noop_mutex/info.txt
@@ -1,8 +1,9 @@
-load_on auto
-
define MUTEX_NOOP
-<add>
+<source>
mux_noop.cpp
+</source>
+
+<header:internal>
mux_noop.h
-</add>
+</header:internal>
diff --git a/Attic/mutex/noop_mutex/mux_noop.cpp b/Attic/mutex/noop_mutex/mux_noop.cpp
index 5c45084fe..18151274a 100644
--- a/Attic/mutex/noop_mutex/mux_noop.cpp
+++ b/Attic/mutex/noop_mutex/mux_noop.cpp
@@ -5,7 +5,7 @@
* Distributed under the terms of the Botan license
*/
-#include <botan/mux_noop.h>
+#include <botan/internal/mux_noop.h>
namespace Botan {
diff --git a/Attic/mutex/noop_mutex/mux_noop.h b/Attic/mutex/noop_mutex/mux_noop.h
index 94201cb7c..a1bd57858 100644
--- a/Attic/mutex/noop_mutex/mux_noop.h
+++ b/Attic/mutex/noop_mutex/mux_noop.h
@@ -8,14 +8,14 @@
#ifndef BOTAN_NOOP_MUTEX_FACTORY_H__
#define BOTAN_NOOP_MUTEX_FACTORY_H__
-#include <botan/mutex.h>
+#include <botan/internal/mutex.h>
namespace Botan {
/*
* No-Op Mutex Factory
*/
-class BOTAN_DLL Noop_Mutex_Factory : public Mutex_Factory
+class Noop_Mutex_Factory : public Mutex_Factory
{
public:
Mutex* make();
diff --git a/Attic/mutex/pthreads/info.txt b/Attic/mutex/pthreads/info.txt
index 7315c186a..1d826b61c 100644
--- a/Attic/mutex/pthreads/info.txt
+++ b/Attic/mutex/pthreads/info.txt
@@ -1,11 +1,12 @@
define MUTEX_PTHREAD
-load_on auto
-
-<add>
+<source>
mux_pthr.cpp
+</source>
+
+<header:internal>
mux_pthr.h
-</add>
+</header:internal>
<libs>
all!qnx,freebsd,dragonfly,openbsd,netbsd -> pthread
diff --git a/Attic/mutex/pthreads/mux_pthr.cpp b/Attic/mutex/pthreads/mux_pthr.cpp
index 9f1d9816e..75a116fe8 100644
--- a/Attic/mutex/pthreads/mux_pthr.cpp
+++ b/Attic/mutex/pthreads/mux_pthr.cpp
@@ -5,7 +5,7 @@
* Distributed under the terms of the Botan license
*/
-#include <botan/mux_pthr.h>
+#include <botan/internal/mux_pthr.h>
#include <botan/exceptn.h>
#ifndef _POSIX_C_SOURCE
diff --git a/Attic/mutex/pthreads/mux_pthr.h b/Attic/mutex/pthreads/mux_pthr.h
index 118853947..27b854265 100644
--- a/Attic/mutex/pthreads/mux_pthr.h
+++ b/Attic/mutex/pthreads/mux_pthr.h
@@ -8,14 +8,14 @@
#ifndef BOTAN_MUTEX_PTHREAD_H__
#define BOTAN_MUTEX_PTHREAD_H__
-#include <botan/mutex.h>
+#include <botan/internal/mutex.h>
namespace Botan {
/*
* Pthread Mutex Factory
*/
-class BOTAN_DLL Pthread_Mutex_Factory : public Mutex_Factory
+class Pthread_Mutex_Factory : public Mutex_Factory
{
public:
Mutex* make();
diff --git a/Attic/mutex/qt_mutex/info.txt b/Attic/mutex/qt_mutex/info.txt
index 346f04c81..7b014f886 100644
--- a/Attic/mutex/qt_mutex/info.txt
+++ b/Attic/mutex/qt_mutex/info.txt
@@ -2,6 +2,14 @@ define MUTEX_QT
load_on request
+<source>
+mux_qt.cpp
+</source>
+
+<header:internal>
+mux_qt.h
+</header:internal>
+
# I think we want to always use qt-mt, not qt -- not much point in supporting
# mutexes in a single threaded application, after all.
<libs>
diff --git a/Attic/mutex/qt_mutex/mux_qt.cpp b/Attic/mutex/qt_mutex/mux_qt.cpp
index 0f670c8b4..da4e5ce5c 100644
--- a/Attic/mutex/qt_mutex/mux_qt.cpp
+++ b/Attic/mutex/qt_mutex/mux_qt.cpp
@@ -6,7 +6,7 @@
* Distributed under the terms of the Botan license
*/
-#include <botan/mux_qt.h>
+#include <botan/internal/mux_qt.h>
#include <qmutex.h>
#if !defined(QT_THREAD_SUPPORT)
diff --git a/Attic/mutex/qt_mutex/mux_qt.h b/Attic/mutex/qt_mutex/mux_qt.h
index 5aed77f4b..cb396b81d 100644
--- a/Attic/mutex/qt_mutex/mux_qt.h
+++ b/Attic/mutex/qt_mutex/mux_qt.h
@@ -9,14 +9,14 @@
#ifndef BOTAN_MUTEX_QT_H__
#define BOTAN_MUTEX_QT_H__
-#include <botan/mutex.h>
+#include <botan/internal/mutex.h>
namespace Botan {
/*
* Qt Mutex
*/
-class BOTAN_DLL Qt_Mutex_Factory : public Mutex_Factory
+class Qt_Mutex_Factory : public Mutex_Factory
{
public:
Mutex* make();
diff --git a/Attic/mutex/win32_crit_section/info.txt b/Attic/mutex/win32_crit_section/info.txt
index 1533ca2da..d90b8b64b 100644
--- a/Attic/mutex/win32_crit_section/info.txt
+++ b/Attic/mutex/win32_crit_section/info.txt
@@ -1,6 +1,12 @@
define MUTEX_WIN32
-load_on auto
+<source>
+mux_win32.cpp
+</source>
+
+<header:internal>
+mux_win32.h
+</header:internal>
<os>
cygwin
diff --git a/Attic/mutex/win32_crit_section/mux_win32.cpp b/Attic/mutex/win32_crit_section/mux_win32.cpp
index 2a967892b..fa6051798 100644
--- a/Attic/mutex/win32_crit_section/mux_win32.cpp
+++ b/Attic/mutex/win32_crit_section/mux_win32.cpp
@@ -6,7 +6,7 @@
* Distributed under the terms of the Botan license
*/
-#include <botan/mux_win32.h>
+#include <botan/internal/mux_win32.h>
#include <windows.h>
namespace Botan {
diff --git a/Attic/mutex/win32_crit_section/mux_win32.h b/Attic/mutex/win32_crit_section/mux_win32.h
index a91850e71..4bbf6a540 100644
--- a/Attic/mutex/win32_crit_section/mux_win32.h
+++ b/Attic/mutex/win32_crit_section/mux_win32.h
@@ -9,14 +9,14 @@
#ifndef BOTAN_MUTEX_WIN32_H__
#define BOTAN_MUTEX_WIN32_H__
-#include <botan/mutex.h>
+#include <botan/internal/mutex.h>
namespace Botan {
/*
* Win32 Mutex Factory
*/
-class BOTAN_DLL Win32_Mutex_Factory : public Mutex_Factory
+class Win32_Mutex_Factory : public Mutex_Factory
{
public:
Mutex* make();