aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorlloyd <[email protected]>2006-12-14 11:10:55 +0000
committerlloyd <[email protected]>2006-12-14 11:10:55 +0000
commit2bbe075762ef36f6467de9dd0c97596625321d1e (patch)
treedfc1f14fd73945038a3067a98393e4dd7bd5bdb2 /include
parenta7c6dc06d2a11716e5a6771829bea3ecbf21bfbd (diff)
Add a new set_option member function to Config
Diffstat (limited to 'include')
-rw-r--r--include/config.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/config.h b/include/config.h
index 1612cd7e7..03548319a 100644
--- a/include/config.h
+++ b/include/config.h
@@ -27,22 +27,22 @@ class Config
void set(const std::string&, const std::string&,
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;
bool option_as_bool(const std::string&) const;
std::vector<std::string> option_as_list(const std::string&) const;
+ void set_option(const std::string, const std::string&);
+
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&);
static void choose_sig_format(const std::string&, std::string&,
Signature_Format&);
private:
-
std::map<std::string, std::string> settings;
};