/*

  This is a part of the Project Frontier's Source code.

  Copyright (C) 1997-98 Francis Gastellu
                    aka Lone Runner/Aegis

  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.

*/
#ifndef __PCBDAT_H
#define __PCBDAT_H

#include "..\com\system.h"

#ifdef __cplusplus
extern "C" {
#endif

	void readPcbDat(void);
	char *getProfileAlloc(char *section, char *entry, char *def, char *file);

    extern char *sysopDispName;
    extern char *sysopSystemPass;
    extern bool sysopUseRealName;
    extern bool sysopGraphMode;
    extern int sysopLevel;
    extern char *helpFilesPath;
    extern char *secFilesPath;
    extern char *userIndexFilesPath;
    extern char *usersFile;
    extern char *callersLogFile;
    extern char *downloadTxtFile;
    extern char comPort[15];
    extern long initialPortSpeed;
    extern long lockPortSpeed;
    extern bool disableCTSRTS;
    extern bool disable3MinScrClear;
    extern bool disableHiAsciiFilter;
    extern bool disableDosPassCheck;
    extern bool allowEscInMsgs;
    extern bool allowCCMsgs;
    extern bool validateTOInMsgs;
    extern bool enforceDailyTime;
    extern int keyboardTimeout;
    extern int node;
    extern int networkTimeoutError;
    extern char *boardName;
    extern char *functionKey1;
    extern char *functionKey2;
    extern char *functionKey3;
    extern char *functionKey4;
    extern char *functionKey5;
    extern char *functionKey6;
    extern char *functionKey7;
    extern char *functionKey8;
    extern char *functionKey9;
    extern char *functionKey10;
    extern char *functionKey11;
    extern char *functionKey12;
    extern int comIrq;
    extern int comBase;
    extern bool leaveDTRUpDos;
    extern int scrollBackLines;
    extern bool allowLocalDropDos;
    extern char *tempFilesPath;
    extern int expiredSecurity;
    extern int levelUserAgree;
    extern bool forceNo16550;
    extern bool force16550;
    extern int defaultColor;
	extern char *netFilesPath;
    extern int floatNodes;
    extern int PCBcompat;
	extern int oldIndexes;
    // Frontier.DAT

    extern int autoReleaseTime;
    extern int minScrClear;
	extern int disableScrSaveCarrier;
	extern int firstWarning;
	extern int secondWarning;

	extern int far ftrDatVersion;
	extern char *systemPPEPath;
	extern char *tpaPath;
    extern char far iniFile[];

	extern char far setupSection[];
	extern char far pathsSection[];
	extern char far switchsSection[];
	extern char far fkeysSection[];
	extern char far levelsSection[];
	extern char far nodeSection[];

#ifdef __cplusplus
}
#endif

#endif
