| cpedict.h | | cpedict.h | |
| | | | |
| skipping to change at line 511 | | skipping to change at line 511 | |
| | | | |
| /// @memberof cpe_update | | /// @memberof cpe_update | |
| bool cpe_update_add_edition(struct cpe_update *update, struct cpe_edition *
new_edition); | | bool cpe_update_add_edition(struct cpe_update *update, struct cpe_edition *
new_edition); | |
| | | | |
| /// @memberof cpe_edition | | /// @memberof cpe_edition | |
| bool cpe_edition_add_language(struct cpe_edition *edition, struct cpe_langu
age *new_language); | | bool cpe_edition_add_language(struct cpe_edition *edition, struct cpe_langu
age *new_language); | |
| | | | |
| /************************************************************/ | | /************************************************************/ | |
| /** @} End of Setters group */ | | /** @} End of Setters group */ | |
| | | | |
|
| /// @memberof cpe_item | | | |
| void cpe_item_iterator_remove(struct cpe_item_iterator *it); | | | |
| | | | |
| /// @memberof cpe_reference_iterator | | | |
| void cpe_reference_iterator_remove(struct cpe_reference_iterator *it); | | | |
| | | | |
| /// @memberof cpe_check_iterator | | | |
| void cpe_check_iterator_remove(struct cpe_check_iterator *it); | | | |
| | | | |
| /// @memberof cpe_vendor_iterator | | | |
| void cpe_vendor_iterator_remove(struct cpe_vendor_iterator *it); | | | |
| | | | |
| /// @memberof cpe_product_iterator | | | |
| void cpe_product_iterator_remove(struct cpe_product_iterator *it); | | | |
| | | | |
| /// @memberof cpe_version_iterator | | | |
| void cpe_version_iterator_remove(struct cpe_version_iterator *it); | | | |
| | | | |
| /// @memberof cpe_update_iterator | | | |
| void cpe_update_iterator_remove(struct cpe_update_iterator *it); | | | |
| | | | |
| /// @memberof cpe_edition_iterator | | | |
| void cpe_edition_iterator_remove(struct cpe_edition_iterator *it); | | | |
| | | | |
| /// @memberof cpe_language_iterator | | | |
| void cpe_language_iterator_remove(struct cpe_language_iterator *it); | | | |
| | | | |
| /************************************************************/ | | /************************************************************/ | |
| /** | | /** | |
| * @name Iterators | | * @name Iterators | |
| * @{ | | * @{ | |
| * */ | | * */ | |
| | | | |
| /** | | /** | |
| * @struct cpe_item_iterator | | * @struct cpe_item_iterator | |
| * Iterator over CPE dictionary items. | | * Iterator over CPE dictionary items. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| | | | |
| skipping to change at line 572 | | skipping to change at line 545 | |
| */ | | */ | |
| bool cpe_item_iterator_has_more(struct cpe_item_iterator *it); | | bool cpe_item_iterator_has_more(struct cpe_item_iterator *it); | |
| | | | |
| /** | | /** | |
| * Iterator over CPE dictionary items. | | * Iterator over CPE dictionary items. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| * @memberof cpe_item_iterator | | * @memberof cpe_item_iterator | |
| */ | | */ | |
| void cpe_item_iterator_free(struct cpe_item_iterator *it); | | void cpe_item_iterator_free(struct cpe_item_iterator *it); | |
| | | | |
|
| | | /// @memberof cpe_item | |
| | | void cpe_item_iterator_remove(struct cpe_item_iterator *it); | |
| | | /// @memberof cpe_item_iterator | |
| | | void cpe_item_iterator_reset(struct cpe_item_iterator *it); | |
| | | | |
| /** | | /** | |
| * @struct cpe_reference_iterator | | * @struct cpe_reference_iterator | |
| * Iterator over CPE dictionary references. | | * Iterator over CPE dictionary references. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| */ | | */ | |
| struct cpe_reference_iterator; | | struct cpe_reference_iterator; | |
| | | | |
| /** | | /** | |
| * Iterator over CPE item reference items. | | * Iterator over CPE item reference items. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| | | | |
| skipping to change at line 600 | | skipping to change at line 578 | |
| */ | | */ | |
| bool cpe_reference_iterator_has_more(struct cpe_reference_iterator *it); | | bool cpe_reference_iterator_has_more(struct cpe_reference_iterator *it); | |
| | | | |
| /** | | /** | |
| * Iterator over CPE item reference items. | | * Iterator over CPE item reference items. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| * @memberof cpe_reference_iterator | | * @memberof cpe_reference_iterator | |
| */ | | */ | |
| void cpe_reference_iterator_free(struct cpe_reference_iterator *it); | | void cpe_reference_iterator_free(struct cpe_reference_iterator *it); | |
| | | | |
|
| | | /// @memberof cpe_reference_iterator | |
| | | void cpe_reference_iterator_remove(struct cpe_reference_iterator *it); | |
| | | /// @memberof cpe_reference_iterator | |
| | | void cpe_reference_iterator_reset(struct cpe_reference_iterator *it); | |
| | | | |
| /** | | /** | |
| * @struct cpe_check_iterator | | * @struct cpe_check_iterator | |
| * Iterator over CPE dictionary checks. | | * Iterator over CPE dictionary checks. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| */ | | */ | |
| struct cpe_check_iterator; | | struct cpe_check_iterator; | |
| | | | |
| /** | | /** | |
| * Iterator over CPE item check items. | | * Iterator over CPE item check items. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| | | | |
| skipping to change at line 628 | | skipping to change at line 611 | |
| */ | | */ | |
| bool cpe_check_iterator_has_more(struct cpe_check_iterator *it); | | bool cpe_check_iterator_has_more(struct cpe_check_iterator *it); | |
| | | | |
| /** | | /** | |
| * Iterator over CPE item check items. | | * Iterator over CPE item check items. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| * @memberof cpe_check_iterator | | * @memberof cpe_check_iterator | |
| */ | | */ | |
| void cpe_check_iterator_free(struct cpe_check_iterator *it); | | void cpe_check_iterator_free(struct cpe_check_iterator *it); | |
| | | | |
|
| | | /// @memberof cpe_check_iterator | |
| | | void cpe_check_iterator_remove(struct cpe_check_iterator *it); | |
| | | /// @memberof cpe_check_iterator | |
| | | void cpe_check_iterator_reset(struct cpe_check_iterator *it); | |
| | | | |
| /** | | /** | |
| * @struct cpe_vendor_iterator | | * @struct cpe_vendor_iterator | |
| * Iterator over CPE dictionary item vendors. | | * Iterator over CPE dictionary item vendors. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| */ | | */ | |
| struct cpe_vendor_iterator; | | struct cpe_vendor_iterator; | |
| | | | |
| /** | | /** | |
| * Iterator over CPE vendor items. | | * Iterator over CPE vendor items. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| | | | |
| skipping to change at line 656 | | skipping to change at line 644 | |
| */ | | */ | |
| bool cpe_vendor_iterator_has_more(struct cpe_vendor_iterator *it); | | bool cpe_vendor_iterator_has_more(struct cpe_vendor_iterator *it); | |
| | | | |
| /** | | /** | |
| * Iterator over CPE vendor items. | | * Iterator over CPE vendor items. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| * @memberof cpe_vendor_iterator | | * @memberof cpe_vendor_iterator | |
| */ | | */ | |
| void cpe_vendor_iterator_free(struct cpe_vendor_iterator *it); | | void cpe_vendor_iterator_free(struct cpe_vendor_iterator *it); | |
| | | | |
|
| | | /// @memberof cpe_vendor_iterator | |
| | | void cpe_vendor_iterator_remove(struct cpe_vendor_iterator *it); | |
| | | /// @memberof cpe_vendor_iterator | |
| | | void cpe_vendor_iterator_reset(struct cpe_vendor_iterator *it); | |
| | | | |
| /** | | /** | |
| * @struct cpe_product_iterator | | * @struct cpe_product_iterator | |
| * Iterator over CPE dictionary item products. | | * Iterator over CPE dictionary item products. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| */ | | */ | |
| struct cpe_product_iterator; | | struct cpe_product_iterator; | |
| | | | |
| /** | | /** | |
| * Iterator over CPE product items. | | * Iterator over CPE product items. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| | | | |
| skipping to change at line 684 | | skipping to change at line 677 | |
| */ | | */ | |
| bool cpe_product_iterator_has_more(struct cpe_product_iterator *it); | | bool cpe_product_iterator_has_more(struct cpe_product_iterator *it); | |
| | | | |
| /** | | /** | |
| * Iterator over CPE product items. | | * Iterator over CPE product items. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| * @memberof cpe_product_iterator | | * @memberof cpe_product_iterator | |
| */ | | */ | |
| void cpe_product_iterator_free(struct cpe_product_iterator *it); | | void cpe_product_iterator_free(struct cpe_product_iterator *it); | |
| | | | |
|
| | | /// @memberof cpe_product_iterator | |
| | | void cpe_product_iterator_remove(struct cpe_product_iterator *it); | |
| | | /// @memberof cpe_product_iterator | |
| | | void cpe_product_iterator_reset(struct cpe_product_iterator *it); | |
| | | | |
| /** | | /** | |
| * @struct cpe_version_iterator | | * @struct cpe_version_iterator | |
| * Iterator over CPE dictionary item versions. | | * Iterator over CPE dictionary item versions. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| */ | | */ | |
| struct cpe_version_iterator; | | struct cpe_version_iterator; | |
| | | | |
| /** | | /** | |
| * Iterator over CPE version items. | | * Iterator over CPE version items. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| | | | |
| skipping to change at line 712 | | skipping to change at line 710 | |
| */ | | */ | |
| bool cpe_version_iterator_has_more(struct cpe_version_iterator *it); | | bool cpe_version_iterator_has_more(struct cpe_version_iterator *it); | |
| | | | |
| /** | | /** | |
| * Iterator over CPE version items. | | * Iterator over CPE version items. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| * @memberof cpe_version_iterator | | * @memberof cpe_version_iterator | |
| */ | | */ | |
| void cpe_version_iterator_free(struct cpe_version_iterator *it); | | void cpe_version_iterator_free(struct cpe_version_iterator *it); | |
| | | | |
|
| | | /// @memberof cpe_version_iterator | |
| | | void cpe_version_iterator_remove(struct cpe_version_iterator *it); | |
| | | /// @memberof cpe_version_iterator | |
| | | void cpe_version_iterator_reset(struct cpe_version_iterator *it); | |
| | | | |
| /** | | /** | |
| * @struct cpe_update_iterator | | * @struct cpe_update_iterator | |
| * Iterator over CPE dictionary item updates. | | * Iterator over CPE dictionary item updates. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| */ | | */ | |
| struct cpe_update_iterator; | | struct cpe_update_iterator; | |
| | | | |
| /** | | /** | |
| * Iterator over CPE update items. | | * Iterator over CPE update items. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| | | | |
| skipping to change at line 740 | | skipping to change at line 743 | |
| */ | | */ | |
| bool cpe_update_iterator_has_more(struct cpe_update_iterator *it); | | bool cpe_update_iterator_has_more(struct cpe_update_iterator *it); | |
| | | | |
| /** | | /** | |
| * Iterator over CPE update items. | | * Iterator over CPE update items. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| * @memberof cpe_update_iterator | | * @memberof cpe_update_iterator | |
| */ | | */ | |
| void cpe_update_iterator_free(struct cpe_update_iterator *it); | | void cpe_update_iterator_free(struct cpe_update_iterator *it); | |
| | | | |
|
| | | /// @memberof cpe_update_iterator | |
| | | void cpe_update_iterator_remove(struct cpe_update_iterator *it); | |
| | | /// @memberof cpe_update_iterator | |
| | | void cpe_update_iterator_reset(struct cpe_update_iterator *it); | |
| | | | |
| /** | | /** | |
| * @struct cpe_edition_iterator | | * @struct cpe_edition_iterator | |
| * Iterator over CPE dictionary item editions. | | * Iterator over CPE dictionary item editions. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| */ | | */ | |
| struct cpe_edition_iterator; | | struct cpe_edition_iterator; | |
| | | | |
| /** | | /** | |
| * Iterator over CPE edition items. | | * Iterator over CPE edition items. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| | | | |
| skipping to change at line 768 | | skipping to change at line 776 | |
| */ | | */ | |
| bool cpe_edition_iterator_has_more(struct cpe_edition_iterator *it); | | bool cpe_edition_iterator_has_more(struct cpe_edition_iterator *it); | |
| | | | |
| /** | | /** | |
| * Iterator over CPE edition items. | | * Iterator over CPE edition items. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| * @memberof cpe_edition_iterator | | * @memberof cpe_edition_iterator | |
| */ | | */ | |
| void cpe_edition_iterator_free(struct cpe_edition_iterator *it); | | void cpe_edition_iterator_free(struct cpe_edition_iterator *it); | |
| | | | |
|
| | | /// @memberof cpe_edition_iterator | |
| | | void cpe_edition_iterator_remove(struct cpe_edition_iterator *it); | |
| | | /// @memberof cpe_edition_iterator | |
| | | void cpe_edition_iterator_reset(struct cpe_edition_iterator *it); | |
| | | | |
| /** | | /** | |
| * @struct cpe_language_iterator | | * @struct cpe_language_iterator | |
| * Iterator over CPE dictionary item languages. | | * Iterator over CPE dictionary item languages. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| */ | | */ | |
| struct cpe_language_iterator; | | struct cpe_language_iterator; | |
| | | | |
| /** | | /** | |
| * Iterator over CPE language items. | | * Iterator over CPE language items. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| | | | |
| skipping to change at line 796 | | skipping to change at line 809 | |
| */ | | */ | |
| bool cpe_language_iterator_has_more(struct cpe_language_iterator *it); | | bool cpe_language_iterator_has_more(struct cpe_language_iterator *it); | |
| | | | |
| /** | | /** | |
| * Iterator over CPE language items. | | * Iterator over CPE language items. | |
| * @see oscap_iterator | | * @see oscap_iterator | |
| * @memberof cpe_language_iterator | | * @memberof cpe_language_iterator | |
| */ | | */ | |
| void cpe_language_iterator_free(struct cpe_language_iterator *it); | | void cpe_language_iterator_free(struct cpe_language_iterator *it); | |
| | | | |
|
| | | /// @memberof cpe_language_iterator | |
| | | void cpe_language_iterator_remove(struct cpe_language_iterator *it); | |
| | | /// @memberof cpe_language_iterator | |
| | | void cpe_language_iterator_reset(struct cpe_language_iterator *it); | |
| | | | |
| /************************************************************/ | | /************************************************************/ | |
| /** @} End of Iterators group */ | | /** @} End of Iterators group */ | |
| | | | |
| /************************************************************/ | | /************************************************************/ | |
| /** | | /** | |
| * @name Evaluators | | * @name Evaluators | |
| * @{ | | * @{ | |
| * */ | | * */ | |
| | | | |
| /** | | /** | |
| | | | |
End of changes. 10 change blocks. |
| 27 lines changed or deleted | | 45 lines changed or added | |
|
| xccdf.h | | xccdf.h | |
| | | | |
| skipping to change at line 142 | | skipping to change at line 142 | |
| | | | |
| /// XCCDF role. | | /// XCCDF role. | |
| typedef enum { | | typedef enum { | |
| XCCDF_ROLE_FULL = 1, ///< Check the rule and let the resu
lt contriburte to the score and appear in reports | | XCCDF_ROLE_FULL = 1, ///< Check the rule and let the resu
lt contriburte to the score and appear in reports | |
| XCCDF_ROLE_UNSCORED, ///< Check the rule and include the
result in reports, but do not include it into score computations | | XCCDF_ROLE_UNSCORED, ///< Check the rule and include the
result in reports, but do not include it into score computations | |
| XCCDF_ROLE_UNCHECKED ///< Don't check the rule, result wi
ll be XCCDF_RESULT_UNKNOWN | | XCCDF_ROLE_UNCHECKED ///< Don't check the rule, result wi
ll be XCCDF_RESULT_UNKNOWN | |
| } xccdf_role_t; | | } xccdf_role_t; | |
| | | | |
| /// Category of xccdf_warning. | | /// Category of xccdf_warning. | |
| typedef enum { | | typedef enum { | |
|
| | | XCCDF_WARNING_NOT_SPECIFIED, | |
| XCCDF_WARNING_GENERAL = 1, ///< General-purpose warning | | XCCDF_WARNING_GENERAL = 1, ///< General-purpose warning | |
| XCCDF_WARNING_FUNCTIONALITY, ///< Warning about possible impacts
to functionality | | XCCDF_WARNING_FUNCTIONALITY, ///< Warning about possible impacts
to functionality | |
| XCCDF_WARNING_PERFORMANCE, ///< Warning about changes to target
system performance | | XCCDF_WARNING_PERFORMANCE, ///< Warning about changes to target
system performance | |
| XCCDF_WARNING_HARDWARE, ///< Warning about hardware restrict
ions or possible impacts to hardware | | XCCDF_WARNING_HARDWARE, ///< Warning about hardware restrict
ions or possible impacts to hardware | |
| XCCDF_WARNING_LEGAL, ///< Warning about legal implication
s | | XCCDF_WARNING_LEGAL, ///< Warning about legal implication
s | |
| XCCDF_WARNING_REGULATORY, ///< Warning about regulatory obliga
tions | | XCCDF_WARNING_REGULATORY, ///< Warning about regulatory obliga
tions | |
| XCCDF_WARNING_MANAGEMENT, ///< Warning about impacts to the mg
mt or administration of the target system | | XCCDF_WARNING_MANAGEMENT, ///< Warning about impacts to the mg
mt or administration of the target system | |
| XCCDF_WARNING_AUDIT, ///< Warning about impacts to audit
or logging | | XCCDF_WARNING_AUDIT, ///< Warning about impacts to audit
or logging | |
| XCCDF_WARNING_DEPENDENCY ///< Warning about dependencies betw
een this Rule and other parts of the target system | | XCCDF_WARNING_DEPENDENCY ///< Warning about dependencies betw
een this Rule and other parts of the target system | |
| } xccdf_warning_category_t; | | } xccdf_warning_category_t; | |
| | | | |
| /// Fix strategy type | | /// Fix strategy type | |
| typedef enum { | | typedef enum { | |
|
| XCCDF_STRATEGY_UNKNOWN, ///< Strategy not defined | | XCCDF_STRATEGY_UNKNOWN = 0, ///< Strategy not defined | |
| XCCDF_STRATEGY_CONFIGURE, ///< Adjust target config or setting
s | | XCCDF_STRATEGY_CONFIGURE, ///< Adjust target config or setting
s | |
| XCCDF_STRATEGY_DISABLE, ///< Turn off or deinstall something | | XCCDF_STRATEGY_DISABLE, ///< Turn off or deinstall something | |
| XCCDF_STRATEGY_ENABLE, ///< Turn on or install something | | XCCDF_STRATEGY_ENABLE, ///< Turn on or install something | |
| XCCDF_STRATEGY_PATCH, ///< Apply a patch, hotfix, or updat
e | | XCCDF_STRATEGY_PATCH, ///< Apply a patch, hotfix, or updat
e | |
| XCCDF_STRATEGY_POLICY, ///< Remediation by changing policie
s/procedures | | XCCDF_STRATEGY_POLICY, ///< Remediation by changing policie
s/procedures | |
| XCCDF_STRATEGY_RESTRICT, ///< Adjust permissions or ACLs | | XCCDF_STRATEGY_RESTRICT, ///< Adjust permissions or ACLs | |
| XCCDF_STRATEGY_UPDATE, ///< Install upgrade or update the s
ystem | | XCCDF_STRATEGY_UPDATE, ///< Install upgrade or update the s
ystem | |
| XCCDF_STRATEGY_COMBINATION ///< Combo of two or more of the abo
ve | | XCCDF_STRATEGY_COMBINATION ///< Combo of two or more of the abo
ve | |
| } xccdf_strategy_t; | | } xccdf_strategy_t; | |
| | | | |
| | | | |
| skipping to change at line 973 | | skipping to change at line 974 | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_item_iterator | | * @memberof xccdf_item_iterator | |
| */ | | */ | |
| bool xccdf_item_iterator_has_more(struct xccdf_item_iterator *it); | | bool xccdf_item_iterator_has_more(struct xccdf_item_iterator *it); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_item_iterator | | * @memberof xccdf_item_iterator | |
| */ | | */ | |
| void xccdf_item_iterator_free(struct xccdf_item_iterator *it); | | void xccdf_item_iterator_free(struct xccdf_item_iterator *it); | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_item_iterator | |
| | | */ | |
| | | void xccdf_item_iterator_reset(struct xccdf_item_iterator *it); | |
| | | | |
| /** | | /** | |
| * Return the next xccdf_notice structure from the list and increment the i
terator | | * Return the next xccdf_notice structure from the list and increment the i
terator | |
| * @memberof xccdf_notice_iterator | | * @memberof xccdf_notice_iterator | |
| */ | | */ | |
| struct xccdf_notice *xccdf_notice_iterator_next(struct xccdf_notice_iterato
r *it); | | struct xccdf_notice *xccdf_notice_iterator_next(struct xccdf_notice_iterato
r *it); | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_notice_iterator | | * @memberof xccdf_notice_iterator | |
| */ | | */ | |
| bool xccdf_notice_iterator_has_more(struct xccdf_notice_iterator *it); | | bool xccdf_notice_iterator_has_more(struct xccdf_notice_iterator *it); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_notice_iterator | | * @memberof xccdf_notice_iterator | |
| */ | | */ | |
| void xccdf_notice_iterator_free(struct xccdf_notice_iterator *it); | | void xccdf_notice_iterator_free(struct xccdf_notice_iterator *it); | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_notice_iterator | |
| | | */ | |
| | | void xccdf_notice_iterator_reset(struct xccdf_notice_iterator *it); | |
| | | | |
| /** | | /** | |
| * Return the next xccdf_status structure from the list and increment the i
terator | | * Return the next xccdf_status structure from the list and increment the i
terator | |
| * @memberof xccdf_status_iterator | | * @memberof xccdf_status_iterator | |
| */ | | */ | |
| struct xccdf_status *xccdf_status_iterator_next(struct xccdf_status_iterato
r *it); | | struct xccdf_status *xccdf_status_iterator_next(struct xccdf_status_iterato
r *it); | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_status_iterator | | * @memberof xccdf_status_iterator | |
| */ | | */ | |
| bool xccdf_status_iterator_has_more(struct xccdf_status_iterator *it); | | bool xccdf_status_iterator_has_more(struct xccdf_status_iterator *it); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_status_iterator | | * @memberof xccdf_status_iterator | |
| */ | | */ | |
| void xccdf_status_iterator_free(struct xccdf_status_iterator *it); | | void xccdf_status_iterator_free(struct xccdf_status_iterator *it); | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_status_iterator | |
| | | */ | |
| | | void xccdf_status_iterator_reset(struct xccdf_status_iterator *it); | |
| | | | |
| /** | | /** | |
| * Return the next xccdf_model structure from the list and increment the it
erator | | * Return the next xccdf_model structure from the list and increment the it
erator | |
| * @memberof xccdf_model_iterator | | * @memberof xccdf_model_iterator | |
| */ | | */ | |
| struct xccdf_model *xccdf_model_iterator_next(struct xccdf_model_iterator *
it); | | struct xccdf_model *xccdf_model_iterator_next(struct xccdf_model_iterator *
it); | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_model_iterator | | * @memberof xccdf_model_iterator | |
| */ | | */ | |
| bool xccdf_model_iterator_has_more(struct xccdf_model_iterator *it); | | bool xccdf_model_iterator_has_more(struct xccdf_model_iterator *it); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_model_iterator | | * @memberof xccdf_model_iterator | |
| */ | | */ | |
| void xccdf_model_iterator_free(struct xccdf_model_iterator *it); | | void xccdf_model_iterator_free(struct xccdf_model_iterator *it); | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_model_iterator | |
| | | */ | |
| | | void xccdf_model_iterator_reset(struct xccdf_model_iterator *it); | |
| | | | |
| /** | | /** | |
| * Return the next xccdf_result structure from the list and increment the i
terator | | * Return the next xccdf_result structure from the list and increment the i
terator | |
| * @memberof xccdf_result_iterator | | * @memberof xccdf_result_iterator | |
| */ | | */ | |
| struct xccdf_result *xccdf_result_iterator_next(struct xccdf_result_iterato
r *it); | | struct xccdf_result *xccdf_result_iterator_next(struct xccdf_result_iterato
r *it); | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_result_iterator | | * @memberof xccdf_result_iterator | |
| */ | | */ | |
| bool xccdf_result_iterator_has_more(struct xccdf_result_iterator *it); | | bool xccdf_result_iterator_has_more(struct xccdf_result_iterator *it); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_result_iterator | | * @memberof xccdf_result_iterator | |
| */ | | */ | |
| void xccdf_result_iterator_free(struct xccdf_result_iterator *it); | | void xccdf_result_iterator_free(struct xccdf_result_iterator *it); | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_result_iterator | |
| | | */ | |
| | | void xccdf_result_iterator_reset(struct xccdf_result_iterator *it); | |
| | | | |
| /** | | /** | |
| * Return the next xccdf_profile structure from the list and increment the
iterator | | * Return the next xccdf_profile structure from the list and increment the
iterator | |
| * @memberof xccdf_profile_iterator | | * @memberof xccdf_profile_iterator | |
| */ | | */ | |
| struct xccdf_profile *xccdf_profile_iterator_next(struct xccdf_profile_iter
ator *it); | | struct xccdf_profile *xccdf_profile_iterator_next(struct xccdf_profile_iter
ator *it); | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_profile_iterator | | * @memberof xccdf_profile_iterator | |
| */ | | */ | |
| bool xccdf_profile_iterator_has_more(struct xccdf_profile_iterator *it); | | bool xccdf_profile_iterator_has_more(struct xccdf_profile_iterator *it); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_profile_iterator | | * @memberof xccdf_profile_iterator | |
| */ | | */ | |
| void xccdf_profile_iterator_free(struct xccdf_profile_iterator *it); | | void xccdf_profile_iterator_free(struct xccdf_profile_iterator *it); | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_profile_iterator | |
| | | */ | |
| | | void xccdf_profile_iterator_reset(struct xccdf_profile_iterator *it); | |
| | | | |
| /** | | /** | |
| * Return the next xccdf_select structure from the list and increment the i
terator | | * Return the next xccdf_select structure from the list and increment the i
terator | |
| * @memberof xccdf_select_iterator | | * @memberof xccdf_select_iterator | |
| */ | | */ | |
| struct xccdf_select *xccdf_select_iterator_next(struct xccdf_select_iterato
r *it); | | struct xccdf_select *xccdf_select_iterator_next(struct xccdf_select_iterato
r *it); | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_select_iterator | | * @memberof xccdf_select_iterator | |
| */ | | */ | |
| bool xccdf_select_iterator_has_more(struct xccdf_select_iterator *it); | | bool xccdf_select_iterator_has_more(struct xccdf_select_iterator *it); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_select_iterator | | * @memberof xccdf_select_iterator | |
| */ | | */ | |
| void xccdf_select_iterator_free(struct xccdf_select_iterator *it); | | void xccdf_select_iterator_free(struct xccdf_select_iterator *it); | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_select_iterator | |
| | | */ | |
| | | void xccdf_select_iterator_reset(struct xccdf_select_iterator *it); | |
| | | | |
| /** | | /** | |
| * Return the next xccdf_setvalue structure from the list and increment the
iterator | | * Return the next xccdf_setvalue structure from the list and increment the
iterator | |
| * @memberof xccdf_setvalue_iterator | | * @memberof xccdf_setvalue_iterator | |
| */ | | */ | |
| struct xccdf_setvalue *xccdf_setvalue_iterator_next(struct xccdf_setvalue_i
terator *it); | | struct xccdf_setvalue *xccdf_setvalue_iterator_next(struct xccdf_setvalue_i
terator *it); | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_setvalue_iterator | | * @memberof xccdf_setvalue_iterator | |
| */ | | */ | |
| | | | |
| skipping to change at line 1127 | | skipping to change at line 1163 | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_refine_rule_iterator | | * @memberof xccdf_refine_rule_iterator | |
| */ | | */ | |
| bool xccdf_refine_rule_iterator_has_more(struct xccdf_refine_rule_iterator
*it); | | bool xccdf_refine_rule_iterator_has_more(struct xccdf_refine_rule_iterator
*it); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_refine_rule_iterator | | * @memberof xccdf_refine_rule_iterator | |
| */ | | */ | |
| void xccdf_refine_rule_iterator_free(struct xccdf_refine_rule_iterator *it)
; | | void xccdf_refine_rule_iterator_free(struct xccdf_refine_rule_iterator *it)
; | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_refine_rule_iterator | |
| | | */ | |
| | | void xccdf_refine_rule_iterator_reset(struct xccdf_refine_rule_iterator *it | |
| | | ); | |
| | | | |
| /** | | /** | |
| * Return the next xccdf_ident structure from the list and increment the it
erator | | * Return the next xccdf_ident structure from the list and increment the it
erator | |
| * @memberof xccdf_ident_iterator | | * @memberof xccdf_ident_iterator | |
| */ | | */ | |
| struct xccdf_ident *xccdf_ident_iterator_next(struct xccdf_ident_iterator *
it); | | struct xccdf_ident *xccdf_ident_iterator_next(struct xccdf_ident_iterator *
it); | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_ident_iterator | | * @memberof xccdf_ident_iterator | |
| */ | | */ | |
| bool xccdf_ident_iterator_has_more(struct xccdf_ident_iterator *it); | | bool xccdf_ident_iterator_has_more(struct xccdf_ident_iterator *it); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_ident_iterator | | * @memberof xccdf_ident_iterator | |
| */ | | */ | |
| void xccdf_ident_iterator_free(struct xccdf_ident_iterator *it); | | void xccdf_ident_iterator_free(struct xccdf_ident_iterator *it); | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_ident_iterator | |
| | | */ | |
| | | void xccdf_ident_iterator_reset(struct xccdf_ident_iterator *it); | |
| | | | |
| /** | | /** | |
| * Return the next xccdf_check structure from the list and increment the it
erator | | * Return the next xccdf_check structure from the list and increment the it
erator | |
| * @memberof xccdf_check_iterator | | * @memberof xccdf_check_iterator | |
| */ | | */ | |
| struct xccdf_check *xccdf_check_iterator_next(struct xccdf_check_iterator *
it); | | struct xccdf_check *xccdf_check_iterator_next(struct xccdf_check_iterator *
it); | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_check_iterator | | * @memberof xccdf_check_iterator | |
| */ | | */ | |
| bool xccdf_check_iterator_has_more(struct xccdf_check_iterator *it); | | bool xccdf_check_iterator_has_more(struct xccdf_check_iterator *it); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_check_iterator | | * @memberof xccdf_check_iterator | |
| */ | | */ | |
| void xccdf_check_iterator_free(struct xccdf_check_iterator *it); | | void xccdf_check_iterator_free(struct xccdf_check_iterator *it); | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_check_iterator | |
| | | */ | |
| | | void xccdf_check_iterator_reset(struct xccdf_check_iterator *it); | |
| | | | |
| /** | | /** | |
| * Return the next xccdf_check_content_ref structure from the list and incr
ement the iterator | | * Return the next xccdf_check_content_ref structure from the list and incr
ement the iterator | |
| * @memberof xccdf_check_content_ref_iterator | | * @memberof xccdf_check_content_ref_iterator | |
| */ | | */ | |
| struct xccdf_check_content_ref *xccdf_check_content_ref_iterator_next(struc
t xccdf_check_content_ref_iterator *it); | | struct xccdf_check_content_ref *xccdf_check_content_ref_iterator_next(struc
t xccdf_check_content_ref_iterator *it); | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_check_content_ref_iterator | | * @memberof xccdf_check_content_ref_iterator | |
| */ | | */ | |
| bool xccdf_check_content_ref_iterator_has_more(struct xccdf_check_content_r
ef_iterator *it); | | bool xccdf_check_content_ref_iterator_has_more(struct xccdf_check_content_r
ef_iterator *it); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_check_content_ref_iterator | | * @memberof xccdf_check_content_ref_iterator | |
| */ | | */ | |
| void xccdf_check_content_ref_iterator_free(struct xccdf_check_content_ref_i
terator *it); | | void xccdf_check_content_ref_iterator_free(struct xccdf_check_content_ref_i
terator *it); | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_check_content_ref_iterator | |
| | | */ | |
| | | void xccdf_check_content_ref_iterator_reset(struct xccdf_check_content_ref_ | |
| | | iterator *it); | |
| | | | |
| /** | | /** | |
| * 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) | | * 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_free(struct xccdf_profile_note_iterator *i
t); | | 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); | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_check_import_iterator | | * @memberof xccdf_check_import_iterator | |
| */ | | */ | |
| bool xccdf_check_import_iterator_has_more(struct xccdf_check_import_iterato
r *it); | | bool xccdf_check_import_iterator_has_more(struct xccdf_check_import_iterato
r *it); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_check_import_iterator | | * @memberof xccdf_check_import_iterator | |
| */ | | */ | |
| void xccdf_check_import_iterator_free(struct xccdf_check_import_iterator *i
t); | | void xccdf_check_import_iterator_free(struct xccdf_check_import_iterator *i
t); | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_check_import_iterator | |
| | | */ | |
| | | void xccdf_check_import_iterator_reset(struct xccdf_check_import_iterator * | |
| | | it); | |
| | | | |
| /** | | /** | |
| * Return the next xccdf_check_export structure from the list and increment
the iterator | | * Return the next xccdf_check_export structure from the list and increment
the iterator | |
| * @memberof xccdf_check_export_iterator | | * @memberof xccdf_check_export_iterator | |
| */ | | */ | |
| struct xccdf_check_export *xccdf_check_export_iterator_next(struct xccdf_ch
eck_export_iterator *it); | | struct xccdf_check_export *xccdf_check_export_iterator_next(struct xccdf_ch
eck_export_iterator *it); | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_check_export_iterator | | * @memberof xccdf_check_export_iterator | |
| */ | | */ | |
| bool xccdf_check_export_iterator_has_more(struct xccdf_check_export_iterato
r *it); | | bool xccdf_check_export_iterator_has_more(struct xccdf_check_export_iterato
r *it); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_check_export_iterator | | * @memberof xccdf_check_export_iterator | |
| */ | | */ | |
| void xccdf_check_export_iterator_free(struct xccdf_check_export_iterator *i
t); | | void xccdf_check_export_iterator_free(struct xccdf_check_export_iterator *i
t); | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_check_export_iterator | |
| | | */ | |
| | | void xccdf_check_export_iterator_reset(struct xccdf_check_export_iterator * | |
| | | it); | |
| | | | |
| /** | | /** | |
| * Return the next xccdf_fix structure from the list and increment the iter
ator | | * Return the next xccdf_fix structure from the list and increment the iter
ator | |
| * @memberof xccdf_fix_iterator | | * @memberof xccdf_fix_iterator | |
| */ | | */ | |
| struct xccdf_fix *xccdf_fix_iterator_next(struct xccdf_fix_iterator *it); | | struct xccdf_fix *xccdf_fix_iterator_next(struct xccdf_fix_iterator *it); | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_fix_iterator | | * @memberof xccdf_fix_iterator | |
| */ | | */ | |
| bool xccdf_fix_iterator_has_more(struct xccdf_fix_iterator *it); | | bool xccdf_fix_iterator_has_more(struct xccdf_fix_iterator *it); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_fix_iterator | | * @memberof xccdf_fix_iterator | |
| */ | | */ | |
| void xccdf_fix_iterator_free(struct xccdf_fix_iterator *it); | | void xccdf_fix_iterator_free(struct xccdf_fix_iterator *it); | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_fix_iterator | |
| | | */ | |
| | | void xccdf_fix_iterator_reset(struct xccdf_fix_iterator *it); | |
| | | | |
| /** | | /** | |
| * Return the next xccdf_fixtext structure from the list and increment the
iterator | | * Return the next xccdf_fixtext structure from the list and increment the
iterator | |
| * @memberof xccdf_fixtext_iterator | | * @memberof xccdf_fixtext_iterator | |
| */ | | */ | |
| struct xccdf_fixtext *xccdf_fixtext_iterator_next(struct xccdf_fixtext_iter
ator *it); | | struct xccdf_fixtext *xccdf_fixtext_iterator_next(struct xccdf_fixtext_iter
ator *it); | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_fixtext_iterator | | * @memberof xccdf_fixtext_iterator | |
| */ | | */ | |
| bool xccdf_fixtext_iterator_has_more(struct xccdf_fixtext_iterator *it); | | bool xccdf_fixtext_iterator_has_more(struct xccdf_fixtext_iterator *it); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_fixtext_iterator | | * @memberof xccdf_fixtext_iterator | |
| */ | | */ | |
| void xccdf_fixtext_iterator_free(struct xccdf_fixtext_iterator *it); | | void xccdf_fixtext_iterator_free(struct xccdf_fixtext_iterator *it); | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_fixtext_iterator | |
| | | */ | |
| | | void xccdf_fixtext_iterator_reset(struct xccdf_fixtext_iterator *it); | |
| | | | |
| /** | | /** | |
| * Return the next xccdf_warning structure from the list and increment the
iterator | | * Return the next xccdf_warning structure from the list and increment the
iterator | |
| * @memberof xccdf_warning_iterator | | * @memberof xccdf_warning_iterator | |
| */ | | */ | |
| struct xccdf_warning *xccdf_warning_iterator_next(struct xccdf_warning_iter
ator *it); | | struct xccdf_warning *xccdf_warning_iterator_next(struct xccdf_warning_iter
ator *it); | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_warning_iterator | | * @memberof xccdf_warning_iterator | |
| */ | | */ | |
| | | | |
| skipping to change at line 1287 | | skipping to change at line 1363 | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_instance_iterator | | * @memberof xccdf_instance_iterator | |
| */ | | */ | |
| bool xccdf_instance_iterator_has_more(struct xccdf_instance_iterator *it); | | bool xccdf_instance_iterator_has_more(struct xccdf_instance_iterator *it); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_instance_iterator | | * @memberof xccdf_instance_iterator | |
| */ | | */ | |
| void xccdf_instance_iterator_free(struct xccdf_instance_iterator *it); | | void xccdf_instance_iterator_free(struct xccdf_instance_iterator *it); | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_instance_iterator | |
| | | */ | |
| | | void xccdf_instance_iterator_reset(struct xccdf_instance_iterator *it); | |
| | | | |
| /** | | /** | |
| * Return the next xccdf_message structure from the list and increment the
iterator | | * Return the next xccdf_message structure from the list and increment the
iterator | |
| * @memberof xccdf_message_iterator | | * @memberof xccdf_message_iterator | |
| */ | | */ | |
| struct xccdf_message *xccdf_message_iterator_next(struct xccdf_message_iter
ator *it); | | struct xccdf_message *xccdf_message_iterator_next(struct xccdf_message_iter
ator *it); | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_message_iterator | | * @memberof xccdf_message_iterator | |
| */ | | */ | |
| bool xccdf_message_iterator_has_more(struct xccdf_message_iterator *it); | | bool xccdf_message_iterator_has_more(struct xccdf_message_iterator *it); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_message_iterator | | * @memberof xccdf_message_iterator | |
| */ | | */ | |
| void xccdf_message_iterator_free(struct xccdf_message_iterator *it); | | void xccdf_message_iterator_free(struct xccdf_message_iterator *it); | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_message_iterator | |
| | | */ | |
| | | void xccdf_message_iterator_reset(struct xccdf_message_iterator *it); | |
| | | | |
| /** | | /** | |
| * Return the next xccdf_override structure from the list and increment the
iterator | | * Return the next xccdf_override structure from the list and increment the
iterator | |
| * @memberof xccdf_override_iterator | | * @memberof xccdf_override_iterator | |
| */ | | */ | |
| struct xccdf_override *xccdf_override_iterator_next(struct xccdf_override_i
terator *it); | | struct xccdf_override *xccdf_override_iterator_next(struct xccdf_override_i
terator *it); | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_override_iterator | | * @memberof xccdf_override_iterator | |
| */ | | */ | |
| bool xccdf_override_iterator_has_more(struct xccdf_override_iterator *it); | | bool xccdf_override_iterator_has_more(struct xccdf_override_iterator *it); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_override_iterator | | * @memberof xccdf_override_iterator | |
| */ | | */ | |
| void xccdf_override_iterator_free(struct xccdf_override_iterator *it); | | void xccdf_override_iterator_free(struct xccdf_override_iterator *it); | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_override_iterator | |
| | | */ | |
| | | void xccdf_override_iterator_reset(struct xccdf_override_iterator *it); | |
| | | | |
| /** | | /** | |
| * Return the next xccdf_identity structure from the list and increment the
iterator | | * Return the next xccdf_identity structure from the list and increment the
iterator | |
| * @memberof xccdf_identity_iterator | | * @memberof xccdf_identity_iterator | |
| */ | | */ | |
| struct xccdf_identity *xccdf_identity_iterator_next(struct xccdf_identity_i
terator *it); | | struct xccdf_identity *xccdf_identity_iterator_next(struct xccdf_identity_i
terator *it); | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_identity_iterator | | * @memberof xccdf_identity_iterator | |
| */ | | */ | |
| bool xccdf_identity_iterator_has_more(struct xccdf_identity_iterator *it); | | bool xccdf_identity_iterator_has_more(struct xccdf_identity_iterator *it); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_identity_iterator | | * @memberof xccdf_identity_iterator | |
| */ | | */ | |
| void xccdf_identity_iterator_free(struct xccdf_identity_iterator *it); | | void xccdf_identity_iterator_free(struct xccdf_identity_iterator *it); | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_identity_iterator | |
| | | */ | |
| | | void xccdf_identity_iterator_reset(struct xccdf_identity_iterator *it); | |
| | | | |
| /** | | /** | |
| * Return the next xccdf_rule_result structure from the list and increment
the iterator | | * Return the next xccdf_rule_result structure from the list and increment
the iterator | |
| * @memberof xccdf_rule_result_iterator | | * @memberof xccdf_rule_result_iterator | |
| */ | | */ | |
| struct xccdf_rule_result *xccdf_rule_result_iterator_next(struct xccdf_rule
_result_iterator *it); | | struct xccdf_rule_result *xccdf_rule_result_iterator_next(struct xccdf_rule
_result_iterator *it); | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_rule_result_iterator | | * @memberof xccdf_rule_result_iterator | |
| */ | | */ | |
| bool xccdf_rule_result_iterator_has_more(struct xccdf_rule_result_iterator
*it); | | bool xccdf_rule_result_iterator_has_more(struct xccdf_rule_result_iterator
*it); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_rule_result_iterator | | * @memberof xccdf_rule_result_iterator | |
| */ | | */ | |
| void xccdf_rule_result_iterator_free(struct xccdf_rule_result_iterator *it)
; | | void xccdf_rule_result_iterator_free(struct xccdf_rule_result_iterator *it)
; | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_rule_result_iterator | |
| | | */ | |
| | | void xccdf_rule_result_iterator_reset(struct xccdf_rule_result_iterator *it | |
| | | ); | |
| | | | |
| /** | | /** | |
| * Return the next xccdf_value_instance structure from the list and increme
nt the iterator | | * Return the next xccdf_value_instance structure from the list and increme
nt the iterator | |
| * @memberof xccdf_value_instance_iterator | | * @memberof xccdf_value_instance_iterator | |
| */ | | */ | |
| struct xccdf_value_instance *xccdf_value_instance_iterator_next(struct xccd
f_value_instance_iterator *it); | | struct xccdf_value_instance *xccdf_value_instance_iterator_next(struct xccd
f_value_instance_iterator *it); | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_value_instance_iterator | | * @memberof xccdf_value_instance_iterator | |
| */ | | */ | |
| bool xccdf_value_instance_iterator_has_more(struct xccdf_value_instance_ite
rator *it); | | bool xccdf_value_instance_iterator_has_more(struct xccdf_value_instance_ite
rator *it); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_value_instance_iterator | | * @memberof xccdf_value_instance_iterator | |
| */ | | */ | |
| void xccdf_value_instance_iterator_free(struct xccdf_value_instance_iterato
r *it); | | void xccdf_value_instance_iterator_free(struct xccdf_value_instance_iterato
r *it); | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_value_instance_iterator | |
| | | */ | |
| | | void xccdf_value_instance_iterator_reset(struct xccdf_value_instance_iterat | |
| | | or *it); | |
| | | | |
| /** | | /** | |
| * Return the next xccdf_score structure from the list and increment the it
erator | | * Return the next xccdf_score structure from the list and increment the it
erator | |
| * @memberof xccdf_score_iterator | | * @memberof xccdf_score_iterator | |
| */ | | */ | |
| struct xccdf_score *xccdf_score_iterator_next(struct xccdf_score_iterator *
it); | | struct xccdf_score *xccdf_score_iterator_next(struct xccdf_score_iterator *
it); | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_score_iterator | | * @memberof xccdf_score_iterator | |
| */ | | */ | |
| bool xccdf_score_iterator_has_more(struct xccdf_score_iterator *it); | | bool xccdf_score_iterator_has_more(struct xccdf_score_iterator *it); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_score_iterator | | * @memberof xccdf_score_iterator | |
| */ | | */ | |
| void xccdf_score_iterator_free(struct xccdf_score_iterator *it); | | void xccdf_score_iterator_free(struct xccdf_score_iterator *it); | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_score_iterator | |
| | | */ | |
| | | void xccdf_score_iterator_reset(struct xccdf_score_iterator *it); | |
| | | | |
| /** | | /** | |
| * Return the next xccdf_target_fact structure from the list and increment
the iterator | | * Return the next xccdf_target_fact structure from the list and increment
the iterator | |
| * @memberof xccdf_target_fact_iterator | | * @memberof xccdf_target_fact_iterator | |
| */ | | */ | |
| struct xccdf_target_fact *xccdf_target_fact_iterator_next(struct xccdf_targ
et_fact_iterator *it); | | struct xccdf_target_fact *xccdf_target_fact_iterator_next(struct xccdf_targ
et_fact_iterator *it); | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_target_fact_iterator | | * @memberof xccdf_target_fact_iterator | |
| */ | | */ | |
| bool xccdf_target_fact_iterator_has_more(struct xccdf_target_fact_iterator
*it); | | bool xccdf_target_fact_iterator_has_more(struct xccdf_target_fact_iterator
*it); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_target_fact_iterator | | * @memberof xccdf_target_fact_iterator | |
| */ | | */ | |
| void xccdf_target_fact_iterator_free(struct xccdf_target_fact_iterator *it)
; | | void xccdf_target_fact_iterator_free(struct xccdf_target_fact_iterator *it)
; | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_target_fact_iterator | |
| | | */ | |
| | | void xccdf_target_fact_iterator_reset(struct xccdf_target_fact_iterator *it | |
| | | ); | |
| | | | |
| /** | | /** | |
| * Return the next xccdf_plain_text structure from the list and increment t
he iterator | | * Return the next xccdf_plain_text structure from the list and increment t
he iterator | |
| * @memberof xccdf_plain_text_iterator | | * @memberof xccdf_plain_text_iterator | |
| */ | | */ | |
| struct xccdf_plain_text *xccdf_plain_text_iterator_next(struct xccdf_plain_
text_iterator *it); | | struct xccdf_plain_text *xccdf_plain_text_iterator_next(struct xccdf_plain_
text_iterator *it); | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_plain_text_iterator | | * @memberof xccdf_plain_text_iterator | |
| */ | | */ | |
| bool xccdf_plain_text_iterator_has_more(struct xccdf_plain_text_iterator *i
t); | | bool xccdf_plain_text_iterator_has_more(struct xccdf_plain_text_iterator *i
t); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_plain_text_iterator | | * @memberof xccdf_plain_text_iterator | |
| */ | | */ | |
| void xccdf_plain_text_iterator_free(struct xccdf_plain_text_iterator *it); | | void xccdf_plain_text_iterator_free(struct xccdf_plain_text_iterator *it); | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_plain_text_iterator | |
| | | */ | |
| | | void xccdf_plain_text_iterator_reset(struct xccdf_plain_text_iterator *it); | |
| | | | |
| /** | | /** | |
| * Return the next xccdf_value structure from the list and increment the it
erator | | * Return the next xccdf_value structure from the list and increment the it
erator | |
| * @memberof xccdf_value_iterator | | * @memberof xccdf_value_iterator | |
| */ | | */ | |
| struct xccdf_value *xccdf_value_iterator_next(struct xccdf_value_iterator *
it); | | struct xccdf_value *xccdf_value_iterator_next(struct xccdf_value_iterator *
it); | |
| /** | | /** | |
| * Return true if the list is not empty, false otherwise | | * Return true if the list is not empty, false otherwise | |
| * @memberof xccdf_value_iterator | | * @memberof xccdf_value_iterator | |
| */ | | */ | |
| bool xccdf_value_iterator_has_more(struct xccdf_value_iterator *it); | | bool xccdf_value_iterator_has_more(struct xccdf_value_iterator *it); | |
| /** | | /** | |
| * Free the iterator structure (it makes no changes to the list structure) | | * Free the iterator structure (it makes no changes to the list structure) | |
| * @memberof xccdf_value_iterator | | * @memberof xccdf_value_iterator | |
| */ | | */ | |
| void xccdf_value_iterator_free(struct xccdf_value_iterator *it); | | void xccdf_value_iterator_free(struct xccdf_value_iterator *it); | |
|
| | | /** | |
| | | * Reset the iterator structure (it makes no changes to the list structure) | |
| | | * @memberof xccdf_value_iterator | |
| | | */ | |
| | | void xccdf_value_iterator_reset(struct xccdf_value_iterator *it); | |
| | | | |
| /************************************************************ | | /************************************************************ | |
| ** @} End of Iterators group */ | | ** @} End of Iterators group */ | |
| | | | |
| /************************************************************/ | | /************************************************************/ | |
| /** | | /** | |
| * @name Getters | | * @name Getters | |
| * Return value is pointer to structure's member. Do not free unless you nu
ll the pointer in the structure. | | * Return value is pointer to structure's member. Do not free unless you nu
ll the pointer in the structure. | |
| * Use remove function otherwise. | | * Use remove function otherwise. | |
| * @{ | | * @{ | |
| | | | |
| skipping to change at line 2657 | | skipping to change at line 2783 | |
| /// @memberof xccdf_target_fact | | /// @memberof xccdf_target_fact | |
| bool xccdf_target_fact_set_name(struct xccdf_target_fact *obj, const char *
newval); | | bool xccdf_target_fact_set_name(struct xccdf_target_fact *obj, const char *
newval); | |
| | | | |
| /// @memberof xccdf_instance | | /// @memberof xccdf_instance | |
| bool xccdf_instance_set_context(struct xccdf_instance *obj, const char *new
val); | | bool xccdf_instance_set_context(struct xccdf_instance *obj, const char *new
val); | |
| /// @memberof xccdf_instance | | /// @memberof xccdf_instance | |
| bool xccdf_instance_set_parent_context(struct xccdf_instance *obj, const ch
ar *newval); | | bool xccdf_instance_set_parent_context(struct xccdf_instance *obj, const ch
ar *newval); | |
| /// @memberof xccdf_instance | | /// @memberof xccdf_instance | |
| bool xccdf_instance_set_content(struct xccdf_instance *obj, const char *new
val); | | bool xccdf_instance_set_content(struct xccdf_instance *obj, const char *new
val); | |
| | | | |
|
| | | // @memberof xccdf_ident | |
| | | void xccdf_ident_set_id(struct xccdf_ident * ident, const char *id); | |
| | | // @memberof xccdf_ident | |
| | | void xccdf_ident_set_system(struct xccdf_ident * ident, const char *sys); | |
| | | | |
| /// @memberof xccdf_benchmark | | /// @memberof xccdf_benchmark | |
| bool xccdf_benchmark_add_result(struct xccdf_benchmark *bench, struct xccdf
_result *result); | | bool xccdf_benchmark_add_result(struct xccdf_benchmark *bench, struct xccdf
_result *result); | |
| | | | |
| /// @memberof xccdf_benchmark | | /// @memberof xccdf_benchmark | |
| bool xccdf_benchmark_add_description(struct xccdf_benchmark *item, struct o
scap_text *newval); | | bool xccdf_benchmark_add_description(struct xccdf_benchmark *item, struct o
scap_text *newval); | |
| /// @memberof xccdf_benchmark | | /// @memberof xccdf_benchmark | |
| bool xccdf_benchmark_add_platform(struct xccdf_benchmark *item, const char
*newval); | | bool xccdf_benchmark_add_platform(struct xccdf_benchmark *item, const char
*newval); | |
| /// @memberof xccdf_benchmark | | /// @memberof xccdf_benchmark | |
| bool xccdf_benchmark_add_reference(struct xccdf_benchmark *item, struct osc
ap_reference *newval); | | bool xccdf_benchmark_add_reference(struct xccdf_benchmark *item, struct osc
ap_reference *newval); | |
| /// @memberof xccdf_benchmark | | /// @memberof xccdf_benchmark | |
| | | | |
| skipping to change at line 2905 | | skipping to change at line 3036 | |
| void xccdf_rule_result_iterator_remove(struct xccdf_rule_result_iterator *i
t); | | void xccdf_rule_result_iterator_remove(struct xccdf_rule_result_iterator *i
t); | |
| /// @memberof xccdf_identity_iterator | | /// @memberof xccdf_identity_iterator | |
| void xccdf_identity_iterator_remove(struct xccdf_identity_iterator *it); | | void xccdf_identity_iterator_remove(struct xccdf_identity_iterator *it); | |
| /// @memberof xccdf_score_iterator | | /// @memberof xccdf_score_iterator | |
| void xccdf_score_iterator_remove(struct xccdf_score_iterator *it); | | void xccdf_score_iterator_remove(struct xccdf_score_iterator *it); | |
| /// @memberof xccdf_target_fact_iterator | | /// @memberof xccdf_target_fact_iterator | |
| void xccdf_target_fact_iterator_remove(struct xccdf_target_fact_iterator *i
t); | | void xccdf_target_fact_iterator_remove(struct xccdf_target_fact_iterator *i
t); | |
| /// @memberof xccdf_value_instance_iterator | | /// @memberof xccdf_value_instance_iterator | |
| void xccdf_value_instance_iterator_remove(struct xccdf_value_instance_itera
tor *it); | | void xccdf_value_instance_iterator_remove(struct xccdf_value_instance_itera
tor *it); | |
| | | | |
|
| | | // reset iterators | |
| | | /// @memberof xccdf_plain_text_iterator | |
| | | void xccdf_plain_text_iterator_reset(struct xccdf_plain_text_iterator *it); | |
| | | /// @memberof xccdf_warning_iterator | |
| | | void xccdf_warning_iterator_reset(struct xccdf_warning_iterator *it); | |
| | | /// @memberof xccdf_value_instance_iterator | |
| | | void xccdf_value_instance_iterator_reset(struct xccdf_value_instance_iterat | |
| | | or *it); | |
| | | /// @memberof xccdf_result_iterator | |
| | | void xccdf_result_iterator_reset(struct xccdf_result_iterator *it); | |
| | | /// @memberof xccdf_override_iterator | |
| | | void xccdf_override_iterator_reset(struct xccdf_override_iterator *it); | |
| | | /// @memberof xccdf_message_iterator | |
| | | void xccdf_message_iterator_reset(struct xccdf_message_iterator *it); | |
| | | /// @memberof xccdf_instance_iterator | |
| | | void xccdf_instance_iterator_reset(struct xccdf_instance_iterator *it); | |
| | | /// @memberof xccdf_rule_result_iterator | |
| | | void xccdf_rule_result_iterator_reset(struct xccdf_rule_result_iterator *it | |
| | | ); | |
| | | /// @memberof xccdf_identity_iterator | |
| | | void xccdf_identity_iterator_reset(struct xccdf_identity_iterator *it); | |
| | | /// @memberof xccdf_score_iterator | |
| | | void xccdf_score_iterator_reset(struct xccdf_score_iterator *it); | |
| | | /// @memberof xccdf_target_fact_iterator | |
| | | void xccdf_target_fact_iterator_reset(struct xccdf_target_fact_iterator *it | |
| | | ); | |
| | | | |
| /************************************************************ | | /************************************************************ | |
| ** @} End of XCCDF group */ | | ** @} End of XCCDF group */ | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 31 change blocks. |
| 3 lines changed or deleted | | 168 lines changed or added | |
|