NAME
          irSPIRegister

     SYNOPSIS
          #include <irapi.h>

          int irSPIRegister();

     DESCRIPTION
          Each shared object library listed in /vs/data/irSPI.libs
          contains a function called irSPIRegister(3IRSPI) with the
          prototype shown above.

          The irRegister(3IRAPI) function reads the file
          /vs/data/irSPI.libs line by line.  For each shared object
          library listed, the libary is opened and the
          irSPIRegister(3IRSPI) within that library is called if it
          exists.

          The purpose of irSPIRegister(3IRSPI) function in each shared
          object libary will vary.  Typically, irSPIRegister(3IRAPI)
          will plug entries into IRAPI dynamic switch tables to pro-
          vide functions which support the add-on package.

          Relative path names are allowed in /vs/data/irSPI.libs so
          long as LD_LIBRARY_PATH is set appropriately at
          irRegister(3IRAPI) time.

     NOTE
          The maximum number of shared object libraries which may be
          dynamically linked is governed by the UnixWare tunable
          parameter SHLBMAX.

     RETURN CODE
          irSPIRegister(3IRSPI) must return IRR_OK on success or
          IRR_FAIL on failure.

          If irSPIRegister(3IRAPI) returns IRR_FAIL then
          irRegister(3IRAPI) will fail.

     FILES
          /vs/data/irSPI.libs

     SEE ALSO
          dlopen(3), dlsym(3), irDynSwitch(3IRAPI),

     VERSION
          This is version 11/25/02 of this man page.