This API is an alternative to STM_CM_unlock_file. It executes the unlock command on a file in the databank. The API is called only if the CM DLL does not include implementation for
STM_CM_unlock_file
. In case that the
STM_CM_unlock_file
is not implemented, the “Unlock” menu entry in the Rational Statemate Configuration menus are visible to the user.
intSTM_CM_rollback(
const char *bank_dir,
const char *name,
const char *ext,
const char *full_archive_name,
const char *user_name,
const char [STM_CM_version_length],
char error_message[STM_CM_message_length]
);