The use_get_function_list parameter (to load_driver) gets a name and a module. It describes how interaction with the DLL performs.
Most users can use the default value (auto) which just works. If more control is required, the following mapping is used:
former name
new name
false
ffi
true
stubs
auto
auto
The stubs mode is pretty complex, has global state (in pkcs11-module.c) and has the only advantage of being a fallback when libffi is not present (which is pretty much never the case), so it'll probably be removed at some point.
The
use_get_function_list
parameter (toload_driver
) gets a name and a module. It describes how interaction with the DLL performs.Most users can use the default value (
auto
) which just works. If more control is required, the following mapping is used:The
stubs
mode is pretty complex, has global state (inpkcs11-module.c
) and has the only advantage of being a fallback whenlibffi
is not present (which is pretty much never the case), so it'll probably be removed at some point.