Open SCAP Library
src
OVAL
public
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 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
48
struct
oval_string_iterator
;
49
58
OSCAP_API
bool
oval_string_iterator_has_more
(
struct
oval_string_iterator
*);
63
OSCAP_API
char
*
oval_string_iterator_next
(
struct
oval_string_iterator
*);
68
OSCAP_API
int
oval_string_iterator_remaining
(
struct
oval_string_iterator
*);
73
OSCAP_API
void
oval_string_iterator_free
(
struct
oval_string_iterator
*);
83
#endif
oval_string_iterator
oval_string_iterator::oval_string_iterator_remaining
OSCAP_API int oval_string_iterator_remaining(struct oval_string_iterator *)
Return number for remaining char * elements.
Definition:
oval_collection.c:223
oval_string_iterator::oval_string_iterator_free
OSCAP_API void oval_string_iterator_free(struct oval_string_iterator *)
Frees the iterator.
Definition:
oval_collection.c:233
oval_string_iterator::oval_string_iterator_has_more
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
oval_string_iterator::oval_string_iterator_next
OSCAP_API char * oval_string_iterator_next(struct oval_string_iterator *)
Returns the next instance of char *.
Definition:
oval_collection.c:228
Generated by
1.8.17