You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
383 B

#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);
int network_init(server *srv, int stdin_fd);
int network_close(server *srv);
int network_register_fdevents(server *srv);
void network_unregister_sock(server *srv, struct server_socket *srv_socket);