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

Function RecGetRecordInt

src/records/RecCore.cc:402–412  ·  view source on GitHub ↗

------------------------------------------------------------------------- RecGetRecordXXX -------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

400// RecGetRecordXXX
401//-------------------------------------------------------------------------
402RecErrT
403RecGetRecordInt(const char *name, RecInt *rec_int, bool lock)
404{
405 RecErrT err;
406 RecData data;
407
408 if ((err = RecGetRecord_Xmalloc(name, RECD_INT, &data, lock)) == REC_ERR_OKAY) {
409 *rec_int = data.rec_int;
410 }
411 return err;
412}
413
414RecErrT
415RecGetRecordFloat(const char *name, RecFloat *rec_float, bool lock)

Callers 10

RecLinkConfigIntFunction · 0.85
REC_ConfigReadIntegerFunction · 0.85
REC_readIntegerFunction · 0.85
InitMethod · 0.85
plugin_expandFunction · 0.85
reconfigureMethod · 0.85
TSMgmtIntGetFunction · 0.85
periodicMethod · 0.85
init_core_sizeFunction · 0.85
change_uid_gidFunction · 0.85

Calls 1

RecGetRecord_XmallocFunction · 0.85

Tested by

no test coverage detected