blob: 64f8b140fd5ec828ded798dfc9cc504bd0489b33 (
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
26
27
|
#ifndef UTIL_VERSION_HEADER
#define UTIL_VERSION_HEADER
#include <string>
namespace mongo {
struct BSONArray;
using std::string;
// mongo version
extern const char versionString[];
extern const BSONArray versionArray;
string mongodVersion();
int versionCmp(StringData rhs, StringData lhs); // like strcmp
const char * gitVersion();
void printGitVersion();
string sysInfo();
void printSysInfo();
void show_warnings();
} // namespace mongo
#endif // UTIL_VERSION_HEADER
|