Function gnunet_sys::GNUNET_CONFIGURATION_get_data [−][src]
pub unsafe extern "C" fn GNUNET_CONFIGURATION_get_data(
cfg: *const GNUNET_CONFIGURATION_Handle,
section: *const c_char,
option: *const c_char,
buf: *mut c_void,
buf_size: usize
) -> GNUNET_GenericReturnValue
Get Crockford32-encoded fixed-size binary data from a configuration.
@param cfg configuration to access @param section section to access @param option option to access @param buf where to store the decoded binary result @param buf_size exact number of bytes to store in @a buf @return #GNUNET_OK on success #GNUNET_NO is the value does not exist #GNUNET_SYSERR on decoding error