Type Definition gnunet_sys::GNUNET_FileNameCallback[][src]

type GNUNET_FileNameCallback = Option<unsafe extern "C" fn(cls: *mut c_void, filename: *const c_char) -> GNUNET_GenericReturnValue>;

Function called with a filename.

@param cls closure @param filename complete filename (absolute path) @return #GNUNET_OK to continue to iterate, #GNUNET_NO to stop iteration with no error, #GNUNET_SYSERR to abort iteration with error!