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

Function RecGetRecordByte

src/records/RecCore.cc:481–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

479}
480
481RecErrT
482RecGetRecordByte(const char *name, RecByte *rec_byte, bool lock)
483{
484 RecErrT err;
485 RecData data;
486
487 if ((err = RecGetRecord_Xmalloc(name, RECD_INT, &data, lock)) == REC_ERR_OKAY) {
488 *rec_byte = data.rec_int;
489 }
490 return err;
491}
492
493RecErrT
494RecGetRecordBool(const char *name, RecBool *rec_bool, bool lock)

Callers 1

RecLinkConfigByteFunction · 0.85

Calls 1

RecGetRecord_XmallocFunction · 0.85

Tested by

no test coverage detected