|
EDGESEC
0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
|
File containing the definition of the hashmap utilities. More...
#include <stdbool.h>#include <uthash.h>Go to the source code of this file.
Data Structures | |
| struct | hashmap_str_keychar |
| keyd array hasmap structure definition More... | |
| struct | hashmap_str_keyptr |
| string hasmap structure definition More... | |
Macros | |
| #define | HASH_KEY_CHAR_SIZE 20 |
Typedefs | |
| typedef struct hashmap_str_keychar | hmap_str_keychar |
| keyd array hasmap structure definition More... | |
| typedef struct hashmap_str_keyptr | hmap_str_keyptr |
| string hasmap structure definition More... | |
Functions | |
| const char * | hmap_str_keychar_get (const hmap_str_keychar *hmap, const char *keyptr) |
| Retrieves a string from string hashmap for a given key. More... | |
| bool | hmap_str_keychar_put (hmap_str_keychar **hmap, const char *keyptr, const char *value) |
| Inserts a string into a string hashmap for a given key. More... | |
| void | hmap_str_keychar_free (hmap_str_keychar **hmap) |
| Deletes the string hashmap object. More... | |
File containing the definition of the hashmap utilities.
| #define HASH_KEY_CHAR_SIZE 20 |
| typedef struct hashmap_str_keychar hmap_str_keychar |
keyd array hasmap structure definition
| typedef struct hashmap_str_keyptr hmap_str_keyptr |
string hasmap structure definition
| void hmap_str_keychar_free | ( | hmap_str_keychar ** | hmap | ) |
Deletes the string hashmap object.
| hmap | The string hashmap object |
| const char* hmap_str_keychar_get | ( | const hmap_str_keychar * | hmap, |
| const char * | keyptr | ||
| ) |
Retrieves a string from string hashmap for a given key.
| hmap | The string hashmap object. |
| keyptr | The hashmap key. |
| bool hmap_str_keychar_put | ( | hmap_str_keychar ** | hmap, |
| const char * | keyptr, | ||
| const char * | value | ||
| ) |
Inserts a string into a string hashmap for a given key.
| [in,out] | hmap | Pointer to the string hashmap object. |
| keyptr | The hashmap key | |
| value | The hashmap string value |