Initializing help system before first use

User-defined drivers

The contents of this section is quite advanced material and we recommend its reading only to those who are interested in the Mosel Native Interface (NI).

In this section we discuss two examples of user-defined drivers, performing compression and code generation respectively. New drivers are defined via the NI, in the form of services. For every driver some or all of a list of standard I/O functions may be defined, depending on its purpose.

The full source code of both examples is provided with the examples of the Mosel distribution. This compression module zlib is also included in compiled form among the DSOs of the Mosel distribution. For more detail on the implementation of new I/O drivers see the `Mosel NI User Guide' and `Mosel NI Reference Manual'.