SCAKSOLVERGetVersion
Interface Definition
C interface:
int KSCASOLVERGetVersion(KSCASOLVERVersion *ver);
Parameters
Parameter |
Type |
Description |
Input/Output |
|---|---|---|---|
ver |
Pointer to the KSCASOLVERVersion structure |
Storage version information. This parameter value cannot be NULL. |
Input/Output |
Dependencies
#include "kml_scasolver.h"
#include "kml_service.h"
Examples
C interface:
int main()
{
KSCASOLVERVersion *ver = (KSCASOLVERVersion*)malloc(sizeof(KSCASOLVERVersion));
int res = KSCASOLVERGetVersion(ver);
if (res != 0) {
printf("Get version error.\n");
return 0;
}
printf("Component Name: %s\nComponent Version: %s\nSoftware Name: %s\nSoftware Version: %s\n",
ver->componentName, ver->componentVersion, ver->softwareName, ver->softwareVersion);
return 0;
}
Output:
Component Name: BoostKit-kml Component Version: 1.8.0 Software Name: boostkit-kml-scasolver Software Version: 1.8.0
The version number in the example above are for reference only.
Parent topic: Function Definition (Cluster Edition)