Skip to main content

gbp_node_on_wire

Function gbp_node_on_wire 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn gbp_node_on_wire( nh: i32, mh: i32, wire_ptr: *const u8, wire_len: usize, ) -> *mut c_char
Expand description

Feeds wire bytes to the node. Returns a JSON-encoded array of events.

ยงSafety

wire_ptr MUST be valid for wire_len bytes.