Skip to content

Commit

Permalink
Merge pull request #311 from MathieuBordere/release/1.8.0
Browse files Browse the repository at this point in the history
dqlite: Bump version to 1.8.0
  • Loading branch information
stgraber authored Jun 9, 2021
2 parents 66338cd + 57c47ef commit 2e6ec8b
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
AC_PREREQ(2.60)
AC_INIT([libdqlite], [1.7.0], [https://github.com/canonical/dqlite])
AC_INIT([libdqlite], [1.8.0], [https://github.com/canonical/dqlite])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_AUX_DIR([ac])

Expand Down
10 changes: 10 additions & 0 deletions include/dqlite.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@
#include <sqlite3.h>
#include <stddef.h>

/**
* Version.
*/
#define DQLITE_VERSION_MAJOR 1
#define DQLITE_VERSION_MINOR 8
#define DQLITE_VERSION_RELEASE 0
#define DQLITE_VERSION_NUMBER (DQLITE_VERSION_MAJOR *100*100 + DQLITE_VERSION_MINOR *100 + DQLITE_VERSION_RELEASE)

int dqlite_version_number (void);

/**
* Error codes.
*/
Expand Down
5 changes: 5 additions & 0 deletions src/dqlite.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

#include "vfs.h"

int dqlite_version_number (void)
{
return DQLITE_VERSION_NUMBER;
}

int dqlite_vfs_init(sqlite3_vfs *vfs, const char *name)
{
return VfsInit(vfs, name);
Expand Down

0 comments on commit 2e6ec8b

Please sign in to comment.