xccdf_policy.h | xccdf_policy.h | |||
---|---|---|---|---|
skipping to change at line 669 | skipping to change at line 669 | |||
/** | /** | |||
* Get score of the XCCDF Benchmark | * Get score of the XCCDF Benchmark | |||
* @param policy XCCDF Policy | * @param policy XCCDF Policy | |||
* @param test_result Test Result model | * @param test_result Test Result model | |||
* @param system Score system | * @param system Score system | |||
* @return XCCDF Score | * @return XCCDF Score | |||
*/ | */ | |||
struct xccdf_score * xccdf_policy_get_score(struct xccdf_policy * policy, s truct xccdf_result * test_result, const char * system); | struct xccdf_score * xccdf_policy_get_score(struct xccdf_policy * policy, s truct xccdf_result * test_result, const char * system); | |||
/** | /** | |||
* Get value of given value item in context of given policy | ||||
* @memberof xccdf_policy | ||||
* @param policy XCCDF policy | ||||
* @param item the xccdf:Value to resolve | ||||
* @returns string representation of resolved value_instance. | ||||
* @retval NULL indicates failure | ||||
*/ | ||||
const char *xccdf_policy_get_value_of_item(struct xccdf_policy * policy, st | ||||
ruct xccdf_item * item); | ||||
/** | ||||
* Perform textual substitution of cdf:sub elements with respect to given X CCDF policy. | * Perform textual substitution of cdf:sub elements with respect to given X CCDF policy. | |||
* @param text text to be substituted | * @param text text to be substituted | |||
* @param policy policy to be used | * @param policy policy to be used | |||
*/ | */ | |||
char* xccdf_policy_substitute(const char *text, struct xccdf_policy *policy ); | char* xccdf_policy_substitute(const char *text, struct xccdf_policy *policy ); | |||
/************************************************************/ | /************************************************************/ | |||
/** @} End of Iterators group */ | /** @} End of Iterators group */ | |||
/** | /** | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 11 lines changed or added | |||