Go to the first, previous, next, last section, table of contents.

Interface

An interface reveals portions of a module to the outside world so that clients can access functionality of modules. All declarations in an interface are visible to clients of a module.

Each interface usually takes the form of a file with a ".i3" extension, and have the following format:

Generally, interface-name is the same as the name of the module that exports this interface. For example, a CDROM module exports a CDROM interface.


Example

Here is an example of an interface for a module Thing contained in a file called Thing.i3:


Go to the first, previous, next, last section, table of contents.