00001
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef OVALCOLLECTION_H_
00031 #define OVALCOLLECTION_H_
00032 #include "../common/util.h"
00033
00034 OSCAP_HIDDEN_START;
00035
00036
00037
00038
00039 struct oval_collection *oval_collection_new(void);
00040 void oval_collection_free(struct oval_collection *);
00041 void oval_collection_free_items(struct oval_collection *, oscap_destruct_func);
00042 void oval_collection_add(struct oval_collection *, void *);
00043 struct oval_iterator *oval_collection_iterator(struct oval_collection *);
00044 struct oval_iterator *oval_collection_iterator_new(void);
00045 void oval_collection_iterator_add(struct oval_iterator *, void *);
00046 bool oval_collection_iterator_has_more(struct oval_iterator *);
00047 int oval_collection_iterator_remaining(struct oval_iterator *);
00048 void *oval_collection_iterator_next(struct oval_iterator *);
00049 void oval_collection_iterator_free(struct oval_iterator *);
00050
00051 struct oval_string_iterator;
00052
00053 OSCAP_HIDDEN_END;
00054
00055 #endif