2 #include "../acl_cpp_define.hpp" 4 #include "../stdlib/thread_mutex.hpp" 6 #ifndef ACL_CLIENT_ONLY 21 void run_daemon(
int argc,
char** argv);
31 bool run_alone(
const char* addrs,
const char* path = NULL,
32 unsigned int count = 1);
73 const char* get_conf_path(
void)
const;
80 std::vector<socket_stream*> sstreams_;
83 void run(
int argc,
char** argv);
98 static void service_pre_jail(
void*);
101 static void service_init(
void*);
104 static void service_exit(
void*);
107 static void thread_init(
void*);
115 #endif // ACL_CLIENT_ONLY
virtual void proc_on_bind(socket_stream &)
virtual void proc_on_unbind(socket_stream &)
const std::vector< socket_stream * > & get_sstreams() const
virtual void thread_on_init(void)