MCPcopy Index your code
hub / github.com/MapServer/MapServer / msOWSGetVersionString

Function msOWSGetVersionString

mapows.c:548–556  ·  view source on GitHub ↗

msOWSGetVersionString() ** ** Returns a OWS version string in the format a.b.c from the integer ** version value passed as argument (0x0a0b0c) ** ** Fills in the pszBuffer and returns a reference to it. Recommended buffer ** size is OWS_VERSION_MAXLEN chars. */

Source from the content-addressed store, hash-verified

546** size is OWS_VERSION_MAXLEN chars.
547*/
548const char *msOWSGetVersionString(int nVersion, char *pszBuffer)
549{
550
551 if (pszBuffer)
552 snprintf(pszBuffer, OWS_VERSION_MAXLEN-1, "%d.%d.%d",
553 (nVersion/0x10000)%0x100, (nVersion/0x100)%0x100, nVersion%0x100);
554
555 return pszBuffer;
556}
557
558
559#if defined(USE_WMS_SVR) || defined (USE_WFS_SVR) || defined (USE_WCS_SVR) || defined(USE_SOS_SVR) || defined(USE_WMS_LYR) || defined(USE_WFS_LYR)

Callers 9

msWCSGetCapabilitiesFunction · 0.85
msWCSException20Function · 0.85
msWCSDispatch20Function · 0.85
msDumpLayerFunction · 0.85
msWMSGetCapabilitiesFunction · 0.85
msWMSDispatchFunction · 0.85
msLoadMapContextFunction · 0.85
msWFSGetCapabilitiesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected