msiAdmAppendToTopOfCoreIRB ( msParam_t *  newFileNameParam,
ruleExecInfo_t *  rei 
)
Description:
This is a microservice that changes the core.irb file currently in the configuration directory 'server/config/reConfigs' by prepending the given rules file to it. When the server is started next time, then the new core file will be used by the rule engine.
Module:
core
Since:
pre-2.1
Author:
Arcot Rajasekar
Date:
2007-04
Note:
This microservice requires iRODS administration privileges.
This microservice expects the prepended file to be of the form *.irb and to be located in the configuration directory.
Example Usage:
See clients/icommands/test/rules3.0/
Parameters:
[in] newFileNameParam - is a msParam of type STR_MS_T, which is a prepended core file name without the .irb extension.
[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:
core.irb file is prepended by the alternate new core file.
Returns:
integer
Return values:
0 on success
Precondition:
none
Postcondition:
none
See also:
msiAdmShowIRB, msiAdmChangeCoreIRB

Definition at line 126 of file ruleAdminMS.c.

Generated on Mon Jun 25 14:00:57 2012 for iRODS Documentation by  doxygen 1.6.3