TSMgmtDataTypeGet

Synopsis

#include <ts/ts.h>
TSReturnCode TSMgmtDataTypeGet(const char * var_name, TSRecordDataType * result)

Description

Get the type of a value for a configuration variable. var_name is the name of the variable as a null terminated string. The type value is stored in result. The function can return TS_ERROR if var_name is not found.

Types

Check TSRecordDataType for a detailed description.

Return Values

TS_SUCCESS if the var_name was found, TS_ERROR if not.