Go to the source code of this file.
Data Structures | |
struct | host_allow |
Defines | |
#define | DEFAULT_QUEUE_LEN 10 |
Typedefs | |
typedef host_allow * | HostsAllow |
Functions | |
void | start_httpd (int port, int backlog, char *bindAddr) |
Start the HTTPD server. More... | |
void | stop_httpd () |
Stop the HTTPD server. More... | |
int | add_host_allow (char *) |
Add hosts allowed to connect to this server. More... | |
int | has_hosts_allow () |
Are any hosts present in the host allow list? More... | |
void | destroy_hosts_allow () |
Free the host allow list. More... |
|
|
|
|
|
Add hosts allowed to connect to this server.
Definition at line 181 of file engine.c. References END_LOCK, LOCK, host_allow::name, NEW, host_allow::next, and xstrdup(). |
|
Free the host allow list.
Definition at line 254 of file engine.c. References END_LOCK, has_hosts_allow(), and LOCK. |
|
Are any hosts present in the host allow list?
Definition at line 238 of file engine.c. References END_LOCK, and LOCK. Referenced by can_http(), and destroy_hosts_allow(). |
|
Start the HTTPD server.
Definition at line 110 of file engine.c. References check_socket(), create_server_socket(), destroy_wrapper(), error(), http_processor(), requestwrapper::socket, requestwrapper::status, and STRERROR. |
|
Stop the HTTPD server.
Definition at line 165 of file engine.c. References close_socket(). Referenced by monit_http(). |