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

Function REC_readInteger

src/records/RecCore.cc:945–956  ·  view source on GitHub ↗

------------------------------------------------------------------------- Backwards compatibility. TODO: Should remove these. -------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

943// Backwards compatibility. TODO: Should remove these.
944//-------------------------------------------------------------------------
945RecInt
946REC_readInteger(const char *name, bool *found, bool lock)
947{
948 ink_assert(name);
949 RecInt _tmp = 0;
950 bool _found = (RecGetRecordInt(name, &_tmp, lock) == REC_ERR_OKAY);
951
952 if (found) {
953 *found = _found;
954 }
955 return _tmp;
956}
957
958RecFloat
959REC_readFloat(char *name, bool *found, bool lock)

Callers 3

rereadConfigMethod · 0.85
marshal_recordMethod · 0.85
reconfigure_diagsMethod · 0.85

Calls 1

RecGetRecordIntFunction · 0.85

Tested by

no test coverage detected