mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-11-09 09:46:18 +01:00
14 lines
319 B
C
14 lines
319 B
C
|
#ifndef DAEMON_H
|
||
|
#define DAEMON_H
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
void daemonize(const bool daemonize,
|
||
|
const std::string &dir,
|
||
|
const std::string &stdinfile,
|
||
|
const std::string &stdoutfile,
|
||
|
const std::string &stderrfile,
|
||
|
const std::string &pidFile);
|
||
|
|
||
|
#endif
|