|
suricata
|

Go to the source code of this file.
Functions | |
| void | Daemonize (void) |
| Daemonize the process. More... | |
| int | CheckValidDaemonModes (int, int) |
| Check for a valid combination daemon/mode. More... | |
Definition in file util-daemon.h.
| int CheckValidDaemonModes | ( | int | daemon, |
| int | mode | ||
| ) |
Check for a valid combination daemon/mode.
| daemon | daemon on or off |
| mode | selected mode |
| 1 | valid combination |
| 0 | invalid combination |
Definition at line 177 of file util-daemon.c.
References RUNMODE_PCAP_FILE, RUNMODE_UNITTEST, SCLogDebug, and SCLogError.
| void Daemonize | ( | void | ) |
Daemonize the process.
Definition at line 101 of file util-daemon.c.