mpiSqNodeDriveMapConfigCount
Declaration
int32_t mpiSqNodeDriveMapConfigCount (MPISqNode sqNode, MPIDriveMap driveMap, int32_t driveIndex, int32_t *configCount);
Required Header: stdmpi.h
Description
mpiSqNodeDriveMapConfigCount scans the drive map file for a drive entry that matches this node on the network. If an entry is found, this function returns the number of drive parameters that need to be preserved for the configuration of the drive.
This function is normally used with the mpiSqNodeDriveMapConfigList function. This function is first called to get the size of the drive configuration list. Then the user can use this size to allocate enough memory to hold the complete configuration list before calling mpiSqNodeDriveMapConfigList(...) to fill in the list.
sqNode | a handle to a SynqNet node object. |
---|---|
driveMap | a handle to a DriveMap object. |
driveIndex | an index to the drive (0, 1, 2, etc), relative to the node. |
*configCount | pointer to the variable that will be set by this function. |
Return Values | |
---|---|
MPIMessageOK |