logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Traffic Server Records - traffic Server maintains a set of records which cover both configuration values

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)

See Also