get_vt
Description:
[ Version ( since = "1.4" ) ]
public size_t get_vt (out unowned VpnEditorPluginVT vt, size_t vt_size)
public size_t get_vt (out unowned VpnEditorPluginVT vt, size_t vt_size)
Returns an opaque VT function table for the plugin to extend functionality.
The actual meaning of NMVpnEditorPluginVT is not defined in public API of libnm, instead it must be agreed by both the plugin and the caller. See the header-only file 'nm-vpn-editor-plugin-call.h' which defines the meaning.
Parameters:
this |
the VpnEditorPlugin |
vt |
buffer to be filled with the VT table of the plugin |
vt_size |
the size of the buffer. Can be 0 to only query the size of plugin's VT. |
Returns:
the actual size of the this's virtual function table. |