Skip to content

Commit

Permalink
Core: new handling of termination requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas955 committed Mar 30, 2020
1 parent d652fe3 commit 086e954
Show file tree
Hide file tree
Showing 15 changed files with 162 additions and 662 deletions.
2 changes: 2 additions & 0 deletions include/ipfixcol2/plugins.h
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ ipx_plugin_get(ipx_ctx_t *ctx, void *cfg);
* \return #IPX_OK on success
* \return #IPX_ERR_DENIED if a fatal memory allocation error has occurred and/or the plugin cannot
* continue to work properly (the collector will exit).
* \return #IPX_ERR_EOF if the plugin has reached expected goal (e.g. number of processed records).
* This function will not be called anymore and the collector will shut down.
*/
IPX_API int
ipx_plugin_process(ipx_ctx_t *ctx, void *cfg, ipx_msg_t *msg);
Expand Down
6 changes: 4 additions & 2 deletions src/core/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Core source files
set(CORE_SOURCE
configurator/config_file.cpp
configurator/config_file.hpp
configurator/configurator.cpp
configurator/configurator.hpp
configurator/controller_file.cpp
configurator/controller_file.hpp
configurator/cpipe.c
configurator/cpipe.h
configurator/extensions.cpp
configurator/extensions.hpp
configurator/instance.hpp
Expand Down
Loading

0 comments on commit 086e954

Please sign in to comment.