Function gnunet_sys::GNUNET_HELPER_stop[][src]

pub unsafe extern "C" fn GNUNET_HELPER_stop(
    h: *mut GNUNET_HELPER_Handle,
    soft_kill: c_int
)

Kills the helper, closes the pipe, frees the handle and calls wait() on the helper process

@param h handle to helper to stop @param soft_kill if #GNUNET_YES, signals termination by closing the helper’s stdin; #GNUNET_NO to signal termination by sending SIGTERM to helper