Helium
Data Structures | Typedefs | Enumerations
he_plugin.h File Reference

The internal plugin API definitions. More...

#include <stddef.h>
#include <stdint.h>
Include dependency graph for he_plugin.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  plugin_struct
 

Typedefs

typedef enum he_plugin_return_code he_plugin_return_code_t
 
typedef he_plugin_return_code_t(* plugin_do_ingress) (uint8_t *packet, size_t *length, size_t capacity, void *data)
 
typedef he_plugin_return_code_t(* plugin_do_egress) (uint8_t *packet, size_t *length, size_t capacity, void *data)
 
typedef struct plugin_struct plugin_struct_t
 

Enumerations

enum  he_plugin_return_code { HE_PLUGIN_SUCCESS = 0, HE_PLUGIN_FAIL = -1, HE_PLUGIN_DROP = -2 }
 

Detailed Description

The internal plugin API definitions.

This file is separated out to clearly indicate that a plugin implementation only needs to care about this API, not the full set of types and functions included

Note
This file should be identical to public/he_plugin.h. Resolving this duplication is an outstanding concern.