Merge branch 'development'
[NeonServV5.git] / src / version.h
index 06f4b0a84a6a9ff500e07ef84bb45a41a704b0dc..ec8c2079bb7d674f479a27b03618f55c7be00a00 100644 (file)
@@ -1,11 +1,41 @@
+/* version.h - NeonServ v5.6
+ * 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
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License 
+ * along with this program. If not, see <http://www.gnu.org/licenses/>. 
+ */
 #ifndef _version_h
 #define _version_h
 
 #include "main.h"
 
+#define MODULE_VERSION 7
+
+#ifndef DND_FUNCTIONS
 extern const char *compilation;
 extern const char *creation;
 extern const char *revision;
 extern const char *codelines;
+extern const int revision_master;
+extern const char *dev_revision;
+extern const int patchlevel;
 
-#endif
\ No newline at end of file
+const char *get_compilation();
+const char *get_creation();
+const char *get_revision();
+const int is_stable_revision();
+const char *get_dev_revision();
+const char *get_codelines();
+const int get_patchlevel();
+#endif
+#endif