|
EDGESEC
0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
|
File containing the implementation of the hashmap utilities. More...
Macros | |
| #define | _POSIX_C_SOURCE 200809L |
| #define | strnlen_s(_string, _maxlen) ((_string) == NULL ? 0 : strnlen((_string), (_maxlen))) |
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 implementation of the hashmap utilities.
| #define _POSIX_C_SOURCE 200809L |
| #define strnlen_s | ( | _string, | |
| _maxlen | |||
| ) | ((_string) == NULL ? 0 : strnlen((_string), (_maxlen))) |
| 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 |