/* Copyright (C) 2002 GFRN systems This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. The latest version of this program may be found at http://CQiNet.sourceforge.net $Log: configvars.h,v $ Revision 1.15 2007/06/29 18:16:16 wb6ymh Added QthInHostsFile configuration variable to allow Qth information to be optionally included in the host file. NB: As of today the inclusion of Qth information breaks the EchoIRLP scripts. Revision 1.14 2007/06/13 00:06:10 wb6ymh 1. Added ChatPort. 2. Added thelinkbox configuration variables. Revision 1.13 2004/11/27 22:07:23 wb6ymh Added new configuration variables UserName, ConfEnable, AvrsEnable, AvrsInterval, bEchoIrlpMode, Latitude, Longitude, TxPower, Hatt, AntGain, Frequency and CTCSS. Revision 1.12 2004/11/22 00:45:44 wb6ymh Added IncludeAllHosts. Revision 1.11 2003/09/06 19:05:37 wb6ymh Added MaxDups. Revision 1.10 2003/09/01 15:16:38 wb6ymh 1. Added configuration variables EmailAdr, CmdPort, IdleTimeout, SF_ReplyPort, DirCompression, EventScript, StartupCmd, HelpFile and WelcomeDelay. 2. Added DoConfigPass() prototype, ConfigPass global. Revision 1.9 2003/04/30 21:35:58 wb6ymh 1. Added configuration varibles Bind2IP, AppName, RunDir, AutoLurkTimeout, DefaultAutoLurk, BlabOffTimer, and LogLevel. 2. Added SetQth() to verify that the default Qth has been edited (sigh). Revision 1.8 2002/12/21 18:17:24 wb6ymh Added configuration variables MaxPlayWithoutPause, SaveInfoFiles, ShowStationInfo and WriteHostFile. Revision 1.7 2002/12/18 00:57:55 wb6ymh Added WelcomeFile, MaxPlayBackPause, MinPlayBackPause, LogFileRolloverType, and AudioTestConf. Revision 1.6 2002/11/02 18:13:04 wb6ymh Added config variables RTP_Pass, PrivateConference, EnableDiskCommands, iLinkDirServer, DnsUpdateInterval, BelchTime, InactiveDirTimeout and bQuickStart. Revision 1.5 2002/10/25 14:27:30 wb6ymh Added iLinkDirServer config variable. Revision 1.4 2002/09/29 16:32:55 wb6ymh Added configuration variables SysopPass and PauseTime. Revision 1.3 2002/09/14 16:49:58 wb6ymh Added WorkingDir, RunAsUser, Banner, UserCountEnable, MaxCountEnable, and UserCountInLocation variables. Deleted BannerEable and ConnectTo variables. Revision 1.2 2002/08/31 23:44:32 wb6ymh Added configuration variables DirServerHost1 ...3, AdminPass, BannerEnable, SF_Port, SF_Enable, SF_SWL_Only, LinkConferences. Changed DirServerHost to an array of NUM_DIRECTORY_SERVERS strings. Revision 1.1.1.1 2002/08/10 20:33:41 wb6ymh initial import */ #ifndef CONFIGVARS_H_ #define CONFIGVARS_H_ #include "configfile.h" #define NUM_DIRECTORY_SERVERS 4 extern char *ConferenceCall; extern char *ConferencePass; extern char *ConferenceQth; extern char *EmailAdr; extern char *DirServerHost[NUM_DIRECTORY_SERVERS]; extern char *ConferenceID; extern char *AdminPass; extern char *SysopPass; extern char *Banner; extern char *WorkingDir; extern char *ConfigFilePath; extern char *RunAsUser; extern char *RTP_Pass; extern char *WelcomeFile; extern char *Bind2IP; extern char *RunDir; extern char *EventScript; extern char *CustomHelp; extern char *UserName; #ifdef LINK_BOX extern char *SerialDevName; extern char *CWId; extern char *VoiceID; extern char *InfoFile; extern char *TTS_ExePath; extern char *AudioDevice; #endif extern int ConfAudioTimeout; extern int ConfMemberTimeout; extern int LoginInterval; extern int StationListInterval; extern int SDES_Interval; extern int MaxConferenceClients; extern struct config_entry ConfigVars[]; extern int SF_Port; extern int SF_Enable; extern int LinkConferences; extern int SF_SWL_Only; extern int SB_Enable; extern int UserCountEnable; extern int MaxCountEnable; extern int UserCountInLocation; extern int PauseTime; extern int PrivateConference; extern int EnableDiskCommands; extern int iLinkDirServer; extern int DnsUpdateInterval; extern int BelchTime; extern int InactiveDirTimeout; extern int MaxPlayBackPause; extern int MinPlayBackPause; extern int AudioTestConf; extern int MaxPlayWithoutPause; extern int SaveInfoFiles; extern int ShowStationInfo; extern int WriteHostFile; extern int AutoLurkTimeout; extern int DefaultAutoLurk; #define AUTOLURK_REPEATERS 1 #define AUTOLURK_LINKS 2 #define AUTOLURK_HEADSETS 4 #define AUTOLURK_CONFERENCES 8 extern int BlabOffTimer; extern int LogLevel; extern int CmdPort; extern int ChatPort; extern int IdleTimeout; extern int SF_ReplyPort; extern int DirCompression; extern int WelcomeDelay; extern int MaxDups; extern int ConfEnable; extern int IncludeAllHosts; extern int QthInHostsFile; extern int AvrsEnable; extern int AvrsInterval; extern int bEchoIrlpMode; extern float Latitude; extern float Longitude; extern float TxPower; extern float Haat; extern float AntGain; extern float AntDir; extern float Frequency; extern float CTCSS; #ifdef LINK_BOX extern int VoxThreshold; extern int VoxHoldTime; extern int VoxTripDelay; extern int TxKeyMethod; extern int RxCosMethod; extern int SerialBaudRate; extern int DTMFPollTime; extern int InvertPTT; extern int InvertCOS; extern int CWToneFreq; extern int CWToneLevel; extern int CWSpeed; extern int CWAutoJam; extern int IdInterval; extern int VoiceIDIdleTime; extern int HalfDuplexRF; extern int HalfDuplex; extern int AudioIn8Bit; extern int PCMRate; extern float EchoCTCSSFreq; extern int CTCSSLevel; extern int SoftwareDTMFDecode; extern int Twist; extern int ReverseTwist; extern int CtcssDecoderSamples; extern int DecodeCTCSS; extern int MuteDTMF; extern int DTMFCommandTimeout; extern char *Port1CommandFile; #endif // Variable set on command line extern int bQuickStart; extern int iLinkDirServer; typedef struct StartupCmd_TAG { struct StartupCmd_TAG *Link; // NB: must be first char *Cmd; } StartupCmd; extern StartupCmd StartupCmds; extern int ConfigPass; int DoConfigPass(int Pass); #endif