mirror of
https://github.com/KingDuckZ/dindexer.git
synced 2025-07-13 15:54:11 +00:00
Add a backend interface version number for eventual future changes.
Note that the interface is still a work in progress and might change while still keeping the same interface version. This is going to be true until the first stable release of this project (non beta).
This commit is contained in:
parent
0cb91fb9ca
commit
e2275ce5db
5 changed files with 56 additions and 1 deletions
|
@ -17,6 +17,7 @@
|
|||
|
||||
#include "backend_postgresql.hpp"
|
||||
#include "backends/exposed_functions.hpp"
|
||||
#include "backends/backend_version.hpp"
|
||||
#include "tag.hpp"
|
||||
#include "delete.hpp"
|
||||
#include "scan.hpp"
|
||||
|
@ -179,3 +180,7 @@ extern "C" void dindexer_destroy_backend (dindb::Backend* parDele) {
|
|||
extern "C" const char* dindexer_backend_name() {
|
||||
return "postgresql";
|
||||
}
|
||||
|
||||
extern "C" int dindexer_backend_iface_version() {
|
||||
return dindb::g_current_iface_version;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue