Implemented senf::Daemon::arg[cv] member functions
jkaeber [Fri, 22 Feb 2008 09:20:19 +0000 (09:20 +0000)]
git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@705 270642c3-0616-0410-b53a-bc976706d245

Utils/Daemon/Daemon.cc

index 849f4c6..f7475d6 100644 (file)
@@ -67,6 +67,14 @@ prefix_ bool senf::Daemon::daemon()
     return daemonize_;
 }
 
+prefix_ int senf::Daemon::argc() {
+    return argc_;
+}
+
+prefix_ char const ** senf::Daemon::argv() {
+    return argv_;
+}
+
 prefix_ void senf::Daemon::consoleLog(std::string const & path, StdStream which)
 {
     switch (which) {