Open SCAP Library
Loading...
Searching...
No Matches
oval_adt.h
Go to the documentation of this file.
1
16/*
17 * Copyright 2009-2013 Red Hat Inc., Durham, North Carolina.
18 * All Rights Reserved.
19 *
20 * This library is free software; you can redistribute it and/or
21 * modify it under the terms of the GNU Lesser General Public
22 * License as published by the Free Software Foundation; either
23 * version 2.1 of the License, or (at your option) any later version.
24 *
25 * This library is distributed in the hope that it will be useful,
26 * but WITHOUT ANY WARRANTY; without even the implied warranty of
27 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
28 * Lesser General Public License for more details.
29 *
30 * You should have received a copy of the GNU Lesser General Public
31 * License along with this library; if not, write to the Free Software
32 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
33 *
34 * Authors:
35 * "David Niemoller" <David.Niemoller@g2-inc.com>
36 */
37
38
39#ifndef OVAL_ADT_H
40#define OVAL_ADT_H
41
42#include <stdbool.h>
43#include "oscap_export.h"
44
49
63OSCAP_API char *oval_string_iterator_next(struct oval_string_iterator *);
73OSCAP_API void oval_string_iterator_free(struct oval_string_iterator *);
83#endif
OSCAP_API char * oval_string_iterator_next(struct oval_string_iterator *)
Returns the next instance of char *.
Definition oval_collection.c:228
OSCAP_API bool oval_string_iterator_has_more(struct oval_string_iterator *)
Returns true if the iterator is not exhausted.
Definition oval_collection.c:218
OSCAP_API int oval_string_iterator_remaining(struct oval_string_iterator *)
Return number for remaining char * elements.
Definition oval_collection.c:223
OSCAP_API void oval_string_iterator_free(struct oval_string_iterator *)
Frees the iterator.
Definition oval_collection.c:233