update(userspace/engine): convert engine version to semver string

Signed-off-by: Lorenzo Susini <susinilorenzo1@gmail.com>
This commit is contained in:
Lorenzo Susini
2023-09-26 10:20:28 +00:00
committed by poiana
parent d3e1a1f746
commit cd6cb14c08
3 changed files with 9 additions and 5 deletions

View File

@@ -56,7 +56,7 @@ public:
// and rules file format it supports. This version will change
// any time the code that handles rules files, expression
// fields, etc, changes.
static uint32_t engine_version();
static std::string engine_version();
// Print to stdout (using printf) a description of each field supported by this engine.
// If source is non-empty, only fields for the provided source are printed.