return argc_;
}
-prefix_ char const ** senf::Daemon::argv()
+prefix_ char ** senf::Daemon::argv()
{
return argv_;
}
throw DaemonExitException(code);
}
-prefix_ int senf::Daemon::start(int argc, char const ** argv)
+prefix_ int senf::Daemon::start(int argc, char ** argv)
{
argc_ = argc;
argv_ = argv;
successful startup. */
int argc(); ///< Access command line parameter count
- char const ** argv(); ///< Access command line parameters
+ char ** argv(); ///< Access command line parameters
static void exit(unsigned code=0); ///< Terminate daemon with failure
///\}
- int start(int argc, char const ** argv); ///< Called from main() to launch daemon.
+ int start(int argc, char ** argv); ///< Called from main() to launch daemon.
/**< Normally not called directly but from the
\ref SENF_DAEMON_MAIN macro. */
bool pidfileCreate();
int argc_;
- char const ** argv_;
+ char ** argv_;
bool daemonize_;
std::string stdoutLog_;
\ingroup process
*/
# define SENF_DAEMON_MAIN(klass) \
- int main(int argc, char const ** argv) \
+ int main(int argc, char ** argv) \
{ \
klass instance; \
return instance.start(argc, argv); \