Type Alias ngx_peer_connection_t

Source
pub type ngx_peer_connection_t = ngx_peer_connection_s;

Aliased Type§

struct ngx_peer_connection_t {
Show 19 fields pub connection: *mut ngx_connection_s, pub sockaddr: *mut sockaddr, pub socklen: u32, pub name: *mut ngx_str_t, pub tries: usize, pub start_time: usize, pub get: Option<unsafe extern "C" fn(_: *mut ngx_peer_connection_s, _: *mut c_void) -> isize>, pub free: Option<unsafe extern "C" fn(_: *mut ngx_peer_connection_s, _: *mut c_void, _: usize)>, pub notify: Option<unsafe extern "C" fn(_: *mut ngx_peer_connection_s, _: *mut c_void, _: usize)>, pub data: *mut c_void, pub set_session: Option<unsafe extern "C" fn(_: *mut ngx_peer_connection_s, _: *mut c_void) -> isize>, pub save_session: Option<unsafe extern "C" fn(_: *mut ngx_peer_connection_s, _: *mut c_void)>, pub local: *mut ngx_addr_t, pub type_: i32, pub rcvbuf: i32, pub log: *mut ngx_log_s, pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>, pub spare: [u64; 2],
}

Fields§

§connection: *mut ngx_connection_s§sockaddr: *mut sockaddr§socklen: u32§name: *mut ngx_str_t§tries: usize§start_time: usize§get: Option<unsafe extern "C" fn(_: *mut ngx_peer_connection_s, _: *mut c_void) -> isize>§free: Option<unsafe extern "C" fn(_: *mut ngx_peer_connection_s, _: *mut c_void, _: usize)>§notify: Option<unsafe extern "C" fn(_: *mut ngx_peer_connection_s, _: *mut c_void, _: usize)>§data: *mut c_void§set_session: Option<unsafe extern "C" fn(_: *mut ngx_peer_connection_s, _: *mut c_void) -> isize>§save_session: Option<unsafe extern "C" fn(_: *mut ngx_peer_connection_s, _: *mut c_void)>§local: *mut ngx_addr_t§type_: i32§rcvbuf: i32§log: *mut ngx_log_s§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§spare: [u64; 2]