Function gnunet_sys::GNUNET_DISK_directory_scan[][src]

pub unsafe extern "C" fn GNUNET_DISK_directory_scan(
    dir_name: *const c_char,
    callback: GNUNET_FileNameCallback,
    callback_cls: *mut c_void
) -> c_int

Scan a directory for files.

@param dir_name the name of the directory @param callback the method to call for each file @param callback_cls closure for @a callback @return the number of files found, -1 on error