summaryrefslogtreecommitdiff
path: root/include/anope.h
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@anope.org>2011-03-13 03:42:30 -0400
committerAdam <Adam@anope.org>2011-03-13 03:42:30 -0400
commit3fbf39b25d3ab95cab83baf198a24a7d6ad3689b (patch)
tree0b785f887b531ace1649ed019836b04954f3b460 /include/anope.h
parent15a833283b0ec501f8c986b269b8360c6aa923f9 (diff)
Added some useful Anope::Version functions to prevent some files from unnecessarily rebuilding on every make
Diffstat (limited to 'include/anope.h')
-rw-r--r--include/anope.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/anope.h b/include/anope.h
index 8153c976f..1a8612241 100644
--- a/include/anope.h
+++ b/include/anope.h
@@ -299,8 +299,12 @@ namespace Anope
extern CoreExport time_t CurTime;
extern CoreExport string Version();
-
- extern CoreExport string Build();
+ extern CoreExport string VersionShort();
+ extern CoreExport string VersionBuildString();
+ extern CoreExport int VersionMajor();
+ extern CoreExport int VersionMinor();
+ extern CoreExport int VersionPatch();
+ extern CoreExport int VersionBuild();
/** Check whether two strings match.
* @param str The string to check against the pattern (e.g. foobar)