home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / BBS / SF32_2.ZIP / SPITFIRE.REC < prev    next >
Text File  |  1992-03-20  |  13KB  |  281 lines

  1.             There is certain information that is required for those interested
  2.         in writing utilities and other third party type programs for SPITFIRE.
  3.         Listed below are the Turbo Pascal record types that SPITFIRE uses.
  4.  
  5.             When a caller goes through a Door or uses any of the Sysop
  6.         configurable features from each menu, SPITFIRE creates a simple
  7.         text file named SFDOORS.DAT, SFMAIN.DAT, SFMESS.DAT or SFFILE.DAT in
  8.         the SPITFIRE HOME directory.  This text file contains necessary
  9.         information for the caller to return to SPITFIRE.  The text file is
  10.         erased when control is returned to SPITFIRE.  The following page
  11.         contains a list of the information written to each line of the text
  12.         file:
  13.  
  14.         Global record structure for SPITFIRE version 3.2.
  15.         Copyright 1991, Buffalo Creek Software - All rights reserved.
  16.  
  17.         Buffalo Creek Software
  18.         913 - 39th Street
  19.         West Des Moines, Iowa 50265
  20.  
  21.         (* SFDOORS.DAT *)
  22.         User Number (* the record number in SFUSERS.DAT of the caller       *)
  23.         User Name   (* the full name of the caller                          *)
  24.         Password    (* the password of the caller                           *)
  25.         First Name  (* the first name of the caller                         *)
  26.         Baud Rate   (* baud rate of the caller - i.e. 2400 { 0 if local }   *)
  27.         Comm port   (* COMM port being used by SPITFIRE                     *)
  28.         Time Left   (* number of minutes the caller has left this log-on    *)
  29.         Time        (* number seconds since midnight when entering the door *) 
  30.         Path        (* the path in which SPITFIRE.EXE resides {C:\SF\}      *)
  31.         Ansi_On     (* TRUE if caller is using ANSI else FALSE              *)
  32.         SecLevel    (* the security level of the caller                     *)
  33.         Uploads     (* the number of uploads the caller has made            *)
  34.         Downloads   (* the number of downloads the caller has made          *)
  35.         This Time   (* total number of minutes allowed for this call        *)
  36.         Time On     (* number of seconds since midnight when logged on      *)
  37.         Extra Time  (* number of seconds the caller has gained since log-on *)
  38.         Sysop Next  (* TRUE if Sysop next feature has been activated        *)
  39.         Front End   (* TRUE if SPITFIRE was booted from a front end program *)
  40.         No DTE Lock (* TRUE if configured for Software Data Flow Control    *)
  41.         MaxBaud     (* maximum baud of the system                           *)
  42.         ErrCorrect  (* TRUE if error correction connection                  *)
  43.         LastMConf   (* last message conference                              *)
  44.         LastFArea   (* last file area                                       *)
  45.         Node Number (* Node on which the caller is logged                   *)
  46.         DLs Per Day (* Number of files allowed to be downloaded per day     *)
  47.         DLs Today   (* Number of files the caller has downloaded this day   *)
  48.         Daily Bytes (* Number of downloadable bytes per day                 *)
  49.         Bytes Today (* Number of bytes the caller has downloaded this day   *)
  50.         TotalUK     (* Number of K bytes uploaded by the caller             *)
  51.         TotalDK     (* Number of K Bytes downloaded by the caller           *)
  52.         Phone #     (* The callers phone number                             *)
  53.         City/State  (* The callers city and state                           *)
  54.         Log On Time (* Number of minutes allowed per day                    *)
  55.  
  56.         TYPE
  57.           UserDefaults  = (HotKey,Reserved,Pause);
  58.  
  59.           (* SFMSG[x].PTR *)
  60.          MessagePtr    = Record
  61.                            MDate            : String[17];
  62.                            FromWho,
  63.                            ToWho,
  64.                            OrgTo            : String[30];
  65.                            Subject          : String[40];
  66.                            NetMail,
  67.                            MsgSent,
  68.                            PurgeWhenSent,
  69.                            ThreadMsg,
  70.                            ThreadStart,
  71.                            Private,Deleted,
  72.                            Received         : Boolean;
  73.                            Where,
  74.                            NumberofRecords  : Word;
  75.                            Conference       : Integer;
  76.                            MsgNumber,
  77.                            OrgMsgNumber     : LongInt;
  78.                            FireNetReserved  : Array[0..40] Of Char;
  79.                            Extra            : Array[0..40] Of Byte;
  80.                          End;
  81.  
  82.          (* SFMSG[x].IDX *)
  83.          MessageIdx    = Record
  84.                            FromWhoCRC,
  85.                            ToWhoCRC,
  86.                            MsgNumber,
  87.                            OrgMsgNumber : LongInt;
  88.                          End;
  89.  
  90.           (* SFMSG[x].DAT *)
  91.           MessageBody   = Record
  92.                             MsgData : String[127];
  93.                            End;
  94.  
  95.           (* SFFAREA.DAT *)
  96.           FileSystem    = Record
  97.                             FSec          : Integer;
  98.                             FDesc         : String[40];
  99.                             FilePath,
  100.                             UploadPath    : String[60];
  101.                             ShowToAll,
  102.                             FEqual,
  103.                             CDRom,
  104.                             SearchArea,
  105.                             FreeDLArea    : Boolean;
  106.                             Extra         : Array[1..86] Of Byte;
  107.                           End;
  108.  
  109.           (* SFMCONF.DAT *)
  110.           MsgSystem     = Record
  111.                             MSec           : Integer;
  112.                             NetMailConf    : Boolean;
  113.                             MDesc          : String[40];
  114.                             MEqual,
  115.                             PublicMsgConf,
  116.                             AllowDelete,
  117.                             BackupNeeded   : Boolean;
  118.                             DaysOld        : Word;
  119.                             DelOldThdMsg   : Boolean;
  120.                             NoOfLines      : Word;
  121.                             Extra          : Array[1..75] Of Byte;
  122.                           End;
  123.  
  124.           (* SFMSG[X].LMR *)
  125.           LastMessage   = Record
  126.                             LMsgRed : LongInt;
  127.                           End;
  128.  
  129.           (* SFUSERS.PTR *)
  130.           UsersPtr      = Record
  131.                             Name : String[30];
  132.                           End;                  
  133.  
  134.           (* SFUSERS.DAT *)
  135.           Users         = Record
  136.                             UserName,
  137.                             CallingFrom      : String[30];
  138.                             Password,
  139.                             TimeDate         : String[14];
  140.                             PhoneNumber      : String[12];
  141.                             BirthDate        : String[8];
  142.                             SecurityLevel    : Integer;
  143.                             Uploads,
  144.                             Downloads,
  145.                             TotalUK,
  146.                             TotalDK          : LongInt;
  147.                             TimesOn,
  148.                             TimeLeft,
  149.                             Last_M_Conf,
  150.                             Last_F_Area,
  151.                             TransPro         : Integer;
  152.                             Defaults         : Set Of UserDefaults;
  153.                             FirstLogDate     : String[8];
  154.                             SubscriptionDate : LongInt;
  155.                             ConfQueue        : Array[0..31] Of Byte;
  156.                             ExtraBytes       : Array[1..75] Of Byte;
  157.                             AllowPurge,
  158.                             BadLastOff,
  159.                             ScrollBack,
  160.                             Xpert,
  161.                             LockedOut,
  162.                             Deleted          : Boolean;
  163.                             Linelen,
  164.                             Pagelen,
  165.                             OnToday,
  166.                             Illegal,
  167.                             DLToday,
  168.                             ForeGround       : Byte;
  169.                             ExtraWord        : Word;
  170.                             DLBytes          : LongInt;
  171.                             NewFCheck        : String[8];
  172.                             OrgSecurity,
  173.                             ChatsToday       : Integer;      
  174.                             FileStr          : String[12];
  175.                             FileArea         : Word;
  176.                             DeleteFile       : Boolean;
  177.                             Extra            : Array[1..5] Of Byte;
  178.                           End;
  179.  
  180.           (* SFEVENTS.DAT *)
  181.           EventSchedule = Record
  182.                             Active    : Byte;
  183.                             DoneToday : Boolean;
  184.                             Time      : Real;
  185.                             WhichDay  : Byte;
  186.                           End;
  187.  
  188.           (* SFSYSTEM.DAT *)
  189.           SysRec        = Record
  190.                             NoInputTime   : Byte;
  191.                             CallsToday,
  192.                              MsgToday,
  193.                              UpToday,
  194.                              DownToday,
  195.                              DailyLimit,
  196.                              DailyLogons,
  197.                              LogonLimit,
  198.                              SysopSecurity,
  199.                              NUS,
  200.                              NUTL,
  201.                              Available,
  202.                              Available2,
  203.                              MaxUsers      : Word;
  204.                              FileDescAmt,
  205.                              NotUsed2      : Byte;
  206.                              DoorsAmt      : Integer;
  207.                              Callernum     : LongInt;
  208.                              LastDate      : String[8];
  209.                              StartDate     : String[18];
  210.                              DOSPassword   : String[28];
  211.                              SysopName,
  212.                              SysMsgName    : String[30];
  213.                              USPhone,
  214.                              ConvertDesc,
  215.                              HeySysop,
  216.                              AddUpedBy,
  217.                              CommentQue    : Boolean;
  218.                              NumberOfNodes : Byte;
  219.                              ExtraBoolean,
  220.                              BootUpTests,
  221.                              ScanAllMsg,
  222.                              OfferDefault  : Boolean;
  223.                              ViolationSec  : Integer;
  224.                              NUBirthDate,
  225.                              CompFileSrch,
  226.                              DrRetPassword : Boolean;
  227.                              ExtraBytes    : Array[0..86] Of Byte;
  228.                           End;
  229.  
  230.           (* SFWHOSON.DAT *)
  231.           NodesDat      = Record
  232.                             UserNo : Integer;
  233.                             Mode   : Char;
  234.                             DBytes : Array[1..3] Of Byte;
  235.                           End;
  236.  
  237.           (* SFNODE.DAT *)
  238.           NodeSysRec    = Record
  239.                             DirectScrn,
  240.                             ShowResult,
  241.                             Nothing,
  242.                             PrinterOn,
  243.                             AnsiAvl,
  244.                             Private,
  245.                             SecondPassword,
  246.                             Page_On       : Boolean;
  247.                             MinimumBaud   : Word;
  248.                             MsgInfo,
  249.                             NewFileInfo,
  250.                             SoftControl,
  251.                             ErrChk        : Boolean;
  252.                             CorrectionMsg : String[3];
  253.                             WorkPath,
  254.                             DisplayPath,
  255.                             ExtranPath,
  256.                             MsgPath       : String[28];
  257.                             ModInitStr    : String[56];
  258.                             ComPort       : Word;
  259.                             RingNo,
  260.                             Node          : Byte;
  261.                             MaxBaud,
  262.                             TimeToday     : LongInt;
  263.                             TimeComp      : Real;
  264.                             LastDate      : String[8];
  265.                             PrivateSec    : Integer;
  266.                             HangUpDelay   : Byte;
  267.                             UseHiSpeed,
  268.                             AvailBoolean  : Boolean;
  269.                             IRQ1,
  270.                             IRQ2,
  271.                             IRQ3,
  272.                             IRQ4,
  273.                             IRQ5,
  274.                             IRQ6,
  275.                             IRQ7,
  276.                             IRQ8          : Byte;
  277.                             BreakLen      : Word;
  278.                             ExtraBytes    : Array[0..21] Of Byte;
  279.                             ColorMonitor  : Boolean;
  280.                           End;
  281.