Character string to integer map. More...

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 struct char_map | char_map_t |
| Type definition of the character string to integer map. | |
| typedef char_map_t * | char_map_ref |
| Type definition of the character string to integer map pointer. | |
Functions | |
| int | char_map_add (char_map_ref map, const char *identifier, size_t length, const int value) |
| Adds the value with the key to the map. | |
| void | char_map_destroy (char_map_ref map) |
| Clears and destroys the map. | |
| int | char_map_exclude (char_map_ref map, const char *identifier, size_t length) |
| Excludes the value assigned to the key from the map. | |
| int | char_map_find (const char_map_ref map, const char *identifier, size_t length) |
| Returns the value assigned to the key from the map. | |
| int | char_map_initialize (char_map_ref map) |
| Initializes the map. | |
| int | char_map_update (char_map_ref map, const char *identifier, size_t length, const int value) |
| Adds or updates the value with the key to the map. | |
Character string to integer map.
1.6.1