Function gnunet_sys::GNUNET_STRINGS_check_filename [−][src]
pub unsafe extern "C" fn GNUNET_STRINGS_check_filename(
filename: *const c_char,
checks: GNUNET_STRINGS_FilenameCheck
) -> c_int
Perform checks on @a filename. FIXME: some duplication with “GNUNET_DISK_”-APIs. We should unify those.
@param filename file to check @param checks checks to perform @return #GNUNET_YES if all checks pass, #GNUNET_NO if at least one of them fails, #GNUNET_SYSERR when a check can’t be performed