00001 /** @file 00002 00003 Traffic Server SDK API - HTTP related enumerations 00004 00005 @section license License 00006 00007 Licensed to the Apache Software Foundation (ASF) under one 00008 or more contributor license agreements. See the NOTICE file 00009 distributed with this work for additional information 00010 regarding copyright ownership. The ASF licenses this file 00011 to you under the Apache License, Version 2.0 (the 00012 "License"); you may not use this file except in compliance 00013 with the License. You may obtain a copy of the License at 00014 00015 http://www.apache.org/licenses/LICENSE-2.0 00016 00017 Unless required by applicable law or agreed to in writing, software 00018 distributed under the License is distributed on an "AS IS" BASIS, 00019 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00020 See the License for the specific language governing permissions and 00021 limitations under the License. 00022 00023 @section developers Developers 00024 00025 Developers, when adding a new element to an enum, append it. DO NOT 00026 insert it. Otherwise, binary compatibility of plugins will be broken! 00027 00028 */ 00029 00030 #ifndef _HTTP_PROXY_API_ENUMS_H_ 00031 #define _HTTP_PROXY_API_ENUMS_H_ 00032 00033 /// Server session sharing values - match 00034 typedef enum { 00035 TS_SERVER_SESSION_SHARING_MATCH_NONE, 00036 TS_SERVER_SESSION_SHARING_MATCH_BOTH, 00037 TS_SERVER_SESSION_SHARING_MATCH_IP, 00038 TS_SERVER_SESSION_SHARING_MATCH_HOST 00039 } TSServerSessionSharingMatchType; 00040 00041 /// Server session sharing values - pool 00042 typedef enum { 00043 TS_SERVER_SESSION_SHARING_POOL_GLOBAL, 00044 TS_SERVER_SESSION_SHARING_POOL_THREAD 00045 } TSServerSessionSharingPoolType; 00046 00047 #endif // _HTTP_PROXY_API_ENUMS_H_