Skip to content

Commit

Permalink
cfl: add new cfl_version() function
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <[email protected]>
  • Loading branch information
edsiper committed Jun 30, 2024
1 parent 4f5192f commit 08e5240
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions include/cfl/cfl.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,6 @@
#include <cfl/cfl_object.h>

int cfl_init();
char *cfl_version();

#endif
8 changes: 8 additions & 0 deletions src/cfl.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,15 @@
* limitations under the License.
*/

#include <cfl/cfl.h>

int cfl_init()
{
return 0;
}

char *cfl_version()
{
return CFL_VERSION_STR;
}

0 comments on commit 08e5240

Please sign in to comment.