nxt_conn.h (359:d4848619451a) nxt_conn.h (386:d9e23ae1617d)
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_CONN_H_INCLUDED_
8#define _NXT_CONN_H_INCLUDED_

--- 210 unchanged lines hidden (view full) ---

219 \
220 (c)->tcp_nodelay = (ret == NXT_OK); \
221 } while (0)
222
223#endif
224
225
226NXT_EXPORT nxt_conn_t *nxt_conn_create(nxt_mp_t *mp, nxt_task_t *task);
1
2/*
3 * Copyright (C) Igor Sysoev
4 * Copyright (C) NGINX, Inc.
5 */
6
7#ifndef _NXT_CONN_H_INCLUDED_
8#define _NXT_CONN_H_INCLUDED_

--- 210 unchanged lines hidden (view full) ---

219 \
220 (c)->tcp_nodelay = (ret == NXT_OK); \
221 } while (0)
222
223#endif
224
225
226NXT_EXPORT nxt_conn_t *nxt_conn_create(nxt_mp_t *mp, nxt_task_t *task);
227NXT_EXPORT void nxt_conn_free(nxt_task_t *task, nxt_conn_t *c);
227void nxt_conn_io_shutdown(nxt_task_t *task, void *obj, void *data);
228NXT_EXPORT void nxt_conn_close(nxt_event_engine_t *engine, nxt_conn_t *c);
229
230NXT_EXPORT void nxt_conn_timer(nxt_event_engine_t *engine, nxt_conn_t *c,
231 const nxt_conn_state_t *state, nxt_timer_t *tev);
232NXT_EXPORT void nxt_conn_work_queue_set(nxt_conn_t *c, nxt_work_queue_t *wq);
233
234void nxt_conn_sys_socket(nxt_task_t *task, void *obj, void *data);

--- 113 unchanged lines hidden ---
228void nxt_conn_io_shutdown(nxt_task_t *task, void *obj, void *data);
229NXT_EXPORT void nxt_conn_close(nxt_event_engine_t *engine, nxt_conn_t *c);
230
231NXT_EXPORT void nxt_conn_timer(nxt_event_engine_t *engine, nxt_conn_t *c,
232 const nxt_conn_state_t *state, nxt_timer_t *tev);
233NXT_EXPORT void nxt_conn_work_queue_set(nxt_conn_t *c, nxt_work_queue_t *wq);
234
235void nxt_conn_sys_socket(nxt_task_t *task, void *obj, void *data);

--- 113 unchanged lines hidden ---