diff options
author | lloyd <[email protected]> | 2006-07-01 21:31:59 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-07-01 21:31:59 +0000 |
commit | 6601628f84f52535adec1f34fe46c5e7039770cc (patch) | |
tree | b7f9c4fc8575b4c6bd1a1786a4bd2d539c3c2555 /include/config.h | |
parent | 6d3a4de1efcb6b04a1ab87037d487f979d7ca445 (diff) |
Make choose_sig_format a static member of Config rather than
a standalone function.
Diffstat (limited to 'include/config.h')
-rw-r--r-- | include/config.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/include/config.h b/include/config.h index 61a22d46d..0b28cb848 100644 --- a/include/config.h +++ b/include/config.h @@ -34,6 +34,10 @@ class Config std::string option(const std::string&) const; void load_inifile(const std::string&); + + static void choose_sig_format(const std::string&, std::string&, + Signature_Format&); + private: std::map<std::string, std::string> settings; }; @@ -43,17 +47,6 @@ class Config *************************************************/ Config& global_config(); -namespace ConfigXXX { - -/************************************************* -* Choose the signature format for a PK algorithm * -*************************************************/ -void choose_sig_format(const std::string&, std::string&, Signature_Format&); -void choose_sig_format(const std::string&, std::string&, std::string&, - Signature_Format&); - -} - } #endif |