| 1 | /* |
| 2 | * Copyright 2013 Red Hat Inc., Durham, North Carolina. |
| 3 | * All Rights Reserved. |
| 4 | * |
| 5 | * This library is free software; you can redistribute it and/or |
| 6 | * modify it under the terms of the GNU Lesser General Public |
| 7 | * License as published by the Free Software Foundation; either |
| 8 | * version 2.1 of the License, or (at your option) any later version. |
| 9 | * |
| 10 | * This library is distributed in the hope that it will be useful, |
| 11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 | * Lesser General Public License for more details. |
| 14 | * |
| 15 | * You should have received a copy of the GNU Lesser General Public |
| 16 | * License along with this library; if not, write to the Free Software |
| 17 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 18 | * |
| 19 | * Authors: |
| 20 | * Šimon Lukašík |
| 21 | * |
| 22 | * |
| 23 | * |
| 24 | * This module implements a simple iterator iterating through SMC structure. |
| 25 | * That is StringMap that points to the oval_collection objects. |
| 26 | * |
| 27 | * This module implements only sub set of iterator functionality for iterating |
| 28 | * through map/list structure. Limits: It supposes that list (slave_col) is |
| 29 | * never empty. |
| 30 | */ |
| 31 | |
| 32 | #ifndef OVAL_SMC_ITERATOR_H |
| 33 | #define OVAL_SMC_ITERATOR_Hcxx . . $ `src/OVAL/adt/oval_smc_iterator_impl.h:33:9`! |
| 34 | |
| 35 | #include <stdbool.h> |
| 36 | #include "oval_smc_impl.h"cxx . . $ `<file>/src/OVAL/adt/oval_smc_impl.h`/ |
| 37 | #include "common/util.h"cxx . . $ `<file>/src/common/util.h`/ |
| 38 | |
| 39 | |
| 40 | struct oval_smc_iteratorcxx . . $ oval_smc_iterator#; |
| 41 | |
| 42 | struct oval_smc_iteratorcxx . . $ oval_smc_iterator# *oval_smc_iterator_newcxx . . $ oval_smc_iterator_new(b25fd823588405a4).(struct oval_smccxx . . $ oval_smc# *mapping); |
| 43 | |
| 44 | void oval_smc_iterator_freecxx . . $ oval_smc_iterator_free(ecf89839dce0fea).(struct oval_smc_iteratorcxx . . $ oval_smc_iterator# *it); |
| 45 | |
| 46 | boolcxx . . $ `<external>/14268322491693841775/stdbool.h:36:9`! oval_smc_iterator_has_morecxx . . $ oval_smc_iterator_has_more(d7926f168e3d45db).(struct oval_smc_iteratorcxx . . $ oval_smc_iterator# *it); |
| 47 | |
| 48 | void *oval_smc_iterator_nextcxx . . $ oval_smc_iterator_next(aa65d553c349a165).(struct oval_smc_iteratorcxx . . $ oval_smc_iterator# *it); |
| 49 | |
| 50 | |
| 51 | #endif |