load_connections


Description:

[ Version ( since = "0.9.10" ) ]
public bool load_connections (string filenames, out string failures) throws Error

Requests that the remote settings service load or reload the given files, adding or updating the connections described within.

The changes to the indicated files will not yet be reflected in this's connections array when the function returns.

If all of the indicated files were successfully loaded, the function will return true, and failures will be set to null. If NetworkManager tried to load the files, but some (or all) failed, then failures will be set to a null-terminated array of the filenames that failed to load.

Parameters:

this

the RemoteSettings

filenames

null-terminated array of filenames to load

failures

on return, a null-terminated array of filenames that failed to load

Returns:

true if NetworkManager at least tried to load filenames, false if an error occurred (eg, permission denied).




2022 vala-language.org