Functions | Variables

ink_args.cc File Reference

A brief file description. More...

#include "libts.h"
Include dependency graph for ink_args.cc:

Go to the source code of this file.

Functions

static void process_arg (const ArgumentDescription *argument_descriptions, unsigned n_argument_descriptions, int i, char ***argv, const char *usage_string)
void show_argument_configuration (const ArgumentDescription *argument_descriptions, unsigned n_argument_descriptions)
void process_args (const ArgumentDescription *argument_descriptions, unsigned n_argument_descriptions, char **argv, const char *usage_string)
void usage (const ArgumentDescription *argument_descriptions, unsigned n_argument_descriptions, const char *usage_string)

Variables

const char * file_arguments [MAX_FILE_ARGUMENTS] = { 0 }
const char * program_name = "Traffic Server"
unsigned n_file_arguments = 0
static const char * argument_types_keys = "ISDfFTL"
static const char * argument_types_descriptions []

Detailed Description

A brief file description.

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_args.cc.


Function Documentation

static void process_arg ( const ArgumentDescription argument_descriptions,
unsigned  n_argument_descriptions,
int  i,
char ***  argv,
const char *  usage_string 
) [static]
void process_args ( const ArgumentDescription argument_descriptions,
unsigned  n_argument_descriptions,
char **  argv,
const char *  usage_string 
)
void show_argument_configuration ( const ArgumentDescription argument_descriptions,
unsigned  n_argument_descriptions 
)

Definition at line 105 of file ink_args.cc.

References ink_fatal().

void usage ( const ArgumentDescription argument_descriptions,
unsigned  n_argument_descriptions,
const char *  usage_string 
)

Variable Documentation

const char* argument_types_descriptions[] [static]
Initial value:
 {
  (char *) "int  ",
  (char *) "str  ",
  (char *) "dbl  ",
  (char *) "off  ",
  (char *) "on   ",
  (char *) "tog  ",
  (char *) "i64  ",
  (char *) "     "
}

Definition at line 44 of file ink_args.cc.

Referenced by usage().

const char* argument_types_keys = "ISDfFTL" [static]

Definition at line 43 of file ink_args.cc.

Referenced by usage().

const char* file_arguments[MAX_FILE_ARGUMENTS] = { 0 }

Definition at line 35 of file ink_args.cc.

Referenced by main(), and process_args().

unsigned n_file_arguments = 0

Definition at line 37 of file ink_args.cc.

Referenced by main(), and process_args().

const char* program_name = "Traffic Server"

Definition at line 36 of file ink_args.cc.

Referenced by ink_stack_trace_dump(), process_args(), and usage().