#include <libarch/types.h>
Go to the source code of this file.
Data Structures | |
| struct | char_map |
| Character string to integer map item. More... | |
Defines | |
| #define | CHAR_MAP_NULL (-1) |
| Invalid assigned value used also if an entry does not exist. | |
Typedefs | |
| typedef char_map | char_map_t |
| Type definition of the character string to integer map. | |
Functions | |
| int | char_map_add (char_map_t *map, const uint8_t *identifier, size_t length, const int value) |
| Adds the value with the key to the map. | |
| void | char_map_destroy (char_map_t *map) |
| Clears and destroys the map. | |
| int | char_map_exclude (char_map_t *map, const uint8_t *identifier, size_t length) |
| Excludes the value assigned to the key from the map. | |
| int | char_map_find (const char_map_t *map, const uint8_t *identifier, size_t length) |
| Returns the value assigned to the key from the map. | |
| int | char_map_initialize (char_map_t *map) |
| Initializes the map. | |
| int | char_map_update (char_map_t *map, const uint8_t *identifier, const size_t length, const int value) |
| Adds or updates the value with the key to the map. | |
Definition in file char_map.h.
1.4.7