Function gnunet_sys::GNUNET_CONFIGURATION_load[][src]

pub unsafe extern "C" fn GNUNET_CONFIGURATION_load(
    cfg: *mut GNUNET_CONFIGURATION_Handle,
    filename: *const c_char
) -> GNUNET_GenericReturnValue

Load configuration. This function will first parse the defaults and then parse the specific configuration file to overwrite the defaults.

@param cfg configuration to update @param filename name of the configuration file, NULL to load defaults @return #GNUNET_OK on success, #GNUNET_SYSERR on error