home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / MISC / NET32_B3.ZIP / _SETUP.1 / NETMODEM.INC < prev    next >
Text File  |  1998-01-21  |  2KB  |  74 lines

  1.  
  2.                   { NetModem/32 External File Support Structors }
  3.           { Copyright 1998 - Dedrick Allen & Allen Software Technologies }
  4.  
  5.  { These structors are for BBS Software authors to have access to NetModem/32
  6.     information. This gives them the ability to retreive information from
  7.   the Server application to display to the SysOp, and edit certain parts of
  8.     the configuration from thier BBS software configuration, if the author
  9.      decides to add this type of support to thier software. This idea was
  10.    originally thought up by skaboy101, the creator of Infusion BBS software
  11.   (http://infusion.home.ml.org). I hope BBS software authors decide to add
  12.        support for the external files as SysOps may like these features. }
  13.  
  14.  { NOTE: The Delphi type "ShortString" is the same as type "String" in Pascal
  15.          so you might want to change the "ShortString" to type "String" }
  16.  
  17. Type
  18.  
  19.  { Server stats report structor. }
  20.  { Filename: NetModem.ISF }
  21.  
  22.  TServerRecord = Packed Record
  23.   Version: ShortString;
  24.   xBuild: ShortString;
  25.   Registered: Boolean;
  26.   LocalHostname: ShortString;
  27.   LocalIP: ShortString;
  28.   FutureUseA: LongInt;
  29.   FutureUseB: LongInt;
  30.   FutureUseC: ShortString;
  31.   FutureUseD: ShortString;
  32.  End;
  33.  
  34.  { Individual node stats report structor. }
  35.  { Filename: NetModem.INF }
  36.  
  37.  TNodeInfoRecord = Packed Record
  38.   Connected: Boolean;
  39.   RemoteHostname: ShortString;
  40.   RemoteIP: ShortString;
  41.   FutureUseA: LongInt;
  42.   FutureUseB: LongInt;
  43.   FutureUseC: ShortString;
  44.   FutureUseD: ShortString;
  45.  End;
  46.  
  47.  { Connections list structor. }
  48.  { Filename: NetModem.ICL }
  49.  
  50.  TCallRecord = Packed Record
  51.   CallDate: ShortString;
  52.   CallTime: ShortString;
  53.   Node: Byte;
  54.   From: ShortString;
  55.  End;
  56.  
  57.  { Block list structor. }
  58.  { Filename: NetModem.IBL }
  59.  
  60.  TBlockRecord = Packed Record
  61.   Address: ShortString;
  62.   Created: ShortString;
  63.  End;
  64.                 
  65.  { Node & Comport configuration structor. }
  66.  { Filename: NetModem.ICF }
  67.  
  68.  TNodeRecord = Packed Record
  69.   Node: Byte;
  70.   Comport: Byte;
  71.   BaudRate: Word;
  72.   Note: ShortString;
  73.  End;
  74.