EDGESEC  0.1.0-alpha.0+sha.ca29a8277b72f80785649ea9ef9cd7edf642d939
Secure router - reference implementation
Data Structures | Functions
middlewares_list.h File Reference

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"
Include dependency graph for middlewares_list.h:
This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

File containing the definition of generic middleware creation functions.

Authors
Alexandru Mereacre, Alois Klink

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.

Function Documentation

◆ assign_middlewares()

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.

Returns
The list of uninitialised middlewares.