Called by ATS as our initialization point
| 119 | |
| 120 | // Called by ATS as our initialization point |
| 121 | void |
| 122 | TSPluginInit(int argc, const char *argv[]) |
| 123 | { |
| 124 | TSPluginRegistrationInfo info; |
| 125 | info.plugin_name = const_cast<char *>("SSL verify server test"); |
| 126 | info.vendor_name = const_cast<char *>("apache"); |
| 127 | info.support_email = const_cast<char *>("shinrich@apache.org"); |
| 128 | if (TSPluginRegister(&info) != TS_SUCCESS) { |
| 129 | TSError("[%s] Plugin registration failed", PN); |
| 130 | } |
| 131 | |
| 132 | int verify_count = 0; |
| 133 | parse_callbacks(argc, argv, verify_count); |
| 134 | setup_callbacks(verify_count); |
| 135 | return; |
| 136 | } |
nothing calls this directly
no test coverage detected