msiAdmWriteFNMapsFromStructIntoFile ( msParam_t *  inFnmFileNameParam,
msParam_t *  inCoreFNMapStruct,
ruleExecInfo_t *  rei 
)
Description:
Writes to file the FNMs within a given FNM structure
Module:
core
Since:
after 2.5
Author:
Arcot Rajasekar
Date:
2011
Note:
This microservice requires iRODS administration privileges.
This is a microservice that writes into a given file the contents of a given FNM structure. The file can be in 'server/config/reConfigs/' or any path on the server local file system.
Example Usage:
See clients/icommands/test/rules3.0/
Parameters:
[in] inFnmFileNameParam - a msParam of type STR_MS_T, the name of the file to be written
[in] inCoreFNMapStruct - a msParam of type RuleStruct_MS_T
[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:
A new FNM file is created
Returns:
integer
Return values:
0 on success
Precondition:
none
Postcondition:
none
See also:
msiAdmReadFNMapsFromFileIntoStruct, msiAdmInsertFNMapsFromStructIntoDB, msiGetFNMapsFromDBIntoStruct

Definition at line 1217 of file ruleAdminMS.c.

Generated on Fri Mar 15 13:40:30 2013 for iRODS Documentation by  doxygen 1.6.3