26 #ifndef PLUGIN_CHAIN_H 27 #define PLUGIN_CHAIN_H 86 #endif // PLUGIN_CHAIN_H he_return_code_t he_plugin_ingress(he_plugin_chain_t *chain, uint8_t *packet, size_t *length, size_t capacity)
Execute the ingress function of each registered plugin.
Definition: plugin_chain.c:53
enum he_return_code he_return_code_t
All possible return codes for helium.
he_return_code_t he_plugin_register_plugin(he_plugin_chain_t *chain, plugin_struct_t *plugin)
Register the plugin to the plugin chain.
Definition: plugin_chain.c:31
Definition: he_plugin.h:49
void he_plugin_destroy_chain(he_plugin_chain_t *chain)
Releases all memory allocated by Helium for this plugin chain.
Definition: plugin_chain.c:27
he_return_code_t he_plugin_egress(he_plugin_chain_t *chain, uint8_t *packet, size_t *length, size_t capacity)
Execute the egress function of each registered plugin.
Definition: plugin_chain.c:76
he_plugin_chain_t * he_plugin_create_chain(void)
Creates a Helium plugin chain.
Definition: plugin_chain.c:23
Core internal header file for libhelium.