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.

  1. Create the dynamic loadable module based on operating system specifications.
  2. Create an export file (for example, rnd.exp) that exports all the symbols to be used.
  3. After compilation, put all the dynamic loadable object files in the /usr/lib/netsvc/dynload directory.
  4. Configure one of the sources described immediately before htis procedure (NSORDER, /etc/netsvc.conf, or /etc/irs.conf).