This header file defines common types that can be shared between internal code and TS APIs. More...
#include <stdint.h>
#include <sys/types.h>
#include <sys/socket.h>
Go to the source code of this file.
This header file defines common types that can be shared between internal code and TS APIs.
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Developers, when adding a new element to an enum, append it. DO NOT insert it. Otherwise, binary compatibility of plugins will be broken!
Definition in file apidefs.h.
#define TS_EVENT_HTTP_READ_REQUEST_PRE_REMAP TS_EVENT_HTTP_PRE_REMAP |
#define TS_HTTP_MAJOR | ( | v | ) | (((v) >> 16) & 0xFFFF) |
Definition at line 85 of file apidefs.h.
Referenced by SDK_API_TSHttpHdr(), and SpdyNV::SpdyNV().
#define TS_HTTP_MINOR | ( | v | ) | ((v) & 0xFFFF) |
Definition at line 84 of file apidefs.h.
Referenced by SDK_API_TSHttpHdr(), and SpdyNV::SpdyNV().
#define TS_HTTP_READ_REQUEST_PRE_REMAP_HOOK TS_HTTP_PRE_REMAP_HOOK |
Definition at line 83 of file apidefs.h.
Referenced by SDK_API_TSHttpHdr().
void void void void void void void TS_NORETURN |
#define TS_RES_PATH | ( | x | ) | x __FILE__ ":" _TS_RES_PATH (__LINE__) |
typedef struct tsapi_aiocallback* TSAIOCallback |
typedef struct tsapi_cachehttpinfo* TSCacheHttpInfo |
typedef struct tsapi_cachekey* TSCacheKey |
typedef struct tsapi_cachetxn* TSCacheTxn |
typedef void(* TSConfigDestroyFunc)(void *data) |
typedef int(* TSEventFunc)(TSCont contp, TSEvent event, void *edata) |
typedef struct TSFetchUrlParams TSFetchUrlParams_t |
typedef struct tsapi_hostlookupresult* TSHostLookupResult |
typedef struct tsapi_httpaltinfo* TSHttpAltInfo |
typedef struct tsapi_httpparser* TSHttpParser |
typedef struct tsapi_iobuffer* TSIOBuffer |
typedef struct tsapi_bufferblock* TSIOBufferBlock |
typedef struct tsapi_iobufferdata* TSIOBufferData |
typedef struct tsapi_bufferreader* TSIOBufferReader |
typedef int64_t TSMgmtCounter |
typedef float TSMgmtFloat |
typedef char* TSMgmtString |
typedef struct tsapi_mimeparser* TSMimeParser |
typedef struct tsapi_port* TSPortDescriptor |
typedef void*(* TSThreadFunc)(void *data) |
enum TSCacheDataType |
enum TSCacheError |
enum TSCacheLookupResult |
enum TSCacheScanResult |
enum TSEvent |
TSEvents are sent to continuations when they are called back.
The TSEvent provides the continuation's handler function with information about the callback. Based on the event it receives, the handler function can decide what to do.
enum TSFetchWakeUpOptions |
enum TSHttpHookID |
This set of enums represents the possible hooks where you can set up continuation callbacks.
The functions used to register a continuation for a particular hook are:
TSHttpHookAdd: adds a global hook. You can globally add any hook except for
The following hooks can ONLY be added globally:
TSHttpSsnHookAdd: adds a transaction hook to each transaction within a session. You can only use transaction hooks with this call:
TSHttpTxnHookAdd: adds a callback at a specific point within an HTTP transaction. The following hooks can be used with this function:
The two transform hooks can ONLY be added as transaction hooks.
TS_HTTP_LAST_HOOK _must_ be the last element. Only right place to insert a new element is just before TS_HTTP_LAST_HOOK.
enum TSHttpStatus |
This set of enums represents possible return values from TSHttpHdrStatusGet(), which retrieves the status code from an HTTP response header (TSHttpHdrStatusGet() retrieves status codes only from headers of type TS_HTTP_TYPE_RESPONSE).
You can also set the TSHttpStatus of a response header using TSHttpHdrStatusSet().
enum TSHttpType |
This set of enums represents the possible HTTP types that can be assigned to an HTTP header.
When a header is created with TSHttpHdrCreate(), it is automatically assigned a type of TS_HTTP_TYPE_UNKNOWN. You can modify the HTTP type ONCE after it the header is created, using TSHttpHdrTypeSet(). After setting the HTTP type once, you cannot set it again. Use TSHttpHdrTypeGet() to obtain the TSHttpType of an HTTP header.
enum TSIOBufferSizeIndex |
enum TSLifecycleHookID |
Plugin lifecycle hooks.
These are called during lifecycle events of a plugin. They should be set in the plugin initialization function. The continuation is invoked with an event ID specified for each hook and NULL
for the event data.
TS_LIFECYCLE_PORTS_INITIALIZED_HOOK
called once, after the HTTP proxy port data structures have been initialized. In particular, SSL related calls that depend on accept endpoints may be invoked. After this hook is finished, the proxy port sockets are opened and connections are accepted.
Event: TS_EVENT_LIFECYCLE_PORTS_INITIALIZED
TS_LIFECYCLE_PORTS_READY_HOOK
called once, after the sockets have been opened and the accept threads have been started. That is, the ports are ready to accept connections. This is *not* guaranteed to be called before the first connection is accepted.
Event: TS_EVENT_LIFECYCLE_PORTS_READY_HOOK
TS_LIFECYCLE_CACHE_READY_HOOK
called once, after the cache has finished its initialization. It is either online or has failed when this hook is called.
Event: TS_EVENT_LIFECYCLE_CACHE_READY
TS_LIFECYCLE_SERVER_SSL_CTX_INITIALIZED_HOOK
called every time after a server SSL_CTX has finished the initialization. It exposes the initialized SSL_CTX pointer.
Event: TS_EVENT_LIFECYCLE_SERVER_SSL_CTX_INITIALIZED
TS_LIFECYCLE_CLIENT_SSL_CTX_INITIALIZED_HOOK
called once, after the client SSL_CTX has finished the initialization. It exposes the initialized SSL_CTX pointer.
Event: TS_EVENT_LIFECYCLE_CLIENT_SSL_CTX_INITIALIZED
Ordering guarantees:
NOTE! ONLY the orderings EXPLICITLY mentioned above are guaranteed.
enum TSLookingUpType |
enum TSMilestonesType |
enum TSParseResult |
This set of enums are possible values returned by TSHttpHdrParseReq() and TSHttpHdrParseResp().
enum TSRecordAccessType |
enum TSRecordCheckType |
enum TSRecordDataType |
enum TSRecordModeType |
enum TSRecordPersistType |
enum TSRecordType |
enum TSRecordUpdateType |
enum TSReturnCode |
enum TSSDKVersion |
Server session sharing values - match Must be identical to definition in HttpProxyAPIEnums.h.
Server session sharing values - pool Must be identical to definition in HttpProxyAPIEnums.h.
enum TSServerState |
enum TSThreadPool |
enum TSVConnCloseFlags |
tsapi void TSPluginInit | ( | int | argc, | |
const char * | argv[] | |||
) |
This function must be defined by all plugins.
Traffic Server calls this initialization routine when it loads the plugin (at startup), and sets argc and argv appropriately based on the values in plugin.config.
argc | the number of initial values specified in plugin.config, plus one. If only the name of your plugin shared object is specified in plugin.config, argc=1. | |
argv | the vector of arguments. The length of argv is argc. argv[0] is the name of the plugin shared library. Subsequent values of argv are initialization values specified in plugin.config. |
tsapi int TS_HTTP_LEN_BYTES |
Definition at line 314 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_CHUNKED |
Definition at line 315 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_CLOSE |
Definition at line 316 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_COMPRESS |
Definition at line 317 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_CONNECT |
Definition at line 350 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_DEFLATE |
Definition at line 318 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_DELETE |
Definition at line 351 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_GET |
Definition at line 352 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_GZIP |
Definition at line 319 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_HEAD |
Definition at line 353 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_ICP_QUERY |
Definition at line 354 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_IDENTITY |
Definition at line 320 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_KEEP_ALIVE |
Definition at line 321 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_MAX_AGE |
Definition at line 322 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_MAX_STALE |
Definition at line 323 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_MIN_FRESH |
Definition at line 324 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_MUST_REVALIDATE |
Definition at line 325 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_NO_CACHE |
Definition at line 327 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_NO_STORE |
Definition at line 328 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_NO_TRANSFORM |
Definition at line 329 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_NONE |
Definition at line 326 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_ONLY_IF_CACHED |
Definition at line 330 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_OPTIONS |
Definition at line 355 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_POST |
Definition at line 356 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_PRIVATE |
Definition at line 331 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_PROXY_REVALIDATE |
Definition at line 332 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_PUBLIC |
Definition at line 333 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_PURGE |
Definition at line 357 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_PUSH |
Definition at line 360 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_PUT |
Definition at line 358 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_HTTP_LEN_TRACE |
Definition at line 359 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_METHOD_CONNECT |
Definition at line 337 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_METHOD_DELETE |
Definition at line 338 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_METHOD_GET |
Definition at line 339 of file InkAPI.cc.
Referenced by api_init(), and SDK_API_TSHttpHdr().
tsapi const char* TS_HTTP_METHOD_HEAD |
Definition at line 340 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_METHOD_ICP_QUERY |
Definition at line 341 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_METHOD_OPTIONS |
Definition at line 342 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_METHOD_POST |
Definition at line 343 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_METHOD_PURGE |
Definition at line 344 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_METHOD_PUSH |
Definition at line 347 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_METHOD_PUT |
Definition at line 345 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_METHOD_TRACE |
Definition at line 346 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_VALUE_BYTES |
Definition at line 291 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_VALUE_CHUNKED |
Definition at line 292 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_VALUE_CLOSE |
Definition at line 293 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_VALUE_COMPRESS |
Definition at line 294 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_VALUE_DEFLATE |
Definition at line 295 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_VALUE_GZIP |
Definition at line 296 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_VALUE_IDENTITY |
Definition at line 297 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_VALUE_KEEP_ALIVE |
Definition at line 298 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_VALUE_MAX_AGE |
Definition at line 299 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_VALUE_MAX_STALE |
Definition at line 300 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_VALUE_MIN_FRESH |
Definition at line 301 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_VALUE_MUST_REVALIDATE |
Definition at line 302 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_VALUE_NO_CACHE |
Definition at line 304 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_VALUE_NO_STORE |
Definition at line 305 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_VALUE_NO_TRANSFORM |
Definition at line 306 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_VALUE_NONE |
Definition at line 303 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_VALUE_ONLY_IF_CACHED |
Definition at line 307 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_VALUE_PRIVATE |
Definition at line 308 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_VALUE_PROXY_REVALIDATE |
Definition at line 309 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_HTTP_VALUE_PUBLIC |
Definition at line 310 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_ACCEPT |
Definition at line 142 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_ACCEPT_CHARSET |
Definition at line 143 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_ACCEPT_ENCODING |
Definition at line 144 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_ACCEPT_LANGUAGE |
Definition at line 145 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_ACCEPT_RANGES |
Definition at line 146 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_AGE |
Definition at line 147 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_ALLOW |
Definition at line 148 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_APPROVED |
Definition at line 149 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_AUTHORIZATION |
Definition at line 150 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_BYTES |
Definition at line 151 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_CACHE_CONTROL |
Definition at line 152 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_CLIENT_IP |
Definition at line 153 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_CONNECTION |
Definition at line 154 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_CONTENT_BASE |
Definition at line 155 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_CONTENT_ENCODING |
Definition at line 156 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_CONTENT_LANGUAGE |
Definition at line 157 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_CONTENT_LENGTH |
Definition at line 158 of file InkAPI.cc.
Referenced by api_init(), and FetchSM::ext_add_header().
tsapi const char* TS_MIME_FIELD_CONTENT_LOCATION |
Definition at line 159 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_CONTENT_MD5 |
Definition at line 160 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_CONTENT_RANGE |
Definition at line 161 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_CONTENT_TYPE |
Definition at line 162 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_CONTROL |
Definition at line 163 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_COOKIE |
Definition at line 164 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_DATE |
Definition at line 165 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_DISTRIBUTION |
Definition at line 166 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_ETAG |
Definition at line 167 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_EXPECT |
Definition at line 168 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_EXPIRES |
Definition at line 169 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_FOLLOWUP_TO |
Definition at line 170 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_FROM |
Definition at line 171 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_HOST |
Definition at line 172 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_IF_MATCH |
Definition at line 173 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_IF_MODIFIED_SINCE |
Definition at line 174 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_IF_NONE_MATCH |
Definition at line 175 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_IF_RANGE |
Definition at line 176 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_IF_UNMODIFIED_SINCE |
Definition at line 177 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_KEEP_ALIVE |
Definition at line 178 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_KEYWORDS |
Definition at line 179 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_LAST_MODIFIED |
Definition at line 180 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_LINES |
Definition at line 181 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_LOCATION |
Definition at line 182 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_MAX_FORWARDS |
Definition at line 183 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_MESSAGE_ID |
Definition at line 184 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_NEWSGROUPS |
Definition at line 185 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_ORGANIZATION |
Definition at line 186 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_PATH |
Definition at line 187 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_PRAGMA |
Definition at line 188 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_PROXY_AUTHENTICATE |
Definition at line 189 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_PROXY_AUTHORIZATION |
Definition at line 190 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_PROXY_CONNECTION |
Definition at line 191 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_PUBLIC |
Definition at line 192 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_RANGE |
Definition at line 193 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_REFERENCES |
Definition at line 194 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_REFERER |
Definition at line 195 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_REPLY_TO |
Definition at line 196 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_RETRY_AFTER |
Definition at line 197 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_SENDER |
Definition at line 198 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_SERVER |
Definition at line 199 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_SET_COOKIE |
Definition at line 200 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_STRICT_TRANSPORT_SECURITY |
Definition at line 201 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_SUBJECT |
Definition at line 202 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_SUMMARY |
Definition at line 203 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_TE |
Definition at line 204 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_TRANSFER_ENCODING |
Definition at line 205 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_UPGRADE |
Definition at line 206 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_USER_AGENT |
Definition at line 207 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_VARY |
Definition at line 208 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_VIA |
Definition at line 209 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_WARNING |
Definition at line 210 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_WWW_AUTHENTICATE |
Definition at line 211 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_X_FORWARDED_FOR |
Definition at line 213 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_MIME_FIELD_XREF |
Definition at line 212 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_ACCEPT |
Definition at line 216 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_ACCEPT_CHARSET |
Definition at line 217 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_ACCEPT_ENCODING |
Definition at line 218 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_ACCEPT_LANGUAGE |
Definition at line 219 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_ACCEPT_RANGES |
Definition at line 220 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_AGE |
Definition at line 221 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_ALLOW |
Definition at line 222 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_APPROVED |
Definition at line 223 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_AUTHORIZATION |
Definition at line 224 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_BYTES |
Definition at line 225 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_CACHE_CONTROL |
Definition at line 226 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_CLIENT_IP |
Definition at line 227 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_CONNECTION |
Definition at line 228 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_CONTENT_BASE |
Definition at line 229 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_CONTENT_ENCODING |
Definition at line 230 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_CONTENT_LANGUAGE |
Definition at line 231 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_CONTENT_LENGTH |
Definition at line 232 of file InkAPI.cc.
Referenced by api_init(), and FetchSM::ext_add_header().
tsapi int TS_MIME_LEN_CONTENT_LOCATION |
Definition at line 233 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_CONTENT_MD5 |
Definition at line 234 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_CONTENT_RANGE |
Definition at line 235 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_CONTENT_TYPE |
Definition at line 236 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_CONTROL |
Definition at line 237 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_COOKIE |
Definition at line 238 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_DATE |
Definition at line 239 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_DISTRIBUTION |
Definition at line 240 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_ETAG |
Definition at line 241 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_EXPECT |
Definition at line 242 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_EXPIRES |
Definition at line 243 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_FOLLOWUP_TO |
Definition at line 244 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_FROM |
Definition at line 245 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_HOST |
Definition at line 246 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_IF_MATCH |
Definition at line 247 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_IF_MODIFIED_SINCE |
Definition at line 248 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_IF_NONE_MATCH |
Definition at line 249 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_IF_RANGE |
Definition at line 250 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_IF_UNMODIFIED_SINCE |
Definition at line 251 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_KEEP_ALIVE |
Definition at line 252 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_KEYWORDS |
Definition at line 253 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_LAST_MODIFIED |
Definition at line 254 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_LINES |
Definition at line 255 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_LOCATION |
Definition at line 256 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_MAX_FORWARDS |
Definition at line 257 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_MESSAGE_ID |
Definition at line 258 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_NEWSGROUPS |
Definition at line 259 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_ORGANIZATION |
Definition at line 260 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_PATH |
Definition at line 261 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_PRAGMA |
Definition at line 262 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_PROXY_AUTHENTICATE |
Definition at line 263 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_PROXY_AUTHORIZATION |
Definition at line 264 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_PROXY_CONNECTION |
Definition at line 265 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_PUBLIC |
Definition at line 266 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_RANGE |
Definition at line 267 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_REFERENCES |
Definition at line 268 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_REFERER |
Definition at line 269 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_REPLY_TO |
Definition at line 270 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_RETRY_AFTER |
Definition at line 271 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_SENDER |
Definition at line 272 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_SERVER |
Definition at line 273 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_SET_COOKIE |
Definition at line 274 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_STRICT_TRANSPORT_SECURITY |
Definition at line 275 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_SUBJECT |
Definition at line 276 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_SUMMARY |
Definition at line 277 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_TE |
Definition at line 278 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_TRANSFER_ENCODING |
Definition at line 279 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_UPGRADE |
Definition at line 280 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_USER_AGENT |
Definition at line 281 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_VARY |
Definition at line 282 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_VIA |
Definition at line 283 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_WARNING |
Definition at line 284 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_WWW_AUTHENTICATE |
Definition at line 285 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_X_FORWARDED_FOR |
Definition at line 287 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_MIME_LEN_XREF |
Definition at line 286 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* const TS_NPN_PROTOCOL_GROUP_HTTP |
Definition at line 45 of file RecHttp.cc.
Referenced by SessionProtocolNameRegistry::markIn(), and HttpProxyPort::print().
tsapi const char* const TS_NPN_PROTOCOL_GROUP_HTTP2 |
Definition at line 46 of file RecHttp.cc.
Referenced by SessionProtocolNameRegistry::markIn(), and HttpProxyPort::print().
tsapi const char* const TS_NPN_PROTOCOL_GROUP_SPDY |
Definition at line 47 of file RecHttp.cc.
Referenced by SessionProtocolNameRegistry::markIn(), and HttpProxyPort::print().
tsapi const char* const TS_NPN_PROTOCOL_HTTP_0_9 |
Definition at line 36 of file RecHttp.cc.
Referenced by ts_session_protocol_well_known_name_indices_init().
tsapi const char* const TS_NPN_PROTOCOL_HTTP_1_0 |
Definition at line 37 of file RecHttp.cc.
Referenced by MakeHttpProxyAcceptor(), and ts_session_protocol_well_known_name_indices_init().
tsapi const char* const TS_NPN_PROTOCOL_HTTP_1_1 |
Definition at line 38 of file RecHttp.cc.
Referenced by MakeHttpProxyAcceptor(), and ts_session_protocol_well_known_name_indices_init().
tsapi const char* const TS_NPN_PROTOCOL_HTTP_2_0 |
Definition at line 39 of file RecHttp.cc.
Referenced by MakeHttpProxyAcceptor(), and ts_session_protocol_well_known_name_indices_init().
tsapi int TS_NPN_PROTOCOL_INDEX_HTTP_0_9 |
Definition at line 50 of file RecHttp.cc.
Referenced by ts_session_protocol_well_known_name_indices_init().
tsapi int TS_NPN_PROTOCOL_INDEX_HTTP_1_0 |
Definition at line 51 of file RecHttp.cc.
Referenced by MakeHttpProxyAcceptor(), and ts_session_protocol_well_known_name_indices_init().
tsapi int TS_NPN_PROTOCOL_INDEX_HTTP_1_1 |
Definition at line 52 of file RecHttp.cc.
Referenced by MakeHttpProxyAcceptor(), and ts_session_protocol_well_known_name_indices_init().
tsapi int TS_NPN_PROTOCOL_INDEX_HTTP_2_0 |
Definition at line 53 of file RecHttp.cc.
Referenced by MakeHttpProxyAcceptor(), and ts_session_protocol_well_known_name_indices_init().
tsapi int TS_NPN_PROTOCOL_INDEX_SPDY_1 |
Definition at line 54 of file RecHttp.cc.
Referenced by ts_session_protocol_well_known_name_indices_init().
tsapi int TS_NPN_PROTOCOL_INDEX_SPDY_2 |
Definition at line 55 of file RecHttp.cc.
Referenced by ts_session_protocol_well_known_name_indices_init().
tsapi int TS_NPN_PROTOCOL_INDEX_SPDY_3 |
Definition at line 56 of file RecHttp.cc.
Referenced by MakeHttpProxyAcceptor(), and ts_session_protocol_well_known_name_indices_init().
tsapi int TS_NPN_PROTOCOL_INDEX_SPDY_3_1 |
Definition at line 57 of file RecHttp.cc.
Referenced by MakeHttpProxyAcceptor(), and ts_session_protocol_well_known_name_indices_init().
tsapi const char* const TS_NPN_PROTOCOL_SPDY_1 |
Definition at line 40 of file RecHttp.cc.
Referenced by ts_session_protocol_well_known_name_indices_init().
tsapi const char* const TS_NPN_PROTOCOL_SPDY_2 |
Definition at line 41 of file RecHttp.cc.
Referenced by ts_session_protocol_well_known_name_indices_init().
tsapi const char* const TS_NPN_PROTOCOL_SPDY_3 |
Definition at line 42 of file RecHttp.cc.
Referenced by MakeHttpProxyAcceptor(), and ts_session_protocol_well_known_name_indices_init().
tsapi const char* const TS_NPN_PROTOCOL_SPDY_3_1 |
Definition at line 43 of file RecHttp.cc.
Referenced by MakeHttpProxyAcceptor(), and ts_session_protocol_well_known_name_indices_init().
tsapi const TSMLoc TS_NULL_MLOC |
Use TS_NULL_MLOC as the parent in calls that require a parent when an TSMLoc does not have a parent TSMLoc.
For example if the TSMLoc is obtained by a call to TSHttpTxnClientReqGet(),
Definition at line 363 of file InkAPI.cc.
Referenced by cache_hook_handler(), get_request_id(), SDK_API_TSHttpHdr(), SDK_API_TSHttpHdrParse(), SDK_API_TSMimeHdrField(), SDK_API_TSMimeHdrParse(), SDK_API_TSUrl(), SDK_API_TSUrlParse(), sdk_sanity_check_field_handle(), sdk_sanity_check_http_hdr_handle(), sdk_sanity_check_mime_hdr_handle(), sdk_sanity_check_url_handle(), transform_hook_handler(), TSHandleMLocRelease(), TSMimeHdrFieldFind(), TSMimeHdrFieldGet(), TSMimeHdrFieldNext(), and TSMimeHdrFieldNextDup().
tsapi int TS_URL_LEN_FILE |
Definition at line 122 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_URL_LEN_FTP |
Definition at line 123 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_URL_LEN_GOPHER |
Definition at line 124 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_URL_LEN_HTTP |
Definition at line 125 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_URL_LEN_HTTPS |
Definition at line 126 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_URL_LEN_MAILTO |
Definition at line 127 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_URL_LEN_NEWS |
Definition at line 128 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_URL_LEN_NNTP |
Definition at line 129 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_URL_LEN_PROSPERO |
Definition at line 130 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_URL_LEN_TELNET |
Definition at line 131 of file InkAPI.cc.
Referenced by api_init().
tsapi int TS_URL_LEN_WAIS |
Definition at line 133 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_URL_SCHEME_FILE |
Definition at line 102 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_URL_SCHEME_FTP |
Definition at line 103 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_URL_SCHEME_GOPHER |
Definition at line 104 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_URL_SCHEME_HTTP |
Definition at line 105 of file InkAPI.cc.
Referenced by api_init(), SDK_API_TSHttpHdr(), and SDK_API_TSUrl().
tsapi const char* TS_URL_SCHEME_HTTPS |
Definition at line 106 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_URL_SCHEME_MAILTO |
Definition at line 107 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_URL_SCHEME_MMS |
tsapi const char* TS_URL_SCHEME_MMST |
tsapi const char* TS_URL_SCHEME_MMSU |
tsapi const char* TS_URL_SCHEME_NEWS |
Definition at line 108 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_URL_SCHEME_NNTP |
Definition at line 109 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_URL_SCHEME_PNM |
tsapi const char* TS_URL_SCHEME_PROSPERO |
Definition at line 110 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_URL_SCHEME_RTSP |
tsapi const char* TS_URL_SCHEME_RTSPU |
tsapi const char* TS_URL_SCHEME_TELNET |
Definition at line 111 of file InkAPI.cc.
Referenced by api_init().
tsapi const char* TS_URL_SCHEME_TUNNEL |
tsapi const char* TS_URL_SCHEME_WAIS |
Definition at line 113 of file InkAPI.cc.
Referenced by api_init().