MCPcopy Create free account
hub / github.com/apache/trafficserver / TSMgmtFloatGet

Function TSMgmtFloatGet

src/api/InkAPI.cc:3284–3288  ·  view source on GitHub ↗

ToDo: These don't have the new metrics, only librecords.

Source from the content-addressed store, hash-verified

3282
3283// ToDo: These don't have the new metrics, only librecords.
3284TSReturnCode
3285TSMgmtFloatGet(const char *var_name, TSMgmtFloat *result)
3286{
3287 return RecGetRecordFloat(const_cast<char *>(var_name), static_cast<RecFloat *>(result)) == REC_ERR_OKAY ? TS_SUCCESS : TS_ERROR;
3288}
3289
3290TSReturnCode
3291TSMgmtStringGet(const char *var_name, TSMgmtString *result)

Callers 2

ts_lua_mgmt_get_floatFunction · 0.85

Calls 1

RecGetRecordFloatFunction · 0.85

Tested by 1