summaryrefslogtreecommitdiff
path: root/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'options.h')
-rw-r--r--options.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/options.h b/options.h
index 598250e..3b68780 100644
--- a/options.h
+++ b/options.h
@@ -57,6 +57,14 @@ public:
Options& setProgname(std::string p);
bool getDaemonize();
Options& setDaemonize(bool d);
+ bool getChroot();
+ Options& setChroot(bool b);
+ std::string getUsername();
+ Options& setUsername(std::string u);
+ std::string getChrootDir();
+ Options& setChrootDir(std::string c);
+ std::string getPidFile();
+ Options& setPidFile(std::string p);
sender_id_t getSenderId();
Options& setSenderId(sender_id_t s);
std::string getLocalAddr();
@@ -121,6 +129,10 @@ private:
ConnectToList connect_to_;
std::string progname_;
bool daemonize_;
+ bool chroot_;
+ std::string username_;
+ std::string chroot_dir_;
+ std::string pid_file_;
sender_id_t sender_id_;
std::string local_addr_;
std::string local_sync_addr_;