error.h | error.h | |||
---|---|---|---|---|
skipping to change at line 80 | skipping to change at line 80 | |||
#define OSCAP_EXMLELEM 1 /**< Unknown XML element */ | #define OSCAP_EXMLELEM 1 /**< Unknown XML element */ | |||
#define OSCAP_EINVARG 2 /**< Function called with invalid argument * / | #define OSCAP_EINVARG 2 /**< Function called with invalid argument * / | |||
#define OSCAP_ENOTIMPL 254 /**< Not implemented*/ | #define OSCAP_ENOTIMPL 254 /**< Not implemented*/ | |||
/** @} */ | /** @} */ | |||
/** | /** | |||
* @name OVAL family codes | * @name OVAL family codes | |||
* @{ | * @{ | |||
*/ | */ | |||
#define OVAL_EOVALINT 1 | #define OVAL_EOVALINT 1 | |||
#define OVAL_EPROBE 253 | ||||
#define OVAL_EPROBEINVAL 254 | #define OVAL_EPROBEINVAL 254 | |||
#define OVAL_EPROBECONTEXT 255 | #define OVAL_EPROBECONTEXT 255 | |||
#define OVAL_EPROBEINIT 256 | #define OVAL_EPROBEINIT 256 | |||
#define OVAL_EPROBECONN 257 | #define OVAL_EPROBECONN 257 | |||
#define OVAL_EPROBENOTSUPP 258 | #define OVAL_EPROBENOTSUPP 258 | |||
#define OVAL_EPROBEOBJINVAL 259 | #define OVAL_EPROBEOBJINVAL 259 | |||
#define OVAL_EPROBEITEMINVAL 260 | #define OVAL_EPROBEITEMINVAL 260 | |||
#define OVAL_EPROBENODATA 261 | #define OVAL_EPROBENODATA 261 | |||
#define OVAL_EPROBECLOSE 262 | #define OVAL_EPROBECLOSE 262 | |||
#define OVAL_EPROBESEND 263 | #define OVAL_EPROBESEND 263 | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
oval_definitions.h | oval_definitions.h | |||
---|---|---|---|---|
skipping to change at line 1065 | skipping to change at line 1065 | |||
/** | /** | |||
* Sets attribute @ref oval_test->version. | * Sets attribute @ref oval_test->version. | |||
* If Oval_test->version == 0 and parameter version >0, | * If Oval_test->version == 0 and parameter version >0, | |||
* this method shall overwrite Oval_test->version with the parameter value. | * this method shall overwrite Oval_test->version with the parameter value. | |||
* Otherwise, the method shall leave the Oval_test state unchanged. | * Otherwise, the method shall leave the Oval_test state unchanged. | |||
* @param version - (>0) the required version | * @param version - (>0) the required version | |||
* @memberof oval_test | * @memberof oval_test | |||
*/ | */ | |||
void oval_test_set_version(struct oval_test *, int version); | void oval_test_set_version(struct oval_test *, int version); | |||
/** | /** | |||
* Sets attribute @ref oval_test->state_operator. | ||||
* @memberof oval_test | ||||
*/ | ||||
void oval_test_set_state_operator(struct oval_test *, oval_operator_t); | ||||
/** | ||||
* Sets attribute @ref oval_test->existence. | * Sets attribute @ref oval_test->existence. | |||
* If Oval_test->existence == @ref OVAL_CHECK_UNKNOWN and parameter existen ce <> @ref OVAL_CHECK_UNKNOWN, | * If Oval_test->existence == @ref OVAL_CHECK_UNKNOWN and parameter existen ce <> @ref OVAL_CHECK_UNKNOWN, | |||
* this method shall overwrite Oval_test->existence with the parameter valu e. | * this method shall overwrite Oval_test->existence with the parameter valu e. | |||
* Otherwise, the method shall leave the Oval_test state unchanged. | * Otherwise, the method shall leave the Oval_test state unchanged. | |||
* @param existence - (<> @ref OVAL_CHECK_UNKNOWN) the required existence | * @param existence - (<> @ref OVAL_CHECK_UNKNOWN) the required existence | |||
* @memberof oval_test | * @memberof oval_test | |||
*/ | */ | |||
void oval_test_set_existence(struct oval_test *, oval_existence_t); | void oval_test_set_existence(struct oval_test *, oval_existence_t); | |||
/** | /** | |||
* Sets attribute @ref oval_test->check. | * Sets attribute @ref oval_test->check. | |||
skipping to change at line 1093 | skipping to change at line 1098 | |||
/** | /** | |||
* Sets attribute @ref oval_test->object. | * Sets attribute @ref oval_test->object. | |||
* If Oval_test->object == NULL and parameter object <> NULL, | * If Oval_test->object == NULL and parameter object <> NULL, | |||
* this method shall overwrite Oval_test->object with the parameter object. | * this method shall overwrite Oval_test->object with the parameter object. | |||
* Otherwise, the method shall leave the Oval_test state unchanged. | * Otherwise, the method shall leave the Oval_test state unchanged. | |||
* @param object - (<> NULL) the required object | * @param object - (<> NULL) the required object | |||
* @memberof oval_test | * @memberof oval_test | |||
*/ | */ | |||
void oval_test_set_object(struct oval_test *, struct oval_object *); | void oval_test_set_object(struct oval_test *, struct oval_object *); | |||
/** | /** | |||
* Sets attribute @ref oval_test->state. | * Add the specified state to the state list of the specified test. | |||
* If Oval_test->state == NULL and parameter state <> NULL, | ||||
* this method shall overwrite Oval_test->state with the parameter state. | ||||
* Otherwise, the method shall leave the Oval_test state unchanged. | ||||
* @param state - (<> NULL) the required state | * @param state - (<> NULL) the required state | |||
* @memberof oval_test | * @memberof oval_test | |||
*/ | */ | |||
void oval_test_set_state(struct oval_test *, struct oval_state *state); | void oval_test_add_state(struct oval_test *, struct oval_state *); | |||
/** @} */ | /** @} */ | |||
/** | /** | |||
* @name Getters | * @name Getters | |||
* @{ | * @{ | |||
*/ | */ | |||
/** | /** | |||
* Returns attribute @ref Oval_test->family | * Returns attribute @ref Oval_test->family | |||
* @memberof oval_test | * @memberof oval_test | |||
*/ | */ | |||
skipping to change at line 1147 | skipping to change at line 1149 | |||
* Returns attribute @ref oval_test->deprecated. | * Returns attribute @ref oval_test->deprecated. | |||
* @memberof oval_test | * @memberof oval_test | |||
*/ | */ | |||
bool oval_test_get_deprecated(struct oval_test *); | bool oval_test_get_deprecated(struct oval_test *); | |||
/** | /** | |||
* Returns attribute @ref oval_test->version. | * Returns attribute @ref oval_test->version. | |||
* @memberof oval_test | * @memberof oval_test | |||
*/ | */ | |||
int oval_test_get_version(struct oval_test *); | int oval_test_get_version(struct oval_test *); | |||
/** | /** | |||
* Returns attribute @ref oval_test->state_operator. | ||||
* @memberof oval_test | ||||
*/ | ||||
oval_operator_t oval_test_get_state_operator(struct oval_test *); | ||||
/** | ||||
* Returns attribute @ref oval_test->existence. | * Returns attribute @ref oval_test->existence. | |||
* @memberof oval_test | * @memberof oval_test | |||
*/ | */ | |||
oval_existence_t oval_test_get_existence(struct oval_test *); | oval_existence_t oval_test_get_existence(struct oval_test *); | |||
/** | /** | |||
* Returns attribute @ref oval_test->check. | * Returns attribute @ref oval_test->check. | |||
* @memberof oval_test | * @memberof oval_test | |||
*/ | */ | |||
oval_check_t oval_test_get_check(struct oval_test *); | oval_check_t oval_test_get_check(struct oval_test *); | |||
/** | /** | |||
* Returns attribute @ref oval_test->object. | * Returns attribute @ref oval_test->object. | |||
* @return A pointer to the object attribute of the specified @ref oval_tes t. | * @return A pointer to the object attribute of the specified @ref oval_tes t. | |||
* @memberof oval_test | * @memberof oval_test | |||
*/ | */ | |||
struct oval_object *oval_test_get_object(struct oval_test *); | struct oval_object *oval_test_get_object(struct oval_test *); | |||
/** | /** | |||
* Returns attribute @ref oval_test->state. | * Returns attribute @ref oval_test->states. | |||
* @return A pointer to the state attribute of the specified @ref oval_test | * @return A new iterator for the states attribute of the specified @ref ov | |||
. | al_test. | |||
* It should be freed after use by the calling application. | ||||
* @memberof oval_test | * @memberof oval_test | |||
*/ | */ | |||
struct oval_state *oval_test_get_state(struct oval_test *); | struct oval_state_iterator *oval_test_get_states(struct oval_test *); | |||
/** | /** | |||
* return <b>true</b> if the test instance is locked. | * return <b>true</b> if the test instance is locked. | |||
* The state of a locked instance cannot be changed. | * The state of a locked instance cannot be changed. | |||
* @memberof oval_test | * @memberof oval_test | |||
*/ | */ | |||
bool oval_test_is_locked(struct oval_test *test); | bool oval_test_is_locked(struct oval_test *test); | |||
/** @} */ | /** @} */ | |||
/** | /** | |||
End of changes. 6 change blocks. | ||||
9 lines changed or deleted | 17 lines changed or added | |||
xccdf.h | xccdf.h | |||
---|---|---|---|---|
skipping to change at line 1243 | skipping to change at line 1243 | |||
* Return the next xccdf_profile_note structure from the list and increment the iterator | * Return the next xccdf_profile_note structure from the list and increment the iterator | |||
* @memberof xccdf_profile_note_iterator | * @memberof xccdf_profile_note_iterator | |||
*/ | */ | |||
struct xccdf_profile_note *xccdf_profile_note_iterator_next(struct xccdf_pr ofile_note_iterator *it); | struct xccdf_profile_note *xccdf_profile_note_iterator_next(struct xccdf_pr ofile_note_iterator *it); | |||
/** | /** | |||
* Return true if the list is not empty, false otherwise | * Return true if the list is not empty, false otherwise | |||
* @memberof xccdf_profile_note_iterator | * @memberof xccdf_profile_note_iterator | |||
*/ | */ | |||
bool xccdf_profile_note_iterator_has_more(struct xccdf_profile_note_iterato r *it); | bool xccdf_profile_note_iterator_has_more(struct xccdf_profile_note_iterato r *it); | |||
/** | /** | |||
* Free the iterator structure (it makes no changes to the list structure) | ||||
* @memberof xccdf_profile_note_iterator | ||||
*/ | ||||
void xccdf_profile_note_iterator_free(struct xccdf_profile_note_iterator *i | ||||
t); | ||||
/** | ||||
* Reset the iterator structure (it makes no changes to the list structure) | * Reset the iterator structure (it makes no changes to the list structure) | |||
* @memberof xccdf_profile_note_iterator | * @memberof xccdf_profile_note_iterator | |||
*/ | */ | |||
void xccdf_profile_note_iterator_reset(struct xccdf_profile_note_iterator * it); | void xccdf_profile_note_iterator_reset(struct xccdf_profile_note_iterator * it); | |||
/** | /** | |||
* Return the next xccdf_check_import structure from the list and increment the iterator | * Return the next xccdf_check_import structure from the list and increment the iterator | |||
* @memberof xccdf_check_import_iterator | * @memberof xccdf_check_import_iterator | |||
*/ | */ | |||
struct xccdf_check_import *xccdf_check_import_iterator_next(struct xccdf_ch eck_import_iterator *it); | struct xccdf_check_import *xccdf_check_import_iterator_next(struct xccdf_ch eck_import_iterator *it); | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 6 lines changed or added | |||