2000-02-25 10:15:17 +00:00
|
|
|
// This may look like C code, but it is really -*- C++ -*-
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
// The Goldware Library
|
|
|
|
// Copyright (C) 1990-1999 Odinn Sorensen
|
|
|
|
// Copyright (C) 1999-2000 Alexander S. Aganichev
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
// This library is free software; you can redistribute it and/or
|
|
|
|
// modify it under the terms of the GNU Library General Public
|
|
|
|
// License as published by the Free Software Foundation; either
|
|
|
|
// version 2 of the License, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// This library 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
|
|
|
|
// Library General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU Library 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
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
// $Id$
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
// AREAFILE processor.
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
|
|
|
|
#ifndef __gedacfg_h
|
|
|
|
#define __gedacfg_h
|
|
|
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
|
|
|
|
#include <iostream>
|
|
|
|
#include <iomanip>
|
|
|
|
#include <string>
|
2006-05-13 16:15:35 +00:00
|
|
|
#include <gftnall.h>
|
|
|
|
#include <gfile.h>
|
2000-02-25 10:15:17 +00:00
|
|
|
#include <gmsgattr.h>
|
2006-05-13 16:15:35 +00:00
|
|
|
#include <geall.h>
|
2000-02-25 10:15:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
// Area types
|
|
|
|
|
|
|
|
const uint GMB_NET = 0x0001;
|
|
|
|
const uint GMB_EMAIL = 0x0002;
|
|
|
|
const uint GMB_ECHO = 0x0004;
|
|
|
|
const uint GMB_NEWSGROUP = 0x0008;
|
|
|
|
const uint GMB_LOCAL = 0x0010;
|
|
|
|
const uint GMB_QWK = 0x1000;
|
|
|
|
const uint GMB_SOUP = 0x2000;
|
2002-09-29 16:06:10 +00:00
|
|
|
const uint GMB_NONE = 0x00ff;
|
|
|
|
const uint GMB_DEFAULT = 0xf00f;
|
2000-02-25 10:15:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
|
|
|
|
class AreaCfgBase {
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
int areaid; // Unique internal area number
|
|
|
|
int groupid; // Group id (A-Z)
|
|
|
|
int originno; // Origin number
|
|
|
|
uint board; // Board number (Hudson/Goldbase/Ezycom/PCBoard fmts)
|
|
|
|
uint type; // Type of msgarea (GMB_xxx)
|
2003-12-10 08:35:16 +00:00
|
|
|
const char *basetype; // Type of msgbase
|
2000-02-25 10:15:17 +00:00
|
|
|
ftn_addr aka; // The AKA to use in the area
|
|
|
|
ftn_attr attr; // Default attributes
|
|
|
|
byte scan : 1; // TRUE if listed with AREASCAN
|
|
|
|
byte scanexcl : 1; // TRUE if listed with AREASCANEXCL
|
|
|
|
byte scanincl : 1; // TRUE if listed with AREASCANINCL
|
|
|
|
byte pmscan : 1; // TRUE if listed with AREAPMSCAN
|
|
|
|
byte pmscanexcl : 1; // TRUE if listed with AREAPMSCANEXCL
|
|
|
|
byte pmscanincl : 1; // TRUE if listed with AREAPMSCANINCL
|
|
|
|
|
2001-07-16 20:35:42 +00:00
|
|
|
int setorigin(std::string& origin);
|
2000-02-25 10:15:17 +00:00
|
|
|
|
2003-12-10 08:35:16 +00:00
|
|
|
bool isseparator() const { return streql(basetype, "SEPARATOR"); }
|
2000-02-25 10:15:17 +00:00
|
|
|
|
|
|
|
bool isnet() const { return !!(type & GMB_NET); }
|
|
|
|
bool isecho() const { return !!(type & GMB_ECHO); }
|
|
|
|
bool islocal() const { return !!(type & GMB_LOCAL); }
|
|
|
|
bool isemail() const { return !!(type & GMB_EMAIL); }
|
|
|
|
bool isnewsgroup() const { return !!(type & GMB_NEWSGROUP); }
|
|
|
|
bool isinternet() const { return !!(type & (GMB_EMAIL|GMB_NEWSGROUP)); }
|
|
|
|
bool isqwk() const { return !!(type & GMB_QWK); }
|
|
|
|
bool issoup() const { return !!(type & GMB_SOUP); }
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
|
|
|
|
class AreaCfg : public AreaCfgBase {
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
static int autoid;
|
|
|
|
|
2001-07-16 20:35:42 +00:00
|
|
|
Echo echoid; // Echo tag
|
|
|
|
Desc desc; // Area description
|
|
|
|
Path path; // Path to message area
|
|
|
|
std::string origin; // Origin
|
2000-02-25 10:15:17 +00:00
|
|
|
|
|
|
|
AreaCfg() { reset(); }
|
|
|
|
~AreaCfg() { }
|
|
|
|
|
|
|
|
AreaCfg& operator=(const AreaCfg& x);
|
|
|
|
|
|
|
|
void reset();
|
|
|
|
|
|
|
|
const char* setdesc(const char* s);
|
|
|
|
const char* setautoid(const char* s);
|
|
|
|
const char* setechoid(const char* s);
|
|
|
|
const char* setorigin(const char* s);
|
|
|
|
const char* setpath(const char* s);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
|
|
|
|
struct EchoList {
|
|
|
|
|
|
|
|
Echo echoid;
|
|
|
|
Path path;
|
|
|
|
Desc desc;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
|
|
|
|
struct DescList {
|
|
|
|
|
|
|
|
Echo echoid;
|
|
|
|
Desc desc;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
|
|
|
|
class EchoListClass {
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
EchoList** echolist;
|
|
|
|
DescList** desclist;
|
|
|
|
int echos;
|
|
|
|
int descs;
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
EchoListClass();
|
|
|
|
~EchoListClass();
|
|
|
|
|
|
|
|
void FreeAll();
|
|
|
|
int Echos() { return(echos); }
|
|
|
|
void SortEchos();
|
|
|
|
void AddDesc(char* echoid, char* desc);
|
|
|
|
int FindDesc(char* echoid, char** desc);
|
|
|
|
void AddEcho(char* echoid, char* path, char* desc);
|
|
|
|
int FindEcho(char* echoid, char* path, char* desc);
|
|
|
|
int GetEcho(int n, char** echoid, char** path, char** desc);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
|
|
|
|
class gareafile {
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
Path pathprefix;
|
|
|
|
|
2000-10-06 23:16:09 +00:00
|
|
|
#ifndef GCFG_NOFIDOCONF
|
2001-05-05 21:41:41 +00:00
|
|
|
// Fidoconfig parser functions
|
2000-02-25 10:15:17 +00:00
|
|
|
void gettok(char** key, char** val);
|
2000-10-06 23:16:09 +00:00
|
|
|
#endif
|
2001-05-05 21:41:41 +00:00
|
|
|
#if !defined(GCFG_NOCMAIL) || !defined(GCFG_NOCECHO)
|
2000-02-25 10:15:17 +00:00
|
|
|
// Crashmail II parser function
|
|
|
|
bool jbstrcpy(char *dest, char *src, size_t maxlen, size_t *jbc);
|
2001-12-14 15:51:37 +00:00
|
|
|
void ReadCrashmailCfg(const char* file);
|
2000-10-06 23:16:09 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOTIMED
|
2000-02-25 10:15:17 +00:00
|
|
|
// Timed parser function
|
|
|
|
void nullastbackslash(char* val);
|
2000-10-06 23:16:09 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOWATERGATE
|
2000-02-25 10:15:17 +00:00
|
|
|
// Watergate parser function
|
2003-12-10 08:35:16 +00:00
|
|
|
const char *gettype(const char *msgtype, const byte wtrtype);
|
2000-10-06 23:16:09 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOXMAIL
|
2000-02-25 10:15:17 +00:00
|
|
|
// XMail parser function
|
|
|
|
char* ClipDosFilename(char* __file);
|
2000-10-06 23:16:09 +00:00
|
|
|
#endif
|
2000-02-25 10:15:17 +00:00
|
|
|
|
|
|
|
void adjustpath(char* path);
|
|
|
|
|
2000-08-23 19:24:19 +00:00
|
|
|
#ifndef GCFG_NODB
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadDB130(char* tag, char* dbpath);
|
|
|
|
void ReadDB1046(char* file, char* tag);
|
|
|
|
void ReadDB1047A22(char* file, int reclen, char* tag);
|
|
|
|
void ReadDB2011(char* file, int reclen, char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOEZY
|
2006-05-13 16:15:35 +00:00
|
|
|
void ReadEzycom102(gfile &fp, char* path, char* file, char* options);
|
|
|
|
void ReadEzycom110(gfile &fp, char* path, char* file, char* options);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOFE
|
2000-12-19 09:02:51 +00:00
|
|
|
void ReadFastecho11x(int fh);
|
|
|
|
void ReadFastecho141(int fh);
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadFastecho142(int fh);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOFMAIL
|
2006-05-13 16:15:35 +00:00
|
|
|
void ReadFMail092(gfile &fp, char* path, char* file, char* options);
|
|
|
|
void ReadFMail098(gfile &fp, char* path, char* file, char* options);
|
|
|
|
void ReadFMail116(gfile &fp, char* path, char* file, char* options);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOFIDOCONF
|
2002-10-05 21:13:23 +00:00
|
|
|
AreaCfg echoareadefaults;
|
2006-05-13 16:15:35 +00:00
|
|
|
bool ReadHPTLine(gfile &f, std::string* s, bool add=false, int state=0);
|
2002-10-05 21:13:23 +00:00
|
|
|
void ReadHPTFile(char* path, char* file, char* origin, int group);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOIMAIL
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadIMail160(char* options, char* file, char* impath);
|
|
|
|
void ReadIMail170(char* options, char* file, char* impath);
|
|
|
|
void ReadIMail185(char* options, char* file, char* impath);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOMAXIMUS
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadMaximus3(char* mxpath, char* areafile, char* options);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOQBBS
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadQ260(char* qbpath, char* origin, char* options);
|
|
|
|
void ReadQ276(char* qbpath, char* origin, char* options);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOQECHO
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadQEchoFile(char* file, char* options, char* origin);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
2001-10-21 17:41:29 +00:00
|
|
|
#ifndef GCFG_NOSPCT
|
|
|
|
void ParseSpaceArea(const char *type_path, AreaCfg &aa);
|
|
|
|
void ReadSpaceCtl(const char *path);
|
|
|
|
void ReadSpaceNtm(const char *path);
|
|
|
|
void ReadSpaceAr(const char *path);
|
|
|
|
#endif
|
2001-04-15 19:24:44 +00:00
|
|
|
#if !defined(GCFG_NOSQSH) || !defined(GCFG_NOPARTOSS)
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadSquishFile(char* path, char* file, char* options, char* origin, int group);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOTIMED
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadTimedFile(char* path, char* file, char* options, char* origin);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOTERMAIL
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadTmailFile(char* file, char* options, char* origin);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOWATERGATE
|
2006-05-13 16:15:35 +00:00
|
|
|
void ReadWtrGteFile(char* options, gfile &fp);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOXBBS
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadAdeptXbbsFile(char* path, char* file, char* options);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOXMAIL
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadxMailFile(char* file, char* options);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
2000-02-25 10:15:17 +00:00
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
gareafile();
|
|
|
|
|
|
|
|
EchoListClass echolist;
|
|
|
|
|
|
|
|
int quiet;
|
|
|
|
|
|
|
|
int sharemode;
|
2003-12-10 08:35:16 +00:00
|
|
|
const char *fidomsgtype;
|
2000-02-25 10:15:17 +00:00
|
|
|
int ra2usersbbs;
|
|
|
|
int squishuserno;
|
|
|
|
|
2001-05-05 21:41:41 +00:00
|
|
|
const char *areapath;
|
|
|
|
const char *pcboardpath;
|
|
|
|
|
2000-02-25 10:15:17 +00:00
|
|
|
ftn_addr primary_aka;
|
|
|
|
|
|
|
|
ftn_attr attribsnet;
|
|
|
|
ftn_attr attribsecho;
|
|
|
|
ftn_attr attribsnews;
|
|
|
|
ftn_attr attribsemail;
|
|
|
|
ftn_attr attribslocal;
|
|
|
|
|
|
|
|
void GetAreasBBS(char* name, char* origin, char* options);
|
|
|
|
|
|
|
|
void ReadAreasBBS(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#ifndef GCFG_NOXBBS
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadAdeptXBBS(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
2001-05-05 21:41:41 +00:00
|
|
|
#if !defined(GCFG_NOCMAIL) || !defined(GCFG_NOCECHO)
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadCrashmail(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NODB
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadDBridge(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NODUTCHIE
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadDutchie(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOEZY
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadEzycom(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOFE
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadFastecho(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOFIDOPCB
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadFidoPCB(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOFMAIL
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadFMail(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOFD
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadFrontDoor(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOGECHO
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadGEcho(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOFIDOCONF
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadHPT(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOIMAIL
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadIMail(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOINTERMAIL
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadInterMail(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOLORA
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadLoraBBS(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOMAXIMUS
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadMaximus(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOME2
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadME2(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOOPUS
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadOpus(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOPCB
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadPCBoard(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOPORTAL
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadPortal(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOPROBOARD
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadProBoard(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOQECHO
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadQEcho(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOQFRONT
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadQFront(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOQBBS
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadQuickBBS(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NORAECHO
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadRaEcho(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NORA
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadRemoteAccess(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
2001-04-15 19:24:44 +00:00
|
|
|
#if !defined(GCFG_NOSQSH) || !defined(GCFG_NOPARTOSS)
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadSquish(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
2001-05-05 21:41:41 +00:00
|
|
|
#ifndef GCFG_NOSPCT
|
|
|
|
void ReadSpaceToss(char *tag);
|
|
|
|
#endif
|
2000-08-23 19:24:19 +00:00
|
|
|
#ifndef GCFG_NOSBBS
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadSuperBBS(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOTIMED
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadTimed(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOTERMAIL
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadTmail(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOTOSSCAN
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadTosScan(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOWMAIL
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadWMail(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOWATERGATE
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadWtrGte(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
|
|
|
#ifndef GCFG_NOXMAIL
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadXMail(char* tag);
|
2000-08-23 19:24:19 +00:00
|
|
|
#endif
|
2002-10-04 20:08:17 +00:00
|
|
|
#ifndef GCFG_NOSYNCHRONET
|
2002-09-21 10:14:04 +00:00
|
|
|
void ReadSynchronet(char* tag);
|
|
|
|
#endif
|
2000-02-25 10:15:17 +00:00
|
|
|
|
|
|
|
bool ReadAreafile(word crc, char* parameters);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
|
|
|
|
void AddNewArea(AreaCfg& aa);
|
|
|
|
void CfgAddress(char* value);
|
|
|
|
void CfgOrigin(const char* value);
|
|
|
|
void CfgUsername(char* value);
|
2002-06-09 09:37:49 +00:00
|
|
|
void CfgJAMSMAPIHighwater(bool value);
|
2000-02-25 10:15:17 +00:00
|
|
|
void ReadEcholist(char* value);
|
|
|
|
void SetAreaDesc(char* echoid, char* desc);
|
|
|
|
|
2001-05-05 21:41:41 +00:00
|
|
|
void CfgAdeptxbbspath(const char *path, bool force = false);
|
|
|
|
void CfgEzycommsgbase(const char *path, bool force = false);
|
|
|
|
void CfgEzycomuserbase(const char *path, bool force = false);
|
|
|
|
void CfgGoldbasepath(const char *path, bool force = false);
|
|
|
|
void CfgHudsonpath(const char *path, bool force = false);
|
|
|
|
void CfgJampath(const char *path, bool force = false);
|
|
|
|
void CfgPcboardpath(const char *path, bool force = false);
|
|
|
|
void CfgSquishuserpath(const char *path, bool force = false);
|
|
|
|
void CfgFidolastread(const char *path);
|
2000-02-25 10:15:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------
|