Function gnunet_sys::GNUNET_CRYPTO_hash_from_string2 [−][src]
pub unsafe extern "C" fn GNUNET_CRYPTO_hash_from_string2(
enc: *const c_char,
enclen: usize,
result: *mut GNUNET_HashCode
) -> GNUNET_GenericReturnValue
@ingroup hash Convert ASCII encoding back to a ‘struct GNUNET_HashCode’
@param enc the encoding @param enclen number of characters in @a enc (without 0-terminator, which can be missing) @param result where to store the hash code @return #GNUNET_OK on success, #GNUNET_SYSERR if result has the wrong encoding