blob: 6293d221417334f0838eacfac45e921bc7e082ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/*-
* Copyright (c) 2014-2015 MongoDB, Inc.
* Copyright (c) 2008-2014 WiredTiger, Inc.
* All rights reserved.
*
* See the file LICENSE for redistribution information.
*/
#include "wt_internal.h"
/*
* wiredtiger_version --
* Return library version information.
*/
const char *
wiredtiger_version(int *majorp, int *minorp, int *patchp)
{
if (majorp != NULL)
*majorp = WIREDTIGER_VERSION_MAJOR;
if (minorp != NULL)
*minorp = WIREDTIGER_VERSION_MINOR;
if (patchp != NULL)
*patchp = WIREDTIGER_VERSION_PATCH;
return (WIREDTIGER_VERSION_STRING);
}
|