|
msiAdmWriteMSrvcsFromStructIntoFile |
( |
msParam_t * |
inMsrvcFileNameParam, |
|
|
msParam_t * |
inCoreMsrvcStruct, |
|
|
ruleExecInfo_t * |
rei | |
|
) |
| | |
- Description:
- Writes to file the microservices within a given microservice 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 microservice 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] | inMsrvcFileNameParam | - a msParam of type STR_MS_T, the name of the file to be written |
[in] | inCoreMsrvcStruct | - a msParam of type MsrvcStruct_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 microservice file is created
- Returns:
- integer
- Return values:
-
- Precondition:
- none
- Postcondition:
- none
- See also:
- msiAdmReadMSrvcsFromFileIntoStruct, msiAdmInsertMSrvcsFromStructIntoDB, msiGetMSrvcsFromDBIntoStruct
Definition at line 1662 of file ruleAdminMS.c.
|