| 139 | } |
| 140 | |
| 141 | bool |
| 142 | Transaction::configStringGet(TSOverridableConfigKey conf, std::string &value) |
| 143 | { |
| 144 | const char *svalue; |
| 145 | int length; |
| 146 | bool zret = TS_SUCCESS == TSHttpTxnConfigStringGet(state_->txn_, conf, &svalue, &length); |
| 147 | if (zret) { |
| 148 | value.assign(svalue, length); |
| 149 | } else { |
| 150 | value.clear(); |
| 151 | } |
| 152 | return zret; |
| 153 | } |
| 154 | |
| 155 | bool |
| 156 | Transaction::configFind(std::string const &name, TSOverridableConfigKey *conf, TSRecordDataType *type) |
nothing calls this directly
no test coverage detected