msiAdmChangeCoreIRB ( msParam_t *  newFileNameParam,
ruleExecInfo_t *  rei 
)
Description:
This microservice copies the specified file in the configuration directory 'server/config/reConfigs' onto the core.irb file in the same directory.
Module:
core
Since:
pre-2.1
Author:
Arcot Rajasekar
Date:
2007-04
Note:
This microservice expects the alternate file to be of the form *.irb and to be located in the configuration directory.
This microservice requires iRODS administration privilege.
This microservice changes the core.irb file currently in the configuration directory. It can be invoked through an irule. When the server is re-started, the new core file will be used by the rule engine.
Example Usage:
See clients/icommands/test/rules3.0/
Parameters:
[in] newFileNameParam - is a msParam of type STR_MS_T, which is a new 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:
The core.irb file is replaced by the alternate core file.
Returns:
integer
Return values:
0 on success
Precondition:
none
Postcondition:
none
See also:
none

Definition at line 62 of file ruleAdminMS.c.

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