[][src]Function transmission_sys::tr_sessionSaveSettings

pub unsafe extern "C" fn tr_sessionSaveSettings(
    session: *mut tr_session,
    configDir: *const c_char,
    dictionary: *const tr_variant
)

Add the session's configuration settings to the benc dictionary and save it to the configuration directory's settings.json file.

FIXME: this belongs in libtransmissionapp

@param session the session to save @param configDir the directory to write to @param dictionary the dictionary to save @see tr_sessionLoadSettings()