Type Alias ngx_connection_t

Source
pub type ngx_connection_t = ngx_connection_s;

Aliased Type§

struct ngx_connection_t {
Show 30 fields pub data: *mut c_void, pub read: *mut ngx_event_s, pub write: *mut ngx_event_s, pub fd: i32, pub recv: Option<unsafe extern "C" fn(_: *mut ngx_connection_s, _: *mut u8, _: usize) -> isize>, pub send: Option<unsafe extern "C" fn(_: *mut ngx_connection_s, _: *mut u8, _: usize) -> isize>, pub recv_chain: Option<unsafe extern "C" fn(_: *mut ngx_connection_s, _: *mut ngx_chain_s, _: i64) -> isize>, pub send_chain: Option<unsafe extern "C" fn(_: *mut ngx_connection_s, _: *mut ngx_chain_s, _: i64) -> *mut ngx_chain_s>, pub listening: *mut ngx_listening_s, pub sent: i64, pub log: *mut ngx_log_s, pub pool: *mut ngx_pool_s, pub type_: i32, pub sockaddr: *mut sockaddr, pub socklen: u32, pub addr_text: ngx_str_t, pub proxy_protocol: *mut ngx_proxy_protocol_s, pub quic: *mut ngx_quic_stream_s, pub ssl: *mut ngx_ssl_connection_s, pub udp: *mut ngx_udp_connection_s, pub local_sockaddr: *mut sockaddr, pub local_socklen: u32, pub buffer: *mut ngx_buf_s, pub queue: ngx_queue_s, pub number: u64, pub start_time: usize, pub requests: usize, pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>, pub sendfile_task: *mut ngx_thread_task_s,
}

Fields§

§data: *mut c_void§read: *mut ngx_event_s§write: *mut ngx_event_s§fd: i32§recv: Option<unsafe extern "C" fn(_: *mut ngx_connection_s, _: *mut u8, _: usize) -> isize>§send: Option<unsafe extern "C" fn(_: *mut ngx_connection_s, _: *mut u8, _: usize) -> isize>§recv_chain: Option<unsafe extern "C" fn(_: *mut ngx_connection_s, _: *mut ngx_chain_s, _: i64) -> isize>§send_chain: Option<unsafe extern "C" fn(_: *mut ngx_connection_s, _: *mut ngx_chain_s, _: i64) -> *mut ngx_chain_s>§listening: *mut ngx_listening_s§sent: i64§log: *mut ngx_log_s§pool: *mut ngx_pool_s§type_: i32§sockaddr: *mut sockaddr§socklen: u32§addr_text: ngx_str_t§proxy_protocol: *mut ngx_proxy_protocol_s§quic: *mut ngx_quic_stream_s§ssl: *mut ngx_ssl_connection_s§udp: *mut ngx_udp_connection_s§local_sockaddr: *mut sockaddr§local_socklen: u32§buffer: *mut ngx_buf_s§queue: ngx_queue_s§number: u64§start_time: usize§requests: usize§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>§sendfile_task: *mut ngx_thread_task_s