aboutsummaryrefslogtreecommitdiffstats
path: root/include/libstate.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-06-24 02:06:30 +0000
committerlloyd <[email protected]>2006-06-24 02:06:30 +0000
commit5ff46baa0e2211e660c6925f5c42153c70eb1b11 (patch)
tree448cd34eec0238e43c1cb5808030c012aecde1ce /include/libstate.h
parent37a5509d230f4a84fbaa5a889cb40e19a2b0c0ad (diff)
Add an X509_GlobalState pointer to the library state.
Initial implementation of a factory for extension objects
Diffstat (limited to 'include/libstate.h')
-rw-r--r--include/libstate.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/libstate.h b/include/libstate.h
index ff8266318..6e227140a 100644
--- a/include/libstate.h
+++ b/include/libstate.h
@@ -49,7 +49,10 @@ class Library_State
void add_engine(class Engine*);
- class Mutex* get_mutex();
+ class Mutex* get_mutex() const;
+
+ void set_x509_state(class X509_GlobalState*);
+ class X509_GlobalState& x509_state() const;
void set_transcoder(class Charset_Transcoder*);
std::string transcode(const std::string,
@@ -66,6 +69,7 @@ class Library_State
class Mutex_Factory* mutex_factory;
class Timer* timer;
+ class X509_GlobalState* x509_state_obj;
std::map<std::string, class Mutex*> locks;
std::map<std::string, std::string> settings;