multiple fixes
[NeonServV5.git] / src / version.sh
index b7f04e258bde4b2142686ba81c0adab5bc32e214..4af226e8a4132e72d78a96f39407bedf70c34c16 100644 (file)
@@ -35,8 +35,8 @@ fi
 
 
 /bin/cat > version.c <<!SUB!THIS!
-/* version.c - NeonServ v5.1
- * Copyright (C) 2011  Philipp Kreil (pk910)
+/* version.c - NeonServ v5.3
+ * Copyright (C) 2011-2012  Philipp Kreil (pk910)
  * 
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -62,5 +62,25 @@ const char *codelines = "$codelines";
 
 const int patchlevel = ($git_commitcount ? ($git_commitcount - VERSION_PATCHLEVEL) : 0);
 
+const char *get_compilation() {
+    return compilation;
+}
+
+const char *get_creation() {
+    return creation;
+}
+
+const char *get_revision() {
+    return revision;
+}
+
+const char *get_codelines() {
+    return codelines;
+}
+
+const int get_patchlevel() {
+    return patchlevel;
+}
+
 !SUB!THIS!