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

Function RecGetRecordFloat

src/records/RecCore.cc:414–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414RecErrT
415RecGetRecordFloat(const char *name, RecFloat *rec_float, bool lock)
416{
417 RecErrT err;
418 RecData data;
419
420 if ((err = RecGetRecord_Xmalloc(name, RECD_FLOAT, &data, lock)) == REC_ERR_OKAY) {
421 *rec_float = data.rec_float;
422 }
423 return err;
424}
425
426RecErrT
427RecGetRecordString(const char *name, char *buf, int buf_len, bool lock)

Callers 5

RecLinkConfigFloatFunction · 0.85
REC_ConfigReadFloatFunction · 0.85
REC_readFloatFunction · 0.85
plugin_expandFunction · 0.85
TSMgmtFloatGetFunction · 0.85

Calls 1

RecGetRecord_XmallocFunction · 0.85

Tested by

no test coverage detected