diff options
author | lloyd <[email protected]> | 2009-12-16 02:52:12 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-12-16 02:52:12 +0000 |
commit | 317b76d71dca1840c9e72f9a26407590719c1423 (patch) | |
tree | 2eb49072e6e27f6ee41e704004aa8689b1e98bb3 /Attic | |
parent | 457ce43934a4e51ead4d21e43013eef9d448d0e1 (diff) | |
parent | 12afeca214c4414a0ced0bc4654d0fc5908dc77b (diff) |
propagate from branch 'net.randombit.botan' (head 744dccf92270cf16b80b50ee2759424c9866b256)
to branch 'net.randombit.botan.c++0x' (head 2aa1acac1d05e8ea9991fe39015b1db9abc3b24e)
Diffstat (limited to 'Attic')
-rw-r--r-- | Attic/mutex/info.txt | 6 | ||||
-rw-r--r-- | Attic/mutex/mutex.h | 6 | ||||
-rw-r--r-- | Attic/mutex/noop_mutex/info.txt | 9 | ||||
-rw-r--r-- | Attic/mutex/noop_mutex/mux_noop.cpp | 2 | ||||
-rw-r--r-- | Attic/mutex/noop_mutex/mux_noop.h | 4 | ||||
-rw-r--r-- | Attic/mutex/pthreads/info.txt | 9 | ||||
-rw-r--r-- | Attic/mutex/pthreads/mux_pthr.cpp | 2 | ||||
-rw-r--r-- | Attic/mutex/pthreads/mux_pthr.h | 4 | ||||
-rw-r--r-- | Attic/mutex/qt_mutex/info.txt | 8 | ||||
-rw-r--r-- | Attic/mutex/qt_mutex/mux_qt.cpp | 2 | ||||
-rw-r--r-- | Attic/mutex/qt_mutex/mux_qt.h | 4 | ||||
-rw-r--r-- | Attic/mutex/win32_crit_section/info.txt | 8 | ||||
-rw-r--r-- | Attic/mutex/win32_crit_section/mux_win32.cpp | 2 | ||||
-rw-r--r-- | Attic/mutex/win32_crit_section/mux_win32.h | 4 |
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(); |