Home

Traffic Server Software Developers Kit

INKMgmtFloatGet

Gets a records.config variable of type float.

Prototype

int INKMgmtFloatGet (const char *var_name, INKMgmtFloat *result)

Arguments

var_name is the name of the variable you want from records.config.

result is a pointer to the value of the variable, which is of type INKMgmtFloat.

Description

INKMgmtFloatGet obtains the value of the specified records.config variable of type float, and then stores the value in result.

Returns

If INKMgmtFloatGet cannot get the variable, then it returns zero.

If successful, then a nonzero value is returned.