Skip to main content

gsp_client_accept

Function gsp_client_accept 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn gsp_client_accept( ch: i32, current_epoch: u64, pt_ptr: *const u8, pt_len: usize, ) -> *mut c_char
Expand description

Accepts a GSP signal payload.

current_epoch is the receiver node’s current epoch — the client uses it to auto-reset its dedup state when the epoch advances.

§Safety

pt_ptr MUST be valid for pt_len bytes.