|
EDGESEC
0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
|
File containing the definition of the command mapper. More...
#include <stdbool.h>#include <inttypes.h>#include <utarray.h>#include <uthash.h>#include "../utils/allocs.h"#include "../utils/hashmap.h"#include "../utils/os.h"Go to the source code of this file.
Data Structures | |
| struct | hashmap_command_conn |
| Command mapper connection structure. More... | |
Typedefs | |
| typedef struct hashmap_command_conn | hmap_command_conn |
| Command mapper connection structure. More... | |
Functions | |
| void | free_command_mapper (hmap_command_conn **hmap) |
| Frees the command mapper connection object. More... | |
| int | put_command_mapper (hmap_command_conn **hmap, const char *command) |
| Insert a command into the command mapper connection object. More... | |
| int | check_command_mapper (hmap_command_conn *const *hmap, const char *command) |
| Check if a command is in the command mapper connection object. More... | |
File containing the definition of the command mapper.
| typedef struct hashmap_command_conn hmap_command_conn |
Command mapper connection structure.
| int check_command_mapper | ( | hmap_command_conn *const * | hmap, |
| const char * | command | ||
| ) |
Check if a command is in the command mapper connection object.
| [in] | hmap | Command mapper object |
| command | The command string |
| void free_command_mapper | ( | hmap_command_conn ** | hmap | ) |
Frees the command mapper connection object.
| hmap | Command mapper connection object |
| int put_command_mapper | ( | hmap_command_conn ** | hmap, |
| const char * | command | ||
| ) |
Insert a command into the command mapper connection object.
| [in,out] | hmap | Command mapper object |
| command | The command string |