0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
mongodb/util/version.h
2010-11-29 14:47:44 -05:00

26 lines
468 B
C++

#ifndef UTIL_VERSION_HEADER
#define UTIL_VERSION_HEADER
#include <string>
namespace mongo {
using std::string;
// mongo version
extern const char versionString[];
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