Handling of modules
The functionalities of Mosel may be extended by using native libraries or modules implemented as dynamic shared objects (DSO). The module manager of Mosel keeps a list of all loaded modules and maintains a list of references for each of them. Using the following functions it is possible to know which modules are currently loaded and what are the provided features, and to access the values of their control parameters.
XPRMautounloaddso |
Disable/enable automatic unloading of modules.
|
XPRMfinddso |
Find a DSO descriptor from a module name.
|
XPRMflushdso |
Unload unused dynamic shared objects.
|
XPRMgetdsoannotations |
Retrieve annotations defined by a module.
|
XPRMgetdsoparam |
Get the current value of a control parameter.
|
XPRMgetdsopath |
Get the directory list where DSO files are searched for.
|
XPRMgetdsoprop |
Get a property of a dynamic shared object.
|
XPRMgetnextdso |
Get next dynamic shared object.
|
XPRMgetnextdsoconst |
Enumerate constants of a module.
|
XPRMgetnextdsodep |
Enumerate dependencies of a module.
|
XPRMgetnextdsoparam |
Enumerate control parameters of a module.
|
XPRMgetnextdsoproc |
Enumerate procedures and functions of a module.
|
XPRMgetnextdsotype |
Enumerate native types of a module.
|
XPRMgetnextiodrv |
Get the next IO driver in the list of available drivers.
|
XPRMpreloaddso |
Explicitly load the named module.
|
XPRMregstatdso |
Declare a module as static.
|
XPRMsetdsopath |
Set the directory list where DSO files are stored.
|