Open SCAP Library: oval_adt.h Source File

Open SCAP Library

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

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
47 struct oval_string_iterator;
48
57 bool oval_string_iterator_has_more(struct oval_string_iterator *);
62 char *oval_string_iterator_next(struct oval_string_iterator *);
67 int oval_string_iterator_remaining(struct oval_string_iterator *);
72 void oval_string_iterator_free(struct oval_string_iterator *);
82 #endif
oval_string_iterator::oval_string_iterator_has_more
bool oval_string_iterator_has_more(struct oval_string_iterator *)
Returns true if the iterator is not exhausted.
Definition: oval_collection.c:242
oval_string_iterator::oval_string_iterator_next
char * oval_string_iterator_next(struct oval_string_iterator *)
Returns the next instance of char *.
Definition: oval_collection.c:252
oval_string_iterator::oval_string_iterator_free
void oval_string_iterator_free(struct oval_string_iterator *)
Frees the iterator.
Definition: oval_collection.c:257
oval_string_iterator
oval_string_iterator::oval_string_iterator_remaining
int oval_string_iterator_remaining(struct oval_string_iterator *)
Return number for remaining char * elements.
Definition: oval_collection.c:247