aboutsummaryrefslogtreecommitdiffstats
path: root/docs/gettingstarted/developers/plugins.rst
blob: d18a5a879d704f846b40206e41184f4b541361bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
.. _dplugins:

Plugins
=======

vlib implements a straightforward plug-in DLL mechanism. VLIB client
applications specify a directory to search for plug-in .DLLs, and a name
filter to apply (if desired). VLIB needs to load plug-ins very early.

Once loaded, the plug-in DLL mechanism uses dlsym to find and verify a
vlib\_plugin\_registration data structure in the newly-loaded plug-in.

For more on plugins please refer to :ref:`sample_plugin`.