MCPcopy Create free account
hub / github.com/apache/trafficserver / TSPluginInit

Function TSPluginInit

tests/tools/plugins/ssl_client_verify_test.cc:175–190  ·  view source on GitHub ↗

Called by ATS as our initialization point

Source from the content-addressed store, hash-verified

173
174// Called by ATS as our initialization point
175void
176TSPluginInit(int argc, const char *argv[])
177{
178 TSPluginRegistrationInfo info;
179 info.plugin_name = const_cast<char *>("SSL verify server test");
180 info.vendor_name = const_cast<char *>("apache");
181 info.support_email = const_cast<char *>("shinrich@apache.org");
182 if (TSPluginRegister(&info) != TS_SUCCESS) {
183 TSError("[%s] Plugin registration failed", PN);
184 }
185
186 int verify_count = 0;
187 parse_callbacks(argc, argv, verify_count);
188 setup_callbacks(verify_count);
189 return;
190}

Callers

nothing calls this directly

Calls 4

TSPluginRegisterFunction · 0.85
parse_callbacksFunction · 0.70
setup_callbacksFunction · 0.70
TSErrorFunction · 0.50

Tested by

no test coverage detected