Function gnunet_sys::GNUNET_STRINGS_fancy_size_to_bytes [−][src]
pub unsafe extern "C" fn GNUNET_STRINGS_fancy_size_to_bytes(
fancy_size: *const c_char,
size: *mut c_ulonglong
) -> c_int
Convert a given fancy human-readable size to bytes.
@param fancy_size human readable string (i.e. 1 MB) @param size set to the size in bytes @return #GNUNET_OK on success, #GNUNET_SYSERR on error