aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-07-16 08:26:37 +0000
committerlloyd <[email protected]>2006-07-16 08:26:37 +0000
commit640c705f2dc41a50ade47114d64ff5cdf9fd3598 (patch)
treed758ec06be2ce75354de2883613b9261521e7a53 /include
parente446213555c13befbd9a4e7e908fcf380e5efc76 (diff)
Remove a declaration for add_alias, which was removed at some point
without the decl also being removed. Add an add_alias function to the Config class, just a simple wrapper around Config::set Change policy.cpp to use add_alias instead of set when setting an alias
Diffstat (limited to 'include')
-rw-r--r--include/config.h2
-rw-r--r--include/look_add.h5
2 files changed, 2 insertions, 5 deletions
diff --git a/include/config.h b/include/config.h
index e230314a7..1612cd7e7 100644
--- a/include/config.h
+++ b/include/config.h
@@ -32,7 +32,9 @@ class Config
bool option_as_bool(const std::string&) const;
std::vector<std::string> option_as_list(const std::string&) const;
+ void add_alias(const std::string&, const std::string&);
std::string deref_alias(const std::string&) const;
+
std::string option(const std::string&) const;
void load_inifile(const std::string&);
diff --git a/include/look_add.h b/include/look_add.h
index e6cc265b0..1e06472fe 100644
--- a/include/look_add.h
+++ b/include/look_add.h
@@ -22,11 +22,6 @@ void add_algorithm(MessageAuthenticationCode*);
void add_algorithm(S2K*);
void add_algorithm(BlockCipherModePaddingMethod*);
-/*************************************************
-* Add an alias for an algorithm *
-*************************************************/
-void add_alias(const std::string&, const std::string&);
-
}
#endif