Defines | Functions | Variables

Main.h File Reference

This is the primary include file for the proxy cache system. More...

#include <ts/ink_defs.h>
#include "libts.h"
#include "Regression.h"
#include "I_Version.h"
Include dependency graph for Main.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define ET_CACHE   ET_CALL
#define DEFAULT_ROOT_DIRECTORY   PREFIX
#define DEFAULT_LOCAL_STATE_DIRECTORY   "var/trafficserver"
#define DEFAULT_SYSTEM_CONFIG_DIRECTORY   "etc/trafficserver"
#define DEFAULT_LOG_DIRECTORY   "var/log/trafficserver"

Functions

void shutdown_system ()
bool maintainance_mode ()

Variables

int accept_till_done
int http_accept_file_descriptor
int command_flag
int auto_clear_hostdb_flag
int auto_clear_cache_flag
int fds_limit
int debug_level
char cluster_host [MAXDNAME+1]
int cluster_port_number
int remote_management_flag
inkcoreapi int qt_accept_file_descriptor
inkcoreapi int cache_clustering_enabled
char debug_host [MAXDNAME+1]
int debug_port
int default_sndbuf_size
int default_rcvbuf_size
AppVersionInfo appVersionInfo

Detailed Description

This is the primary include file for the proxy cache system.

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 Main.h.


Define Documentation

#define DEFAULT_LOCAL_STATE_DIRECTORY   "var/trafficserver"

Definition at line 39 of file Main.h.

#define DEFAULT_LOG_DIRECTORY   "var/log/trafficserver"

Definition at line 41 of file Main.h.

#define DEFAULT_ROOT_DIRECTORY   PREFIX

Definition at line 38 of file Main.h.

#define DEFAULT_SYSTEM_CONFIG_DIRECTORY   "etc/trafficserver"

Definition at line 40 of file Main.h.

#define ET_CACHE   ET_CALL

Function Documentation

bool maintainance_mode (  )  [inline]

Definition at line 75 of file Main.h.

References command_flag.

void shutdown_system (  ) 

Definition at line 141 of file LogStandalone.cc.

Referenced by interrupt_handler(), and signal_handler().


Variable Documentation

Definition at line 68 of file LogStandalone.cc.

Referenced by api_init(), main(), and CommandLineArgs::parse_arguments().

Definition at line 60 of file logcat.cc.

Definition at line 57 of file LogStandalone.cc.

Referenced by HostDBProcessor::start().

inkcoreapi int cache_clustering_enabled

Definition at line 35 of file ClusterProcessor.cc.

char cluster_host[MAXDNAME+1]

Definition at line 144 of file Main.cc.

Definition at line 34 of file ClusterProcessor.cc.

Referenced by ClusterProcessor::init().

Definition at line 53 of file LogStandalone.cc.

Referenced by main(), and maintainance_mode().

char debug_host[MAXDNAME+1]
int fds_limit

Definition at line 31 of file UnixNet.cc.

Definition at line 55 of file LogStandalone.cc.

inkcoreapi int qt_accept_file_descriptor

Definition at line 56 of file LogStandalone.cc.

Referenced by initialize_process_manager(), and main().