00001 /* 00002 * $Id: help_msg.h 5593 2009-02-12 12:20:34Z henningw $ 00003 * 00004 * Copyright (C) 2001-2003 FhG Fokus 00005 * 00006 * This file is part of Kamailio, a free SIP server. 00007 * 00008 * Kamailio is free software; you can redistribute it and/or modify 00009 * it under the terms of the GNU General Public License as published by 00010 * the Free Software Foundation; either version 2 of the License, or 00011 * (at your option) any later version 00012 * 00013 * Kamailio is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 * GNU General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License 00019 * along with this program; if not, write to the Free Software 00020 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00021 */ 00022 00023 /*! 00024 *\file 00025 * \brief The help message that is shown on the console with 'kamailio -h' 00026 */ 00027 00028 /*! \mainpage Developer documentation 00029 * 00030 * \section intro_sec Introduction 00031 * This is the Kamailio developer documentation. For many modules and also 00032 * core functions there is extended documentation available, but some content 00033 * here is still autogenerated from the sources. Additional content will be 00034 * added over time, any help is of course welcome. 00035 * 00036 * This page tries to give some starting points for developers that want to 00037 * understand the server structure and create their own extensions or modules. 00038 * 00039 * \section modules Modules 00040 * Already documented modules could be found in the "Modules" section. 00041 * 00042 * \section related Related information 00043 * Information related to certain topics can be found in the "Related Pages" section. 00044 * 00045 * \section db_sec Database interface 00046 * The server uses a own database interface to hide the differences of the 00047 * supported db engines. Every module that implementst this API can use all 00048 * database drivers, as long as they implement the needed capabilities. 00049 * 00050 * The file db.h defines the database API. 00051 * 00052 * \section start_sec Server start 00053 * The implementation of the server start process can be found in the 00054 * main.c file. 00055 * 00056 * \section datastruct_sec Important data structures 00057 * sip_msg - represents a complete SIP message \n 00058 * hdr_field - represents a SIP header \n 00059 * \ref _str "str" - contains text variables \n 00060 * int_str - combined type for values that can be integer or str \n 00061 * 00062 * A complete referece of provided datatypes can be found in the "Data structures" page. 00063 * 00064 * \todo incomplete 00065 * 00066 * \section DeveloperGuide Kamailio Developer Guide 00067 * Please check the Kamailio developer guide at http://www.kamailio.org/docs/openser-devel-guide/ 00068 */ 00069 00070 00071 #ifndef HELP_MSG_H 00072 #define HELP_MSG_H 00073 00074 #include "config.h" 00075 00076 /*! Help message that is shown on the console with "kamailio -h" */ 00077 static char help_msg[]= "\ 00078 Usage: " NAME " -l address [-l address ...] [options]\n\ 00079 Options:\n\ 00080 -f file Configuration file (default " CFG_FILE ")\n\ 00081 -c Check configuration file for errors\n\ 00082 -C Similar to '-c' but in addition checks the flags of exported\n\ 00083 functions from included route blocks\n\ 00084 -l address Listen on the specified address/interface (multiple -l\n\ 00085 mean listening on more addresses). The address format is\n\ 00086 [proto:]addr[:port], where proto=udp|tcp and \n\ 00087 addr= host|ip_address|interface_name. E.g: -l locahost, \n\ 00088 -l udp:127.0.0.1:5080, -l eth0:5062 The default behavior\n\ 00089 is to listen on all the interfaces.\n\ 00090 -n processes Number of child processes to fork per interface\n\ 00091 (default: 8)\n\ 00092 -r Use dns to check if is necessary to add a \"received=\"\n\ 00093 field to a via\n\ 00094 -R Same as `-r` but use reverse dns;\n\ 00095 (to use both use `-rR`)\n\ 00096 -v Turn on \"via:\" host checking when forwarding replies\n\ 00097 -d Debugging mode (multiple -d increase the level)\n\ 00098 -D Do not run as a daemon\n\ 00099 -F Do not run as a daemon and do not create any child processes\n\ 00100 -E Log to stderr\n" 00101 #ifdef USE_TCP 00102 " -T Disable tcp\n\ 00103 -N processes Number of tcp child processes (default: equal to `-n`)\n\ 00104 -W method poll method\n" 00105 #endif 00106 " -V Version number\n\ 00107 -h This help message\n\ 00108 -b nr Maximum receive buffer size which will not be exceeded by\n\ 00109 auto-probing procedure even if OS allows\n\ 00110 -m nr Size of shared memory allocated in Megabytes\n\ 00111 -w dir Change the working directory to \"dir\" (default \"/\")\n\ 00112 -t dir Chroot to \"dir\"\n\ 00113 -u uid Change uid \n\ 00114 -g gid Change gid \n\ 00115 -P file Create a pid file\n\ 00116 -G file Create a pgid file\n" 00117 ; 00118 00119 #endif
1.5.6