Initializing help system before first use

XPRMgetnextdsoproc

XPRMgetnextdsoproc


Purpose
Get the next subroutine in the list of the given module.
Synopsis
void *XPRMgetnextdsoproc(XPRMdsolib dso, void *ref, const char **name, const char **partyp, int *nbpar, int *type);
Arguments
dso 
Reference to a dynamic shared object loaded by Mosel
ref 
Reference pointer or NULL
name 
Returned name of the routine (procedure or function)
partyp 
Returned string describing the parameters of the routine
nbpar 
Returned number of parameters expected by the routine
type 
Returned type of the result of the routine
Return value
Reference pointer for the next call to XPRMgetnextdsoproc.
Further information
This function returns the next subroutine defined by the given module. The second parameter is used to store the current location in the table of subroutines; if this parameter is NULL, the first subroutine of the table is returned. This function returns NULL if it is called with the reference to the last subroutine defined by the given module. Otherwise, the returned value can be used as the input parameter ref to get the following subroutine and so on. The type and parameter string can be decoded in the same way as for the model procedures and functions (see XPRMgetprocinfo) except that native functions may return objects of native type. In this case, the function type is XPRM_TYP_EXTN and the parameter string partyp begins with the name of the function type followed by `:' ( e.g. "mytype:|mytype|" is the signature of a function of type `mytype' expecting an object of type `mytype' as parameter. Note that the same subroutine name may be returned several times if a subroutine has been defined with different types of parameters (overloading).
Related topics