Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
inc-proc-eng: Allow definition of engine_node with global scope
Refactor ENGINE_NODE() macro to not assign function pointers. This allows ENGINE_NODE() to be used outside functions, creating an engine_node with global scope (but can be statically defined within a file). This allows more flexibility in how the I-P engine can be used. Although this is not explicitly required for I-P it does allow for a cleaner code base as the node definitions can be kept together outside any functions. Additional function pointers (e.g. is_valid(), clear_tracked_data()), may be assigned later, if required. Signed-off-by: Mark Gray <mark.d.gray@redhat.com> Signed-off-by: Han Zhou <hzhou@ovn.org>
- Loading branch information