Not sure if I understand your question fully, My suggestion is to take a look at the example and experimental plugins that are in the source of 7.1.
Following is an example of plugin registration
| Â Â Â TSPluginRegistrationInfo info; |
| | TSMutex mutex = TS_NULL_MUTEX; |
| | |
| | info.plugin_name = PLUGIN_NAME; |
| | info.vendor_name = "Apache Software Foundation"; |
| | info.support_email = "***@trafficserver.apache.org"; |
| | |
| | if (TSPluginRegister(&info) != TS_SUCCESS) { |
| | TSError("[%s] Plugin registration failed", PLUGIN_NAME); |
| | |
| | goto Lerror; |
| | } |
apache/trafficserver
|
|
|
| | |
|
|
|
| |
apache/trafficserver
trafficserver - Mirror of Apache Traffic Server
|
|
|
Syeda Persia Aziz
Software DeveloperYahoo!Champaign, Illinois
On Tuesday, December 5, 2017, 11:56:36 PM CST, Vasanth Mathivanan <***@evolutiondigital.com> wrote:
<!--#yiv2002323235 _filtered #yiv2002323235 {font-family:"Cambria Math";panose-1:2 4 5 3 5 4 6 3 2 4;} _filtered #yiv2002323235 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}#yiv2002323235 #yiv2002323235 p.yiv2002323235MsoNormal, #yiv2002323235 li.yiv2002323235MsoNormal, #yiv2002323235 div.yiv2002323235MsoNormal {margin:0in;margin-bottom:.0001pt;font-size:11.0pt;font-family:"Calibri", sans-serif;}#yiv2002323235 a:link, #yiv2002323235 span.yiv2002323235MsoHyperlink {color:blue;text-decoration:underline;}#yiv2002323235 a:visited, #yiv2002323235 span.yiv2002323235MsoHyperlinkFollowed {color:#954F72;text-decoration:underline;}#yiv2002323235 .yiv2002323235MsoChpDefault {} _filtered #yiv2002323235 {margin:1.0in 1.0in 1.0in 1.0in;}#yiv2002323235 div.yiv2002323235WordSection1 {}-->
Hi,
Â
I am using ATS 7.x we have some plugins for some additional purpose now I am adding the write config in Plugin.config and Loaded the parameter ? how its work and given Some example then I saw in documentation TSplugininit call the API to Register a Which Plugin We Want ?
Â
Ex:remap
Â
Thanks & Regards
Â
Vasanth M
Â
Sent from Mail for Windows 10
Â