preludedb-version

preludedb-version

Synopsis

#define             LIBPRELUDEDB_VERSION
const char *        preludedb_check_version             (const char *req_version);

Description

Details

LIBPRELUDEDB_VERSION

#define LIBPRELUDEDB_VERSION "3.0.0"


preludedb_check_version ()

const char *        preludedb_check_version             (const char *req_version);

If req_version is NULL this function will return the version of the library. Otherwise, req_version will be compared to the current library version. If the library version is higher or equal, this function will return the current library version. Otherwise, NULL is returned.

req_version :

The minimum acceptable version number.

Returns :

The current library version, or NULL if req_version doesn't match.