diff options
author | Antonin Kral <a.kral@bobek.cz> | 2010-08-11 12:38:57 +0200 |
---|---|---|
committer | Antonin Kral <a.kral@bobek.cz> | 2010-08-11 12:38:57 +0200 |
commit | 7645618fd3914cb8a20561625913c20d49504a49 (patch) | |
tree | 8370f846f58f6d71165b7a0e2eda04648584ec76 /util/version.h | |
parent | 68c73c3c7608b4c87f07440dc3232801720b1168 (diff) | |
download | mongodb-7645618fd3914cb8a20561625913c20d49504a49.tar.gz |
Imported Upstream version 1.6.0
Diffstat (limited to 'util/version.h')
-rw-r--r-- | util/version.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/util/version.h b/util/version.h new file mode 100644 index 0000000..70ddeb8 --- /dev/null +++ b/util/version.h @@ -0,0 +1,24 @@ +#ifndef UTIL_VERSION_HEADER +#define UTIL_VERSION_HEADER + +#include <string> + +namespace mongo { + + using std::string; + + // mongo version + extern const char versionString[]; + string mongodVersion(); + + const char * gitVersion(); + void printGitVersion(); + + string sysInfo(); + void printSysInfo(); + + void show_32_warning(); + +} // namespace mongo + +#endif // UTIL_VERSION_HEADER |