Module initialization
The module initialization function takes the following form. It must always be present. The function name must correspond to the name of the module, with _init appended to it. The first parameter passes the list of Mosel NI functions to the module, the other three parameters must be filled in by the module. The initialization function returns 0 if executed successfully, 1 otherwise.
DSO_INIT modulename_init(XPRMnifct nifct, int *interver, int *libver, XPRMdsointer **interf)
Arguments:
- nifct
- List of Native Interface functions provided by Mosel
- interver
- Native Interface version used by the module, must be set to XPRM_NIVERS
- libver
- Module version. The macro XPRM_MKVER can be used to compose a version number of three integers, for example with XPRM_MKVER(0,0,1) the smallest possible value (namely 0.0.1) is obtained
- interf
- Interface structure
© 2001-2019 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.