nginx/src/core/ngx_connection.c


/*
 * Copyright (C) Igor Sysoev
 * Copyright (C) Nginx, Inc.
 */


#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_event.h>


ngx_os_io_t  ngx_io;


static void ngx_drain_connections(ngx_cycle_t *cycle);


ngx_listening_t *
ngx_create_listening(ngx_conf_t *cf, struct sockaddr *sockaddr,
    socklen_t socklen)
{}


ngx_int_t
ngx_clone_listening(ngx_cycle_t *cycle, ngx_listening_t *ls)
{}


ngx_int_t
ngx_set_inherited_sockets(ngx_cycle_t *cycle)
{}


ngx_int_t
ngx_open_listening_sockets(ngx_cycle_t *cycle)
{}


void
ngx_configure_listening_sockets(ngx_cycle_t *cycle)
{}


void
ngx_close_listening_sockets(ngx_cycle_t *cycle)
{}


ngx_connection_t *
ngx_get_connection(ngx_socket_t s, ngx_log_t *log)
{}


void
ngx_free_connection(ngx_connection_t *c)
{}


void
ngx_close_connection(ngx_connection_t *c)
{}


void
ngx_reusable_connection(ngx_connection_t *c, ngx_uint_t reusable)
{}


static void
ngx_drain_connections(ngx_cycle_t *cycle)
{}


void
ngx_close_idle_connections(ngx_cycle_t *cycle)
{}


ngx_int_t
ngx_connection_local_sockaddr(ngx_connection_t *c, ngx_str_t *s,
    ngx_uint_t port)
{}


ngx_int_t
ngx_tcp_nodelay(ngx_connection_t *c)
{}


ngx_int_t
ngx_connection_error(ngx_connection_t *c, ngx_err_t err, char *text)
{}