Add functions to Perl API for checking ZNC version.

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2185 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
darthgandalf
2010-12-07 14:04:44 +00:00
parent ce45917cc0
commit 12b1cf63b5

View File

@@ -158,3 +158,19 @@ inline bool HaveCAres() {
inline int _GetSOMAXCONN() {
return SOMAXCONN;
}
inline int GetVersionMajor() {
return VERSION_MAJOR;
}
inline int GetVersionMinor() {
return VERSION_MINOR;
}
inline double GetVersion() {
return VERSION;
}
inline CString GetVersionExtra() {
return VERSION_EXTRA;
}