mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-03-06 14:56:59 +08:00
This allows the main process to handle a single listener which will get all information about new and disconnecting users.
15 lines
401 B
C
15 lines
401 B
C
#ifndef MAIN_CTL_HANDLER_H
|
|
# define MAIN_CTL_HANDLER_H
|
|
|
|
#include <occtl/ctl.h>
|
|
#include <ev.h>
|
|
|
|
int ctl_handler_init(main_server_st* s);
|
|
void ctl_handler_deinit(main_server_st* s);
|
|
|
|
void ctl_handler_set_fds(main_server_st* s, ev_io *watcher);
|
|
void ctl_handler_run_pending(main_server_st* s, ev_io *watcher);
|
|
void ctl_handler_notify (main_server_st* s, struct proc_st *proc, unsigned connect);
|
|
|
|
#endif
|