The unified diff between revisions [6afe2db1..] and [11a5f681..] is displayed below. It can also be downloaded as a raw diff.
This diff has been restricted to the following files: 'include/config.h'
#
#
# patch "include/config.h"
# from [a2e84e93383b47c031be9b06f727b84bbcd56d32]
# to [88782287e26dcd87803c9a9fc35bb4434b1f1869]
#
============================================================
--- include/config.h a2e84e93383b47c031be9b06f727b84bbcd56d32
+++ include/config.h 88782287e26dcd87803c9a9fc35bb4434b1f1869
@@ -1,15 +1,13 @@
/*************************************************
* Configuration Handling Header File *
-* (C) 1999-2007 Jack Lloyd *
+* (C) 1999-2008 Jack Lloyd *
*************************************************/
#ifndef BOTAN_POLICY_CONF_H__
#define BOTAN_POLICY_CONF_H__
#include <botan/mutex.h>
-#include <botan/enums.h>
#include <string>
-#include <vector>
#include <map>
namespace Botan {
@@ -17,7 +15,7 @@ namespace Botan {
/*************************************************
* Library Configuration Settings *
*************************************************/
-class Config
+class BOTAN_DLL Config
{
public:
Config();
@@ -31,9 +29,7 @@ class Config
const std::string&, bool = true);
std::string option(const std::string&) const;
- u32bit option_as_u32bit(const std::string&) const;
u32bit option_as_time(const std::string&) const;
- std::vector<std::string> option_as_list(const std::string&) const;
void set_option(const std::string, const std::string&);
@@ -41,9 +37,6 @@ class Config
std::string deref_alias(const std::string&) const;
void load_inifile(const std::string&);
-
- static void choose_sig_format(const std::string&, std::string&,
- Signature_Format&);
private:
Config(const Config&) {}
Config& operator=(const Config&) { return (*this); }
@@ -55,7 +48,7 @@ class Config
/*************************************************
* Hook for the global config *
*************************************************/
-Config& global_config();
+BOTAN_DLL Config& global_config();
}