| 6107 | } |
| 6108 | |
| 6109 | TSReturnCode |
| 6110 | TSNetAcceptNamedProtocol(TSCont contp, const char *protocol) |
| 6111 | { |
| 6112 | sdk_assert(protocol != nullptr); |
| 6113 | sdk_assert(contp != nullptr); |
| 6114 | sdk_assert(sdk_sanity_check_continuation(contp) == TS_SUCCESS); |
| 6115 | |
| 6116 | if (!ssl_register_protocol(protocol, reinterpret_cast<INKContInternal *>(contp))) { |
| 6117 | return TS_ERROR; |
| 6118 | } |
| 6119 | |
| 6120 | return TS_SUCCESS; |
| 6121 | } |
| 6122 | |
| 6123 | /* DNS Lookups */ |
| 6124 | /// Context structure for the lookup callback to the plugin. |
nothing calls this directly
no test coverage detected