mpiSqNodeDriveMapConfigCount

Declaration

long mpiSqNodeDriveMapConfigCount (MPISqNode    sqNode,
                                   MPIDriveMap  driveMap,
                                   long         driveIndex,
                                   long         *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

See Also

mpiSqNodeDriveMapConfigList