Age | Commit message (Collapse) | Author |
|
This function reads the config file supplied by
`config_file`, and initialize the `config *` supplied
by `cfg` accordingly.
`init_config()` returns true if the config file was
successfully read, otherwise, it returns false.
|
|
This flag, when true, exits the main loop, and thus
exits the program.
|
|
Thanks goes to Nova Forte for pointing it out to me.
|
|
`main()`.
|
|
|
|
|
|
Which actually initiallizes, and starts the daemon.
If `change_dir` is true, it will change the working
directory to `path`, or the root directory if `path`
is NULL.
|
|
Which is the same as `child_handler()`, but for SIGHUP.
And just like `child_handler()`, it's also currently a
stub.
|
|
Which is the handler for SIGCHLD.
Currently, it's a stub.
|
|
Which handles forking a process, aswell as exiting the
parent process.
|
|
|