/*****************************************************************************
 *
 * File ..................: records.h
 * Purpose ...............: MBSE BBS Global structure
 * Last modification date : 27-Apr-1999
 *
 *****************************************************************************
 * Copyright (C) 1997-1999
 *   
 * Michiel Broek		FIDO:		2:2801/16
 * Beekmansbos 10		Internet:	mbroek@ux123.pttnwb.nl
 * 1971 BV IJmuiden
 * the Netherlands
 *
 * This file is part of MBSE BBS.
 *
 * This BBS 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, or (at your option) any
 * later version.
 *
 * MBSE BBS 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 MBSE BBS; see the file COPYING.  If not, write to the Free
 * Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
 *****************************************************************************/


#ifndef _RECORDS_H
#define _RECORDS_H

#ifdef	DB_USERS
struct	userhdr		usrconfighdr;		/* Users database	   */
struct	user		usrconfig;
struct	user		exitinfo;		/* Users online data	   */
#endif

#ifdef	DB_SYSINFO
struct	sysrec		SYSINFO;		/* System info statistics  */
#endif

#ifdef	DB_PROT
struct	prothdr		PROThdr;		/* Transfer protocols	   */
struct	prot		PROT;
#endif

#ifdef	DB_ONELINE
struct	onelinehdr	olhdr;			/* Oneliner database	   */
struct	oneline		ol;
#endif

#ifdef	DB_FILEAREA
struct	fileareashdr	areahdr;		/* File areas		   */
struct	fileareas	area;
struct	FILERecord	file;
struct	_fgrouphdr	fgrouphdr;		/* File groups		   */
struct	_fgroup		fgroup;
#endif

#ifdef	DB_NEWGRP
struct	_ngrouphdr	ngrouphdr;		/* Newfiles groups	   */
struct	_ngroup		ngroup;	
#endif

#ifdef	DB_BBSLIST
struct	bbslisthdr	bbshdr;			/* BBS list		   */
struct	bbslist		bbs;
#endif

#ifdef	DB_LASTCALL
struct	lastcallershdr	LCALLhdr;		/* Lastcallers info	   */
struct	lastcallers	LCALL;
#endif

struct	sysconfig	CFG;			/* System configuration	   */

#ifdef	DB_LIMITS
struct	limitshdr	LIMIThdr;		/* User limits		   */
struct	limits		LIMIT;
#endif

#ifdef	DB_MENUS
struct	menufile	menus;
#endif

#ifdef	DB_MSGAREA
struct	msgareashdr	msgshdr;		/* Messages configuration  */
struct	msgareas	msgs;
struct	_mgrouphdr	mgrouphdr;		/* Message groups	   */
struct	_mgroup		mgroup;
#endif

#ifdef	DB_TIMEBANK
struct	timebankhdr	bankhdr;		/* Timebank structure	   */
struct	timebank	bank;
#endif

#ifdef	DB_LANG
struct	languagehdr	langhdr;		/* Language data	   */
struct	language	lang;			  			  
struct	langdata	ldata;
#endif

#ifdef	DB_CRACK
struct	crackerhdr	safehdr;		/* Safe cracker structure  */
struct	cracker		safe;
#endif

#ifdef	DB_FIDONET
struct	_fidonethdr	fidonethdr;		/* Fidonet structure	   */
struct	_fidonet	fidonet;
#endif

#ifdef	DB_ARCHIVE
struct	_archiverhdr	archiverhdr;		/* Archivers		   */
struct	_archiver	archiver;
#endif

#ifdef	DB_VIRSCAN
struct	_virscanhdr	virscanhdr;		/* Virus scanners	   */
struct	_virscan	virscan;
#endif

#ifdef	DB_TTY
struct	_ttyinfohdr	ttyinfohdr;		/* TTY lines		   */
struct	_ttyinfo	ttyinfo;
struct	_modemhdr	modemhdr;		/* Modem models		   */
struct	_modem		modem;
#endif

#ifdef	DB_TIC
struct	_tichdr		tichdr;			/* TIC areas		   */
struct	_tic		tic;
struct	_hatchhdr	hatchhdr;		/* Hatch areas		   */
struct	_hatch		hatch;
struct	_magichdr	magichdr;		/* Magic areas		   */
struct	_magic		magic;
#endif

#ifdef	DB_NODES
struct	_nodeshdr	nodeshdr;		/* Fidonet nodes	   */
struct	_nodes		nodes;
#endif

#ifdef	DB_TOBEREP
struct	_toberep	toberep;		/* Files to report	   */
#endif

#ifdef	DB_BILL
struct	_bill		bill;			/* Unsent bills		   */
#endif

#ifdef	DB_NEWFILES
struct	_newfileshdr	newfileshdr;		/* New file reports	   */
struct	_newfiles	newfiles;
#endif

#ifdef	DB_SCANMGR
struct	_scanmgrhdr	scanmgrhdr;		/* Filefind areas	   */
struct	_scanmgr	scanmgr;
#endif

#endif

