| 7745 | } |
| 7746 | |
| 7747 | TSReturnCode |
| 7748 | TSMgmtIntCreate(TSRecordType rec_type, const char *name, TSMgmtInt data_default, TSRecordUpdateType update_type, |
| 7749 | TSRecordCheckType check_type, const char *check_regex, TSRecordAccessType access_type) |
| 7750 | { |
| 7751 | if (check_regex == nullptr && check_type != TS_RECORDCHECK_NULL) { |
| 7752 | return TS_ERROR; |
| 7753 | } |
| 7754 | if (REC_ERR_OKAY != RecRegisterConfigInt(static_cast<enum RecT>(rec_type), name, static_cast<RecInt>(data_default), |
| 7755 | static_cast<enum RecUpdateT>(update_type), static_cast<enum RecCheckT>(check_type), |
| 7756 | check_regex, REC_SOURCE_PLUGIN, static_cast<enum RecAccessT>(access_type))) { |
| 7757 | return TS_ERROR; |
| 7758 | } |
| 7759 | |
| 7760 | return TS_SUCCESS; |
| 7761 | } |
| 7762 | |
| 7763 | TSReturnCode |
| 7764 | TSHttpTxnCloseAfterResponse(TSHttpTxn txnp, int should_close) |
no test coverage detected