1 //////////////////////////////////////////////////////////////////
3 // PURPOSE OF THIS FILE: Give version info
5 // Copyright (C) 2003 Nils.Bokermann@mediaways.net
7 // This work is published under the GNU Public License (GPL)
8 // see file COPYING for details.
9 // We also explicitely grant the right to link this code
10 // with the OpenH323 library.
12 //////////////////////////////////////////////////////////////////
14 #if defined(_WIN32) && (_MSC_VER <= 1200)
15 #pragma warning(disable:4284)
19 #include <ptlib/sockets.h>
20 #include "versionts.h"
24 const PString Toolkit::GKVersion()
26 return PString(PString::Printf,
27 "Gatekeeper(%s) Version(%s) Ext(pthreads=%d,radius=%d,mysql=%d,pgsql=%d,firebird=%d,large_fdset=%d,crypto/ssl=%d)"
28 " Build(%s, %s) Sys(%s %s %s)\r\n",
29 (const unsigned char*)(PProcess::Current().GetManufacturer()),
30 (const unsigned char*)(PProcess::Current().GetVersion(true)),
67 (const unsigned char*)(PProcess::GetOSName()),
68 (const unsigned char*)(PProcess::GetOSHardware()),
69 (const unsigned char*)(PProcess::GetOSVersion())