|
msiReadMDTemplateIntoTagStruct |
( |
msParam_t * |
bufParam, |
|
|
msParam_t * |
tagParam, |
|
|
ruleExecInfo_t * |
rei | |
|
) |
| | |
- Description:
- This microservice parses a buffer containing a template-style file and stores the tags in a tag structure.
- Author:
- Arcot Rajasekar
- Date:
- 2007-02-01
- Note:
- The template buffer should contain triplets of the form: <PRETAG>re1</PRETAG>kw<POSTTAG>re2</POSTTAG>. re1 identifies the pre-string and re2 identifies the post-string and any value between re1 and re2 in a metadata buffer can be associated with keyword kw.
- Example Usage:
- See clients/icommands/test/rules3.0/
- Parameters:
-
[in] | bufParam | - a msParam of type BUF_LEN_MS_T |
[out] | tagParam | - a return msParam of type TagStruct_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:
- none
- Returns:
- integer
- Return values:
-
| 0 | on success |
| USER_PARAM_TYP_ERROR | when input parameter doesn't match the type |
| INVALID_REGEXP | if the tags are not correct |
| NO_VALUES_FOUND | if there are no tags identified |
| from | addTagStruct |
- Precondition:
- none
- Postcondition:
- none
- See also:
- addTagStruct
Definition at line 65 of file extractAvuMS.c.
|