Traffic Server Records - traffic Server maintains a set of records which cover both configuration values
Contents
Copyright
2025, dev@trafficserver.apache.org
9.2 May 22, 2025 TRAFFICSERVERRECORDS(3ts)
Description
TSMgmtStringCreate() registers name as a configuration name and sets its various properties. If
check_type is TS_RECORDCHECK_STR then check_reg must be point to a valid regular expression to use to
check the string value.
If a plugin uses a value from records.config that is not built in to Traffic Server it must use this
function or the value will be inaccessible and a warning for that name will be generated.
Name
Traffic Server Records - traffic Server maintains a set of records which cover both configuration values
and statistics
Return Values
TSMgmtStringCreate() and TSMgmtIntCreate() return TS_SUCCESS if the management value was created and
TS_ERROR if not.
See Also
TSAPI(3ts)Synopsis
#include <ts/ts.h>
TSReturnCodeTSMgmtStringCreate(TSRecordTyperec_type,constchar*name,constTSMgmtStringdata_default,TSRecordUpdateTypeupdate_type,TSRecordCheckTypecheck_type,constchar*check_regex,TSRecordAccessTypeaccess_type)TSReturnCodeTSMgmtIntCreate(TSRecordTyperec_type,constchar*name,constTSMgmtIntdata_default,TSRecordUpdateTypeupdate_type,TSRecordCheckTypecheck_type,constchar*check_regex,TSRecordAccessTypeaccess_type)