aboutsummaryrefslogtreecommitdiffstats
path: root/include/libstate.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-06-25 15:23:19 +0000
committerlloyd <[email protected]>2006-06-25 15:23:19 +0000
commit7a259add43ce9ad6ea30fcbb77ac7bca932db211 (patch)
treec1d4857694ddd3bc4709c54337cd8fa76669e6c5 /include/libstate.h
parenta495fd2e01430a74833d667b6fec0a2cc4b23be5 (diff)
Support named mutexes outside of the global library state.
Alter the AEP engine to use one in favor of a static Mutex pointer. Fix a stupid typo in an exception message.
Diffstat (limited to 'include/libstate.h')
-rw-r--r--include/libstate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libstate.h b/include/libstate.h
index 9cb9f81d5..b2879c7d9 100644
--- a/include/libstate.h
+++ b/include/libstate.h
@@ -51,6 +51,7 @@ class Library_State
void add_engine(class Engine*);
class Mutex* get_mutex() const;
+ class Mutex* get_named_mutex(const std::string&);
void set_x509_state(class X509_GlobalState*);
class X509_GlobalState& x509_state();
@@ -58,6 +59,7 @@ class Library_State
void set_transcoder(class Charset_Transcoder*);
std::string transcode(const std::string,
Character_Set, Character_Set) const;
+ void set_default_policy();
Library_State(class Mutex_Factory*);
~Library_State();
@@ -66,7 +68,6 @@ class Library_State
Library_State& operator=(const Library_State&) { return (*this); }
class Engine* get_engine_n(u32bit) const;
- void set_default_policy();
class Mutex_Factory* mutex_factory;
class Timer* timer;