pub unsafe extern "C" fn tr_sessionLoadSettings(
    dictionary: *mut tr_variant,
    configDir: *const c_char,
    appName: *const c_char
) -> u8
Expand description

Load settings from the configuration directory’s settings.json file, using libtransmission’s default settings as fallbacks for missing keys.

FIXME: this belongs in libtransmissionapp

@param dictionary pointer to an uninitialized tr_variant @param configDir the configuration directory to find settings.json @param appName if configDir is empty, appName is used to find the default dir. @return success true if the settings were loaded, false otherwise @see tr_sessionGetDefaultSettings () @see tr_sessionInit () @see tr_sessionSaveSettings ()