Function gnunet_sys::GNUNET_CONFIGURATION_get_value_choice [−][src]
pub unsafe extern "C" fn GNUNET_CONFIGURATION_get_value_choice(
cfg: *const GNUNET_CONFIGURATION_Handle,
section: *const c_char,
option: *const c_char,
choices: *const *const c_char,
value: *mut *const c_char
) -> GNUNET_GenericReturnValue
Get a configuration value that should be in a set of predefined strings
@param cfg configuration to inspect @param section section of interest @param option option of interest @param choices NULL-terminated list of legal values @param value will be set to an entry in the legal list, or NULL if option is not specified and no default given @return #GNUNET_OK on success, #GNUNET_SYSERR on error