aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-06-30 02:11:06 +0000
committerlloyd <[email protected]>2008-06-30 02:11:06 +0000
commit449eba1b6026d1271aacd41b58c7459d46099566 (patch)
tree89d722f86da80147e2653d8f85c4eeaf33061288 /include
parentcf713b974185b2bb2a51dc7fc009658fcc2ff401 (diff)
Remove global_config() - replace by direct calls to global_state()
Diffstat (limited to 'include')
-rw-r--r--include/config.h5
-rw-r--r--include/libstate.h1
2 files changed, 1 insertions, 5 deletions
diff --git a/include/config.h b/include/config.h
index 2c513088a..65147e3e6 100644
--- a/include/config.h
+++ b/include/config.h
@@ -42,11 +42,6 @@ class BOTAN_DLL Config
Mutex* mutex;
};
-/*************************************************
-* Hook for the global config *
-*************************************************/
-BOTAN_DLL Config& global_config();
-
}
#endif
diff --git a/include/libstate.h b/include/libstate.h
index 51be2431e..63c01d270 100644
--- a/include/libstate.h
+++ b/include/libstate.h
@@ -46,6 +46,7 @@ class BOTAN_DLL Library_State
void set_default_allocator(const std::string&) const;
class Config& config() const;
+ std::string option(const std::string&) const;
class Mutex* get_mutex() const;
private: