Open SCAP Library
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
xccdf_profile_iterator Struct Reference

Detailed Description

Profile iterator.

See Also
oscap_iterator

#include <xccdf_benchmark.h>

Public Member Functions

Iterators
struct xccdf_profilexccdf_profile_iterator_next (struct xccdf_profile_iterator *it)
 Return the next xccdf_profile structure from the list and increment the iterator.
 
bool xccdf_profile_iterator_has_more (struct xccdf_profile_iterator *it)
 Return true if the list is not empty, false otherwise.
 
void xccdf_profile_iterator_free (struct xccdf_profile_iterator *it)
 Free the iterator structure (it makes no changes to the list structure)
 
void xccdf_profile_iterator_reset (struct xccdf_profile_iterator *it)
 Reset the iterator structure (it makes no changes to the list structure)
 
Setters

For lists use add functions.

Parameters of set functions are duplicated in memory and need to be freed by caller.

void xccdf_profile_iterator_remove (struct xccdf_profile_iterator *it)
 

The documentation for this struct was generated from the following file: