The name of the shared library to load. This path will be directly passed to dlopen() without further checks.
if not-null, check that the loaded plugin advertises the given service.
Load the shared library plugin_name and create a new
NM.VpnEditorPlugin instance via the NMVpnEditorPluginFactory
function.
If plugin_name is not an absolute path name, it assumes the file
is in the plugin directory of NetworkManager. In any case, the call
will do certain checks on the file before passing it to dlopen.
A consequence for that is, that you cannot omit the ".so" suffix
as you could for nm_vpn_editor_plugin_load().
The path or name of the shared library to load. The path must either be an absolute filename to an existing file. Alternatively, it can be the name (without path) of a library in the plugin directory of NetworkManager.
if not-null, check that the loaded plugin advertises the given service.
if non-negative, check whether the file is owned by UID check_owner or by root. In this case also check that the file is not writable by anybody else.
optional callback to validate the file prior to loading the shared library.
Load the shared library
plugin_nameand create a new NM.VpnEditorPlugin instance via theNMVpnEditorPluginFactoryfunction.This is similar to
nm_vpn_editor_plugin_load_from_file(), but it does no validation of the plugin name, instead passes it directly todlopen(). If you have the full path to a plugin file,nm_vpn_editor_plugin_load_from_file()is preferred.