msiLoadMetadataFromDataObj ( msParam_t *  inpParam,
msParam_t *  outParam,
ruleExecInfo_t *  rei 
)
Description:
Parses an iRODS object for new metadata AVUs
Module:
ERA
Since:
pre-2.1
Author:
Antoine de Torcy
Date:
2007-09-26
Note:
The metadata file is read as a text file and must contain one AVU per line.
    See example file snippet below:

    C-/tempZone/home/antoine/testColl |CollAttr000 |CollVal00 |CollUnits00
    /tempZone/home/antoine/testColl/file00.txt |myAttr000 |myVal001
    /tempZone/home/antoine/testColl/file00.txt |myAttr001 |myVal001 |myUnits001
    # Some comments
    /tempZone/home/antoine/testColl/file01.txt |myAttr011 |myVal011
    /tempZone/home/antoine/testColl/file01.txt |myAttr010 |myVal011

    Collection paths must start with C-.

    Units in AVUs are optional.

    Lines starting with # won't be parsed.
Example Usage:
See clients/icommands/test/rules3.0/
Parameters:
[in] inpParam - A DataObjInp_MS_T or a STR_MS_T with the irods path of the metadata file.
[out] outParam - An INT_MS_T containing the status.
[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 on success
Precondition:
None
Postcondition:
None
See also:
None

Definition at line 773 of file eraMS.c.

Generated on Wed Jun 5 23:14:30 2013 for iRODS Documentation by  doxygen 1.6.3