Open SCAP Library
Loading...
Searching...
No Matches
oval_string_map_impl.h
Go to the documentation of this file.
1
8/*
9 * Copyright 2009--2013 Red Hat Inc., Durham, North Carolina.
10 * All Rights Reserved.
11 *
12 * This library is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU Lesser General Public
14 * License as published by the Free Software Foundation; either
15 * version 2.1 of the License, or (at your option) any later version.
16 *
17 * This library is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 * Lesser General Public License for more details.
21 *
22 * You should have received a copy of the GNU Lesser General Public
23 * License along with this library; if not, write to the Free Software
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
25 *
26 * Authors:
27 * "David Niemoller" <David.Niemoller@g2-inc.com>
28 */
29
30#ifndef OVAL_STRING_MAP_IMPL_H_
31#define OVAL_STRING_MAP_IMPL_H_
32
34#include "../common/util.h"
35
36
37struct oval_string_map;
38
39struct oval_string_map *oval_string_map_new(void);
40void oval_string_map_put(struct oval_string_map *, const char *, void *);
41
42void oval_string_map_put_string(struct oval_string_map *, const char *, const char *);
43struct oval_iterator *oval_string_map_keys(struct oval_string_map *);
44struct oval_iterator *oval_string_map_values(struct oval_string_map *);
45void *oval_string_map_get_value(struct oval_string_map *, const char *);
46void oval_string_map_free(struct oval_string_map *, oscap_destruct_func);
47void oval_string_map_free0(struct oval_string_map *);
48void oval_string_map_free_string(struct oval_string_map *);
49struct oval_collection *oval_string_map_collect_values(struct oval_string_map *map, struct oval_collection *collection);
50
51
52#endif /* OVAL_STRING_MAP_IMPL_H_ */
Open Vulnerability and Assessment Language.
Definition oval_collection.c:50
Definition oval_collection.c:54