Defines

ink_config.h File Reference

Some small general interest definitions. More...

#include "ink_autoconf.h"
Include dependency graph for ink_config.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define BUILD_MACHINE   "kolibri"
#define BUILD_PERSON   "nottheoilrig"
#define BUILD_GROUP   "nottheoilrig"
#define BUILD_NUMBER   ""
#define TS_HAS_LIBZ   1
#define TS_HAS_LZMA   0
#define TS_HAS_JEMALLOC   0
#define TS_HAS_TCMALLOC   0
#define TS_HAS_IN6_IS_ADDR_UNSPECIFIED   1
#define TS_HAS_BACKTRACE   1
#define TS_HAS_PROFILER   0
#define TS_USE_FAST_SDK   0
#define TS_USE_DIAGS   1
#define TS_USE_EPOLL   1
#define TS_USE_KQUEUE   0
#define TS_USE_PORT   0
#define TS_USE_POSIX_CAP   0
#define TS_USE_TPROXY   0
#define TS_HAS_SO_MARK   1
#define TS_HAS_SPDY   0
#define TS_HAS_IP_TOS   1
#define TS_USE_HWLOC   0
#define TS_USE_FREELIST   0
#define TS_USE_RECLAIMABLE_FREELIST   0
#define TS_USE_TLS_NPN   0
#define TS_USE_TLS_ALPN   0
#define TS_USE_TLS_SNI   1
#define TS_USE_TLS_ECKEY   1
#define TS_USE_LINUX_NATIVE_AIO   0
#define TS_USE_INTERIM_CACHE   0
#define GETHOSTBYNAME_R_GLIBC2   1
#define SIZEOF_VOID_POINTER   4
#define TS_IP_TRANSPARENT   0
#define TS_HAS_128BIT_CAS   0
#define TS_HAS_TESTS   1
#define TS_HAS_WCCP   0
#define TS_MAX_THREADS_IN_EACH_THREAD_TYPE   3072
#define TS_MAX_NUMBER_EVENT_THREADS   4096
#define TS_MAX_HOST_NAME_LEN   256
#define TS_MAX_API_STATS   512
#define SPLIT_DNS   1
#define HTTP_CACHE   1
#define TS_PKGSYSUSER   "nobody"
#define TS_PKGSYSGROUP   "nogroup"
#define TS_BUILD_PREFIX   "/usr/local"
#define TS_BUILD_EXEC_PREFIX   ""
#define TS_BUILD_BINDIR   "bin"
#define TS_BUILD_SBINDIR   "bin"
#define TS_BUILD_SYSCONFDIR   "etc/trafficserver"
#define TS_BUILD_DATADIR   "share/trafficserver"
#define TS_BUILD_INCLUDEDIR   "include"
#define TS_BUILD_LIBDIR   "lib"
#define TS_BUILD_LIBEXECDIR   "libexec/trafficserver"
#define TS_BUILD_LOCALSTATEDIR   "var"
#define TS_BUILD_RUNTIMEDIR   "var/trafficserver"
#define TS_BUILD_LOGDIR   "var/log/trafficserver"
#define TS_BUILD_MANDIR   "man"
#define TS_BUILD_CACHEDIR   "var/trafficserver"
#define TS_BUILD_INFODIR   "info"
#define TS_BUILD_DEFAULT_LOOPBACK_IFACE   "lo"

Detailed Description

Some small general interest definitions.

The general standard is to prefix these defines with TS_.

License

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.

Definition in file ink_config.h.


Define Documentation

#define BUILD_GROUP   "nottheoilrig"

Definition at line 43 of file ink_config.h.

#define BUILD_MACHINE   "kolibri"

Definition at line 41 of file ink_config.h.

Referenced by main().

#define BUILD_NUMBER   ""

Definition at line 44 of file ink_config.h.

Referenced by AppVersionInfo::setup().

#define BUILD_PERSON   "nottheoilrig"

Definition at line 42 of file ink_config.h.

Referenced by main().

#define GETHOSTBYNAME_R_GLIBC2   1

Definition at line 79 of file ink_config.h.

#define HTTP_CACHE   1

Definition at line 97 of file ink_config.h.

Referenced by CacheVC::openWriteClose(), and CacheVC::openWriteCloseDir().

#define SIZEOF_VOID_POINTER   4

Definition at line 80 of file ink_config.h.

#define SPLIT_DNS   1

Definition at line 96 of file ink_config.h.

#define TS_BUILD_BINDIR   "bin"

Definition at line 106 of file ink_config.h.

Referenced by Layout::Layout().

#define TS_BUILD_CACHEDIR   "var/trafficserver"

Definition at line 117 of file ink_config.h.

Referenced by Layout::Layout().

#define TS_BUILD_DATADIR   "share/trafficserver"

Definition at line 109 of file ink_config.h.

Referenced by Layout::Layout().

#define TS_BUILD_DEFAULT_LOOPBACK_IFACE   "lo"

Definition at line 120 of file ink_config.h.

#define TS_BUILD_EXEC_PREFIX   ""

Definition at line 105 of file ink_config.h.

Referenced by Layout::Layout().

#define TS_BUILD_INCLUDEDIR   "include"

Definition at line 110 of file ink_config.h.

Referenced by Layout::Layout().

#define TS_BUILD_INFODIR   "info"

Definition at line 118 of file ink_config.h.

Referenced by Layout::Layout().

#define TS_BUILD_LIBDIR   "lib"

Definition at line 111 of file ink_config.h.

Referenced by Layout::Layout().

#define TS_BUILD_LIBEXECDIR   "libexec/trafficserver"

Definition at line 112 of file ink_config.h.

Referenced by Layout::Layout(), and SDK_API_TSPluginDirGet().

#define TS_BUILD_LOCALSTATEDIR   "var"

Definition at line 113 of file ink_config.h.

Referenced by Layout::Layout().

#define TS_BUILD_LOGDIR   "var/log/trafficserver"

Definition at line 115 of file ink_config.h.

Referenced by Layout::Layout().

#define TS_BUILD_MANDIR   "man"

Definition at line 116 of file ink_config.h.

Referenced by Layout::Layout().

#define TS_BUILD_PREFIX   "/usr/local"

Definition at line 104 of file ink_config.h.

Referenced by Layout::Layout().

#define TS_BUILD_RUNTIMEDIR   "var/trafficserver"

Definition at line 114 of file ink_config.h.

Referenced by Layout::Layout().

#define TS_BUILD_SBINDIR   "bin"

Definition at line 107 of file ink_config.h.

Referenced by Layout::Layout().

#define TS_BUILD_SYSCONFDIR   "etc/trafficserver"

Definition at line 108 of file ink_config.h.

Referenced by Layout::Layout().

#define TS_HAS_128BIT_CAS   0

Definition at line 82 of file ink_config.h.

#define TS_HAS_BACKTRACE   1

Definition at line 55 of file ink_config.h.

#define TS_HAS_IN6_IS_ADDR_UNSPECIFIED   1

Definition at line 54 of file ink_config.h.

#define TS_HAS_IP_TOS   1

Definition at line 66 of file ink_config.h.

#define TS_HAS_JEMALLOC   0

Definition at line 49 of file ink_config.h.

#define TS_HAS_LIBZ   1

Definition at line 47 of file ink_config.h.

#define TS_HAS_LZMA   0

Definition at line 48 of file ink_config.h.

#define TS_HAS_PROFILER   0

Definition at line 56 of file ink_config.h.

#define TS_HAS_SO_MARK   1

Definition at line 64 of file ink_config.h.

#define TS_HAS_SPDY   0

Definition at line 65 of file ink_config.h.

#define TS_HAS_TCMALLOC   0

Definition at line 50 of file ink_config.h.

#define TS_HAS_TESTS   1

Definition at line 85 of file ink_config.h.

#define TS_HAS_WCCP   0

Definition at line 86 of file ink_config.h.

#define TS_IP_TRANSPARENT   0

Definition at line 81 of file ink_config.h.

Referenced by Connection::open(), and Server::setup_fd_for_listen().

#define TS_MAX_API_STATS   512

Definition at line 93 of file ink_config.h.

Referenced by api_init().

#define TS_MAX_HOST_NAME_LEN   256
#define TS_MAX_NUMBER_EVENT_THREADS   4096

Definition at line 89 of file ink_config.h.

#define TS_MAX_THREADS_IN_EACH_THREAD_TYPE   3072

Definition at line 88 of file ink_config.h.

#define TS_PKGSYSGROUP   "nogroup"

Definition at line 101 of file ink_config.h.

#define TS_PKGSYSUSER   "nobody"

Definition at line 100 of file ink_config.h.

#define TS_USE_DIAGS   1

Definition at line 58 of file ink_config.h.

#define TS_USE_EPOLL   1

Definition at line 59 of file ink_config.h.

#define TS_USE_FAST_SDK   0

Definition at line 57 of file ink_config.h.

#define TS_USE_FREELIST   0

Definition at line 68 of file ink_config.h.

#define TS_USE_HWLOC   0

Definition at line 67 of file ink_config.h.

#define TS_USE_INTERIM_CACHE   0

Definition at line 75 of file ink_config.h.

Referenced by evacuate_fragments().

#define TS_USE_KQUEUE   0

Definition at line 60 of file ink_config.h.

#define TS_USE_LINUX_NATIVE_AIO   0

Definition at line 74 of file ink_config.h.

#define TS_USE_PORT   0

Definition at line 61 of file ink_config.h.

#define TS_USE_POSIX_CAP   0

Definition at line 62 of file ink_config.h.

#define TS_USE_RECLAIMABLE_FREELIST   0

Definition at line 69 of file ink_config.h.

#define TS_USE_TLS_ALPN   0

Definition at line 71 of file ink_config.h.

#define TS_USE_TLS_ECKEY   1

Definition at line 73 of file ink_config.h.

#define TS_USE_TLS_NPN   0

Definition at line 70 of file ink_config.h.

#define TS_USE_TLS_SNI   1

Definition at line 72 of file ink_config.h.

#define TS_USE_TPROXY   0

Definition at line 63 of file ink_config.h.