Procedures
This section describes the procedure for creating and installing a module.
To create and install a module containing a dynamically loading API, use the following procedure. The operating system provides a sample Makefile, sample export file, and sample user module file, which are located in the /usr/samples/tcpip/dynload directory.
- Create the dynamic loadable module based on operating system specifications.
- Create an export file (for example, rnd.exp) that exports all the symbols to be used.
- After compilation, put all the dynamic loadable object files in the /usr/lib/netsvc/dynload directory.
- Configure one of the sources described immediately before htis procedure (NSORDER, /etc/netsvc.conf, or /etc/irs.conf).