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.

ink_hrtime

TSAction

TSCacheKey

TSConfig

TSConfigDestroyFunc

TSCont

An opaque type that represents a Traffic Server continuation.

TSEventFunc

TSFile

TSHostLookupResult

TSHRTime

“High Resolution Time”

A 64 bit time value, measured in nanoseconds.

TSHttpParser

TSHttpSsn

An opaque type that represents a Traffic SeUuirver session.

TSHttpTxn

An opaque type that represents a Traffic Server HTTP transaction.

TSIOBuffer

TSIOBufferBlock

TSIOBufferReader

TSIOBufferSizeIndex

TSLifecycleHookID

An enumeration that identifies a life cycle hook.

TSMBuffer

TSMgmtCounter

TSMgmtFloat

The type used internally for a floating point value. This corresponds to the value TS_RECORDDATATYPE_FLOAT for TSRecordDataType.

TSMgmtInt

The type used internally for an integer. This corresponds to the value TS_RECORDDATATYPE_INT for TSRecordDataType.

TSMgmtString

TSMimeParser

TSMLoc

TSMLoc TS_NULL_MLOC

A predefined null valued TSMLoc used to indicate the absence of an TSMLoc.

TSMutex

TSPluginRegistrationInfo

The following struct is used by TSPluginRegister().

It stores registration information about the plugin.

TSRemapInterface

TSRemapRequestInfo

TSTextLogObject

This type represents a custom log file that you create with TSTextLogObjectCreate().

Your plugin writes entries into this log file using TSTextLogObjectWrite().

TSThread

TSThreadFunc

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.

TSVConn

A virtual connection. This is the basic mechanism for abstracting I/O operations in Traffic Server.

TSNetVConnection

A subtype of TSVConn that provides additional IP network information and operations.

TSVIO

ModuleVersion

A module version.

type ModuleVersion

A module version.

template<typename T>
class DLL

An anchor for a double linked instrusive list of instance of T.

TSAcceptor

TSNextProtocolSet