Add API calls to directly get the elements of the running version.
------------------------------------------------------------------
Key: TS-568
URL: https://issues.apache.org/jira/browse/TS-568
Project: Traffic Server
Issue Type: Improvement
Components: Plugins
Reporter: Alan M. Carroll
Assignee: Alan M. Carroll
Priority: Minor
Fix For: 2.1.6
Currently if a plugin wants do tests against the running version, it must get a
string and then parse that string. To make that easier, three API calls are
added:
TSTrafficServerVersionMajor(), TSTrafficServerVersionMinor(),
TSTrafficServerVersionPatch()
These all return an int which is (respectively) the first, second, and third
elements of the version.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.