From 08e5240783cddcc760d736c22a584656d8fafc38 Mon Sep 17 00:00:00 2001 From: Eduardo Silva Date: Sun, 30 Jun 2024 17:42:03 +0200 Subject: [PATCH] cfl: add new cfl_version() function Signed-off-by: Eduardo Silva --- include/cfl/cfl.h | 1 + src/cfl.c | 8 ++++++++ 2 files changed, 9 insertions(+) diff --git a/include/cfl/cfl.h b/include/cfl/cfl.h index 8e4efa7..48e2b0d 100644 --- a/include/cfl/cfl.h +++ b/include/cfl/cfl.h @@ -39,5 +39,6 @@ #include int cfl_init(); +char *cfl_version(); #endif diff --git a/src/cfl.c b/src/cfl.c index 7afb110..426319a 100644 --- a/src/cfl.c +++ b/src/cfl.c @@ -17,7 +17,15 @@ * limitations under the License. */ +#include + int cfl_init() { return 0; } + +char *cfl_version() +{ + return CFL_VERSION_STR; +} +