"Fossies" - the Fresh Open Source Software Archive

Member "libmaxminddb-1.5.2/t/version_t.c" (18 Feb 2021, 256 Bytes) of package /linux/misc/libmaxminddb-1.5.2.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "version_t.c": 1.5.0_vs_1.5.2.

    1 #include "maxminddb_test_helper.h"
    3 int main(void) {
    4     const char *version = MMDB_lib_version();
    5     if (ok((version != NULL), "MMDB_lib_version exists")) {
    6         is(version, PACKAGE_VERSION, "version is " PACKAGE_VERSION);
    7     }
    8     done_testing();
    9 }