Type Definition gnunet_sys::GNUNET_SERVICE_DisconnectHandler[][src]

type GNUNET_SERVICE_DisconnectHandler = Option<unsafe extern "C" fn(cls: *mut c_void, c: *mut GNUNET_SERVICE_Client, internal_cls: *mut c_void)>;

Callback to be called when a client disconnected from the service

@param cls closure for the service @param c the client that disconnected @param internal_cls the client-specific (`internal’) closure