TSAPI Types¶
Synopsis¶
#include <ts/ts.h> #include <ts/remap.h>
Description¶
The Apache Traffic Server API provides large number of types. Many of them are specific to a particular API function or function group, but others are used more widely. Those are described on this page.
-
type
ink_hrtime
¶
-
type
INK_MD5
¶ Buffer type sufficient to contain an MD5 hash value.
-
class
RecRawStatBlock
¶ A data block intended to contain Traffic Server statistics.
-
type
TSAction
¶
-
type
TSCacheKey
¶
-
type
TSConfig
¶
-
type
TSConfigDestroyFunc
¶
-
type
TSCont
¶ An opaque type that represents a Traffic Server continuation.
-
type
TSEventFunc
¶
-
type
TSFile
¶
-
type
TSHostLookupResult
¶ A type representing the result of a call to
TSHostLookup()
. Use withTSHostLookupResultAddrGet()
.
-
type
TSHRTime
¶ “High Resolution Time”
A 64 bit time value, measured in nanoseconds.
-
type
TSHttpParser
¶
-
type
TSHttpTxn
¶ An opaque type that represents a Traffic Server HTTP transaction.
-
type
TSIOBuffer
¶
-
type
TSIOBufferBlock
¶
-
type
TSIOBufferReader
¶
-
type
TSIOBufferSizeIndex
¶
-
type
TSLifecycleHookID
¶ An enumeration that identifies a life cycle hook.
-
type
TSMBuffer
¶
-
type
TSMgmtCounter
¶
-
type
TSMgmtFloat
¶ The type used internally for a floating point value. This corresponds to the value
TS_RECORDDATATYPE_FLOAT
forTSRecordDataType
.
-
type
TSMgmtInt
¶ The type used internally for an integer. This corresponds to the value
TS_RECORDDATATYPE_INT
forTSRecordDataType
.
-
type
TSMgmtString
¶
-
type
TSMimeParser
¶
-
type
TSMLoc
¶
-
type
TSMutex
¶
-
type
TSPluginRegistrationInfo
¶ The following struct is used by
TSPluginRegister()
.It stores registration information about the plugin.
-
type
TSRemapInterface
¶
-
type
TSRemapRequestInfo
¶
-
type
TSSslX509
¶ This type represents the
X509
object created from an SSL certificate.
-
type
TSTextLogObject
¶ This type represents a custom log file that you create with
TSTextLogObjectCreate()
.Your plugin writes entries into this log file using
TSTextLogObjectWrite()
.
-
type
TSThread
¶
-
type
TSThreadFunc
¶
-
type
TSUuidVersion
¶ A version value for at
TSUuid
.-
TS_UUID_V4
A version 4 UUID. Currently only this value is used.
-
-
size_t
TS_UUID_STRING_LEN
¶ Length of a UUID string.
-
type
TSVConn
¶ A virtual connection. This is the basic mechanism for abstracting I/O operations in Traffic Server.
-
type
TSNetVConnection
¶ A subtype of
TSVConn
that provides additional IP network information and operations.
-
type
TSVIO
¶
-
type
ModuleVersion
¶ A module version.
-
type
ModuleVersion
¶ A module version.
-
template<typename
T
>
classDLL
¶ An anchor for a double linked instrusive list of instance of T.
-
template<typename
T
>
classQueue
¶
-
type
TSAcceptor
¶
-
type
TSNextProtocolSet
¶
-
template<typename
T
>
classLINK
¶
-
class
VersionNumber
¶ A two part version number, defined in include/tscore/I_Version.h.
-
short int
ink_major
¶ Major version number.
-
short int
ink_minor
¶ Minor version number.
-
short int