mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user