blob: 761bba5a33efa5c4fcc11a82f7d93312beca61a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef _NETWORK_H_
#define _NETWORK_H_
#include "first.h"
#include "base_decls.h"
struct server_socket; /* declaration */
void network_accept_tcp_nagle_disable(int fd);
__attribute_cold__
int network_init(server *srv, int stdin_fd);
__attribute_cold__
int network_close(server *srv);
__attribute_cold__
int network_register_fdevents(server *srv);
__attribute_cold__
void network_unregister_sock(server *srv, struct server_socket *srv_socket);
__attribute_cold__
void network_socket_activation_to_env (server *srv);
#endif
|