Load the shared library plugin_name and create a new
NM.VpnEditorPlugin instance via the NMVpnEditorPluginFactory
function.
This is similar to nm_vpn_editor_plugin_load_from_file(), but
it does no validation of the plugin name, instead passes it directly
to dlopen(). If you have the full path to a plugin file,
nm_vpn_editor_plugin_load_from_file() is preferred.
Parameters
plugin_name: string
The name of the shared library to load. This path will be directly passed to dlopen() without further checks.
check_service: string
if not-null, check that the loaded plugin advertises the given service.
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.