| 208 | }; |
| 209 | |
| 210 | static TSCont |
| 211 | InterceptContCreate(TSEventFunc hook, TSMutex mutexp, void *data) |
| 212 | { |
| 213 | TSCont contp = TSContCreate(hook, mutexp); |
| 214 | TSReleaseAssert(contp); |
| 215 | |
| 216 | TSContDataSet(contp, data); |
| 217 | return contp; |
| 218 | } |
| 219 | |
| 220 | static bool |
| 221 | InterceptShouldInterceptRequest(TSHttpTxn txn) |
no test coverage detected