SPITFIRE.REC

11.5 KB a31ed54c99d4c7b0…
        Global record structure for SPITFIRE version 3.1.
        Copyright 1991, Buffalo Creek Software - All rights reserved.

        Buffalo Creek Software
        913 - 39th Street
        West Des Moines, Iowa 50265


        (* SFDOORS.DAT *)
        User Number (* the record number in SFUSERS.DAT of the caller       *)
        User Name   (* the full name of the caller                          *)
        Password    (* the password of the caller                           *)
        First Name  (* the first name of the caller                         *)
        Baud Rate   (* baud rate of the caller - i.e. 2400 { 0 if local }   *)
        Comm port   (* COMM port being used by SPITFIRE                     *)
        Time Left   (* number of minutes the caller has left this log-on    *)
        Time        (* number seconds since midnight when entering the door *) 
        Path        (* the path in which SPITFIRE.EXE resides {C:\SF\}      *)
        Ansi_On     (* TRUE if caller is using ANSI else FALSE              *)
        SecLevel    (* the security level of the caller                     *)
        Uploads     (* the number of uploads the caller has made            *)
        Downloads   (* the number of downloads the caller has made          *)
        This Time   (* total number of minutes allowed for this call        *)
        Time On     (* number of seconds since midnight when logged on      *)
        Extra Time  (* number of seconds the caller has gained since log-on *)
        Sysop Next  (* TRUE if Sysop next feature has been activated        *)
        Front End   (* TRUE if SPITFIRE was booted from a front end program *)
        No DTE Lock (* TRUE if configured for Software Data Flow Control    *)
        MaxBaud     (* maximum baud of the system                           *)
        ErrCorrect  (* TRUE if error correction connection                  *)
        LastMConf   (* last message conference                              *)
        LastFArea   (* last file area                                       *)
        Node Number (* Node on which the caller is logged                   *)
        DLs Per Day (* Number of files allowed to be downloaded per day     *)
        DLs Today   (* Number of files the caller has downloaded this day   *)
        Daily Bytes (* Number of downloadable bytes per day                 *)
        Bytes Today (* Number of bytes the caller has downloaded this day   *)
        TotalUK     (* Number of K bytes uploaded by the caller             *)
        TotalDK     (* Number of K Bytes downloaded by the caller           *)
        Phone #     (* The callers phone number                             *)
        City/State  (* The callers city and state                           *)

        TYPE
          UserDefaults  = (HotKey,Reserved,Pause);

          (* SFMSG[x].PTR *)
         MessagePtr    = Record
                           MDate            : String[17];
                           FromWho,
                           ToWho,
                           OrgTo            : String[30];
                           Subject          : String[40];
                           NetMail,
                           MsgSent,
                           PurgeWhenSent,
                           ThreadMsg,
                           ThreadStart,
                           Private,Deleted,
                           Received         : Boolean;
                           Where,
                           NumberofRecords  : Word;
                           Conference       : Integer;
                           MsgNumber,
                           OrgMsgNumber     : LongInt;
                           Extra            : Array[0..81] Of Byte;
                         End;

         (* SFMSG[x].IDX *)
         MessageIdx    = Record
                           FromWhoCRC,
                           ToWhoCRC,
                           MsgNumber,
                           OrgMsgNumber : LongInt;
                         End;

          (* SFMSG[x].DAT *)
          MessageBody   = Record
                            MsgData : String[127];
                           End;

          (* SFFAREA.DAT *)
          FileSystem    = Record
                            FSec          : Integer;
                            FDesc         : String[40];
                            FilePath,
                            UploadPath    : String[60];
                            ShowToAll,
                            FEqual,
                            CDRom         : Boolean;
                            Extra         : Array[1..88] Of Byte;
                          End;

          (* SFMCONF.DAT *)
          MsgSystem     = Record
                            MSec           : Integer;
                            NetMailConf    : Boolean;
                            MDesc          : String[40];
                            MEqual,
                            PublicMsgConf,
                            AllowDelete,
                            BackupNeeded   : Boolean;
                            DaysOld        : Word;
                            DelOldThdMsg   : Boolean;
                            Extra          : Array[1..77] Of Byte;
                          End;

          (* SFMSG[X].LMR *)
          LastMessage   = Record
                            LMsgRed : LongInt;
                          End;

          (* SFUSERS.PTR *)
          UsersPtr      = Record
                            Name : String[30];
                          End;                  

          (* SFUSERS.DAT *)
          Users         = Record
                            UserName,
                            CallingFrom      : String[30];
                            Password,
                            TimeDate         : String[14];
                            PhoneNumber      : String[12];
                            BirthDate        : String[8];
                            SecurityLevel    : Integer;
                            Uploads,
                            Downloads,
                            TotalUK,
                            TotalDK          : LongInt;
                            TimesOn,
                            TimeLeft,
                            Last_M_Conf,
                            Last_F_Area,
                            TransPro         : Integer;
                            Defaults         : Set Of UserDefaults;
                            FirstLogDate     : String[8];
                            SubscriptionDate : LongInt;
                            ConfQueue        : Array[0..31] Of Byte;
                            ExtraBytes       : Array[1..75] Of Byte;
                            AllowPurge,
                            BadLastOff,
                            ScrollBack,
                            Xpert,
                            LockedOut,
                            Deleted          : Boolean;
                            Linelen,
                            Pagelen,
                            OnToday,
                            Illegal,
                            DLToday,
                            ForeGround       : Byte;
                            ExtraWord        : Word;
                            DLBytes          : LongInt;
                            NewFCheck        : String[8];
                            OrgSecurity,
                            ChatsToday       : Integer;      
                            Extra            : Array[1..21] Of Byte;
                          End;

          (* SFEVENTS.DAT *)
          EventSchedule = Record
                            Active    : Byte;
                            DoneToday : Boolean;
                            Time      : Real;
                            WhichDay  : Byte;
                          End;

          (* SFSYSTEM.DAT *)
          SysRec        = Record
                            NoInputTime   : Byte;
                            CallsToday,
                            MsgToday,
                            UpToday,
                            DownToday,
                            DailyLimit,
                            DailyLogons,
                            LogonLimit,
                            SysopSecurity,
                            NUS,
                            NUTL,
                            DownsPerDay,
                            D_URatio,
                            MaxUsers,
                            NotUsed       : Word;
                            DoorsAmt      : Integer;
                            Callernum     : LongInt;
                            LastDate      : String[8];
                            StartDate     : String[18];
                            DOSPassword   : String[28];
                            SysopName,
                            SysMsgName    : String[30];
                            USPhone,
                            ConvertDesc,
                            HeySysop,
                            UseNetMail,
                            MultiNode     : Boolean;
                            NumberOfNodes : Byte;
                            ExtraInt      : Integer;
                            ScanAllMsg,
                            OfferDefault  : Boolean;
                            ViolationSec  : Integer;
                            NUBirthDate,
                            CompFileSrch  : Boolean;
                            ExtraBytes    : Array[0..87] Of Byte;
                          End;

          (* SFWHOSON.DAT *)
          NodesDat      = Record
                            UserNo : Integer;
                            Mode   : Char;
                            DBytes : Array[1..3] Of Byte;
                          End;

          (* SFNODE.DAT *)
          NodeSysRec    = Record
                            DirectScrn,
                            ShowResult,
                            Extran,
                            PrinterOn,
                            AnsiAvl,
                            Private,
                            SecondPassword,
                            Page_On       : Boolean;
                            MinimumBaud   : Word;
                            MsgInfo,
                            NewFileInfo,
                            SoftControl,
                            ErrChk        : Boolean;
                            CorrectionMsg : String[3];
                            WorkPath,
                            DisplayPath,
                            ExtranPath,
                            MsgPath       : String[28];
                            ModInitStr    : String[56];
                            ComPort       : Word;
                            RingNo,
                            Node          : Byte;
                            MaxBaud,
                            TimeToday     : LongInt;
                            TimeComp      : Real;
                            LastDate      : String[8];
                            PrivateSec    : Integer;
                            HangUpDelay   : Byte;
                            UseHiSpeed
                            EnforceRatio  : Boolean;
                            IRQ1,
                            IRQ2,
                            IRQ3,
                            IRQ4,
                            IRQ5,
                            IRQ6,
                            IRQ7,
                            IRQ8          : Byte;
                            ExtraBytes    : Array[0..24] Of Byte;
                          End;