John DeNisco | ce96dda | 2018-08-14 16:04:09 -0400 | [diff] [blame] | 1 | .. _dplugins: |
John DeNisco | 06dcd45 | 2018-07-26 12:45:10 -0400 | [diff] [blame] | 2 | |
| 3 | Plugins |
| 4 | ======= |
| 5 | |
| 6 | vlib implements a straightforward plug-in DLL mechanism. VLIB client |
| 7 | applications specify a directory to search for plug-in .DLLs, and a name |
| 8 | filter to apply (if desired). VLIB needs to load plug-ins very early. |
| 9 | |
| 10 | Once loaded, the plug-in DLL mechanism uses dlsym to find and verify a |
| 11 | vlib\_plugin\_registration data structure in the newly-loaded plug-in. |
| 12 | |
John DeNisco | ce96dda | 2018-08-14 16:04:09 -0400 | [diff] [blame] | 13 | For more on plugins please refer to :ref:`sample_plugin`. |