OpenVPN 3 Core Library
Loading...
Searching...
No Matches
daemon.hpp File Reference
#include <sys/types.h>
#include <unistd.h>
#include <string>
#include <openvpn/common/size.hpp>
#include <openvpn/common/exception.hpp>
#include <openvpn/common/to_string.hpp>
#include <openvpn/common/file.hpp>
#include <openvpn/common/logrotate.hpp>
#include <openvpn/common/redir.hpp>
#include <openvpn/common/usergroup.hpp>
#include <openvpn/common/logsetup.hpp>
Include dependency graph for daemon.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  openvpn::LogReopen
 
class  openvpn::WritePid
 

Namespaces

namespace  openvpn
 

Functions

 openvpn::OPENVPN_EXCEPTION (daemon_err)
 
LogSetup::Ptr openvpn::log_setup (const std::string &log_fn, const SetUserGroup *user_group, const bool log_append, const int log_versions, const bool stdin_to_dev_null, const bool combine_out_err)
 
void openvpn::daemonize ()
 
LogSetup::Ptr openvpn::daemonize (const std::string &log_fn, const SetUserGroup *user_group, const bool log_append, const int log_versions)
 
void openvpn::write_pid (const std::string &fn)