
                  { NetModem/32 External File Support Structors }
          { Copyright 1998 - Dedrick Allen & Allen Software Technologies }

 { These structors are for BBS Software authors to have access to NetModem/32
    information. This gives them the ability to retreive information from
  the Server application to display to the SysOp, and edit certain parts of
    the configuration from thier BBS software configuration, if the author
     decides to add this type of support to thier software. This idea was
   originally thought up by skaboy101, the creator of Infusion BBS software
  (http://infusion.home.ml.org). I hope BBS software authors decide to add
       support for the external files as SysOps may like these features. }

 { NOTE: The Delphi type "ShortString" is the same as type "String" in Pascal
         so you might want to change the "ShortString" to type "String".
         The BBS software also should have a setting that tells it the path
         to the NetModem/32 files. The file "NETMODEM.ICF" is stored in the
         Windows directory }

Type

 { Server stats report structor. }
 { Filename: NetModem.ISF }

 TServerRecord = Packed Record
  Version: ShortString;
  xBuild: ShortString;
  Registered: Boolean;
  LocalHostname: ShortString;
  LocalIP: ShortString;
  FutureUseA: LongInt;
  FutureUseB: LongInt;
  FutureUseC: ShortString;
  FutureUseD: ShortString;
 End;

 { Individual node stats report structor. }
 { Filename: NetModem.INF }
 { Note: This file maintains a record for each NetModem/32 node. }

 TNodeInfoRecord = Packed Record
  Connected: Boolean;
  RemoteHostname: ShortString;
  RemoteIP: ShortString;
  FutureUseA: LongInt;
  FutureUseB: LongInt;
  FutureUseC: ShortString;
  FutureUseD: ShortString;
 End;

 { Connections list structor. }
 { Filename: NetModem.ICL }

 TCallRecord = Packed Record
  CallDate: ShortString;
  CallTime: ShortString;
  Node: Byte;
  From: ShortString;
 End;

 { Block list structor. }
 { Filename: NetModem.IBL }

 TBlockRecord = Packed Record
  Address: ShortString;
  Created: ShortString;
 End;
                
 { Node & Comport configuration structor. }
 { Filename: NetModem.ICF }
 { Note: Stored in the Windows directory, which may not be C:\Windows
         on everyones system. }

 TNodeRecord = Packed Record
  Node: Byte;
  Comport: Byte;
  BaudRate: Word;
  Note: ShortString;
 End;
