Initializing help system before first use

XPRMgetnextdep

XPRMgetnextdep


Purpose
Get the next dependency (module or package) of a model.
Synopsis
void *XPRMgetnextdep(XPRMmodel model, void *ref, const char **name, int *version, int *dso_pkg);
Arguments
model 
Reference to a model
ref 
Reference pointer or NULL
name 
Returned name of the package/module
version 
Returned version of the package/module
dso_pkg 
Returned type of the dependency: 1 for a package and 0 for a module
Return value
Reference pointer for the next call to XPRMgetnextdep.
Further information
This function returns the next dependency of a model: model dependencies are the packages it includes and the modules it requires. The second parameter is used to store the current location in the table of dependencies; if this parameter is NULL, the first dependency of the table is returned. This function returns NULL if it is called with the reference to the last dependency defined by the given model. Otherwise, the returned value can be used as the input parameter ref to get the following dependency and so on. Note that this function allocates memory when it is called for the first time and releases the allocated data when all items have been returned ( i.e. the function returns NULL).

© 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.