00001
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef OVAL_STRING_MAP_IMPL_H_
00031 #define OVAL_STRING_MAP_IMPL_H_
00032
00033 #include "oval_collection_impl.h"
00034 #include "../common/util.h"
00035
00036 OSCAP_HIDDEN_START;
00037
00038 struct oval_string_map_s;
00039
00040 struct oval_string_map *oval_string_map_new(void);
00041 void oval_string_map_put(struct oval_string_map *, const char *, void *);
00042
00043 void oval_string_map_put_string(struct oval_string_map *, const char *, const char *);
00044 struct oval_iterator *oval_string_map_keys(struct oval_string_map *);
00045 struct oval_iterator *oval_string_map_values(struct oval_string_map *);
00046 void *oval_string_map_get_value(struct oval_string_map *, const char *);
00047 void oval_string_map_free(struct oval_string_map *, oscap_destruct_func);
00048 void oval_string_map_free_string(struct oval_string_map *);
00049
00050 OSCAP_HIDDEN_END;
00051
00052 #endif