msiDataObjChksum ( msParam_t *  inpParam1,
msParam_t *  msKeyValStr,
msParam_t *  outParam,
ruleExecInfo_t *  rei 
)
Description:
This microservice calls rsDataObjChksum to chksum the iput data object as part of a workflow execution.
Module:
core
Since:
pre-2.1
Author:
Michael Wan
Date:
2007-04-02
Example Usage:
See clients/icommands/test/rules3.0/
Parameters:
[in] inpParam1 - A DataObjInp_MS_T or a STR_MS_T which would be taken as dataObj path.
[in] msKeyValStr - Optional - a STR_MS_T. This is the special msKeyValStr format of keyWd1=value1++++keyWd2=value2++++keyWd3=value3... If the keyWd is not specified (without the '=' char), the value is assumed to be the target resource ("destRescName") for backward compatibility. Valid keyWds are:

  • "ChksumAll" - checksum all replicas. This keyWd has no value. But the '=' character is still needed.
  • "verifyChksum" - verify the chksum value.
  • "forceChksum" - checksum data-objects even if a checksum already exists in iCAT. This keyWd has no value.
  • "replNum" - the replica number to checksum. This keyWd has no value.
[out] outParam - a STR_MS_T containing the chksum value.
[in,out] rei - The RuleExecInfo structure that is automatically handled by the rule engine. The user does not include rei as a parameter in the rule invocation.
Session Variables Used:
none
Session Variables Modified:
none
iCAT Attributes Used:
none
iCAT Attributes Modified:
none
Side Effect:
none
Returns:
integer
Return values:
0 upon success
Precondition:
none
Postcondition:
none
See also:
none

Definition at line 1580 of file reDataObjOpr.c.

Generated on Fri Mar 15 13:58:02 2013 for iRODS Documentation by  doxygen 1.6.3