3 * Copyright (C) Igor Sysoev
4 * Copyright (C) Nginx, Inc.
8 #ifndef _NGX_CHANNEL_H_INCLUDED_
9 #define _NGX_CHANNEL_H_INCLUDED_
12 #include <ngx_config.h>
14 #include <ngx_event.h>
25 ngx_int_t
ngx_write_channel(ngx_socket_t s
, ngx_channel_t
*ch
, size_t size
,
27 ngx_int_t
ngx_read_channel(ngx_socket_t s
, ngx_channel_t
*ch
, size_t size
,
29 ngx_int_t
ngx_add_channel_event(ngx_cycle_t
*cycle
, ngx_fd_t fd
,
30 ngx_int_t event
, ngx_event_handler_pt handler
);
31 void ngx_close_channel(ngx_fd_t
*fd
, ngx_log_t
*log
);
34 #endif /* _NGX_CHANNEL_H_INCLUDED_ */