| 75 | } |
| 76 | |
| 77 | void |
| 78 | TSPluginInit(int /* argc ATS_UNUSED */, const char ** /* argv ATS_UNUSED */) |
| 79 | { |
| 80 | TSPluginRegistrationInfo info; |
| 81 | |
| 82 | info.plugin_name = PLUGIN_NAME; |
| 83 | info.vendor_name = "Apache Software Foundation"; |
| 84 | info.support_email = "dev@trafficserver.apache.org"; |
| 85 | |
| 86 | if (TSPluginRegister(&info) != TS_SUCCESS) { |
| 87 | TSError("[%s] Plugin registration failed", PLUGIN_NAME); |
| 88 | } |
| 89 | Dbg(dbg_ctl, "Initialized."); |
| 90 | TSLifecycleHookAdd(TS_LIFECYCLE_MSG_HOOK, TSContCreate(CB_cert_update, nullptr)); |
| 91 | } |
nothing calls this directly
no test coverage detected