EDGESEC
0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
|
File containing the definition of generic middleware creation functions. More...
#include <eloop.h>
#include <pcap.h>
#include <sqlite3.h>
#include <utarray.h>
#include "middleware.h"
Go to the source code of this file.
Data Structures | |
struct | middleware_handlers |
Generic middleware context and functions. More... | |
Functions | |
UT_array * | assign_middlewares (void) |
Constructs the list of middlewares to use. More... | |
File containing the definition of generic middleware creation functions.
The CMake function edgesecAddCaptureMiddleware
generated a custom middlewares_list.c.in file containing the list of middlewares to be used.
Because of this, there may be no middlewares, some middle wares, or even middlewares created by the user.
UT_array* assign_middlewares | ( | void | ) |
Constructs the list of middlewares to use.
The list of middlewares is created by the CMake function edgesecAddCaptureMiddleware
. This list may be empty, or contain some middlewares, or even middlewares created by the user. When you are finished with this list, call free_middlewares() to free it.