home *** CD-ROM | disk | FTP | other *** search
/ Beijing Paradise BBS Backup / PARADISE.ISO / software / BBSDOORW / RAFM121.ZIP / RAFMVAR.DOC < prev    next >
Encoding:
Text File  |  1993-02-12  |  9.9 KB  |  282 lines

  1.  
  2.                      RemoteAccess File Manager version 1.21
  3.      ───────────────────────────────────────────────────────────────────────
  4.  
  5.  
  6.  
  7.  
  8.  
  9.      This file describes the structures of the datafiles used by RAFM. You
  10.      can use these structures to create an utility of your own.
  11.  
  12.  
  13.      ╒═════════════════════════════════════════════════════════════════════╕
  14.      │░░░ File: RAFMCONF.DAT ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
  15.      ╘═════════════════════════════════════════════════════════════════════╛
  16.  
  17.      ConfigRecord = Record
  18.                     Voor,
  19.                     Achter,
  20.                     StatusVoor,
  21.                     StatusAchter,
  22.                     Mhigh,
  23.                     FBack,
  24.                     FName,
  25.                     FDate,
  26.                     FSize,
  27.                     FDesc,
  28.                     FCount,
  29.                     Flast,
  30.                     Farch,
  31.                     MoreC :            Byte;
  32.                     DefaultExt :       String[3];
  33.                     PrivateUploads,
  34.                     CheckDupes,
  35.                     GlobalDownload,
  36.                     RestrictedUpload : Boolean;
  37.                     UploadCreditK,
  38.                     UploadCreditT :    Integer;
  39.                     MinSpace :         Longint;
  40.                     UploadArea :       Byte;
  41.                     DownLoadHours :    Boolean;
  42.                     NoDownloadAfter,
  43.                     NoDownLoadBefore : Integer;
  44.                     ConvertArch :      String[3];
  45.                     ConvertDir :       String[50];
  46.                     CommentPad :       String[50];
  47.                     LogOff :           Boolean;
  48.                     CheckVirus :       Boolean;
  49.                     SearchArch,
  50.                     ShowArch,
  51.                     ShowLong,
  52.                     ShowCounter,
  53.  
  54.  
  55.      ───────────────────────────────────────────────────────────────────────
  56.                                                                     Page: 1
  57.  
  58.                      RemoteAccess File Manager version 1.21
  59.      ───────────────────────────────────────────────────────────────────────
  60.  
  61.  
  62.                     ShowDate,
  63.                     ShowKb,
  64.                     ShowNew :          Boolean;
  65.                     TextMissing :      String[30];
  66.                     DateFormat :       Byte;
  67.                     VirusPad :         String[50];
  68.                     LogPad :           String[50];
  69.                     Efficiency :       Byte;
  70.                     FreeKb :           Integer;
  71.                     FreeFiles :        Integer;
  72.                     TextAdopt :        String[210];
  73.                     SfxReArch :        Boolean;
  74.                     UseEms :           Boolean;
  75.                     Swapping :         Boolean;
  76.                     ListMethod :       Byte;
  77.                     DaysInActive :     Integer;
  78.                     DaysToKill :       Integer;
  79.                     MoveInActive :     Boolean;
  80.                     InActiveBoard :    Byte;
  81.                     KillInActive :     Boolean;
  82.                     ExtAscii :         Boolean;
  83.                     AskDays :          Boolean;
  84.                     ArchBoard :        Byte;
  85.                     UpdateBBS :        Boolean;
  86.                     ChatReceivedCol,
  87.                     ChatSendCol,
  88.                     InverseFore,
  89.                     InverseBack :      Byte;
  90.                     ActionDup :        Byte;
  91.                     ActionArch :       Byte;
  92.                     MoveDupTo :        Byte;
  93.                     MoveArchTo :       Byte;
  94.                     StampArchives :    Boolean;
  95.                     ProcessAV :        Boolean; (*New from now on*)
  96.                     SendInfo :         Boolean;
  97.                     InfoFile :         String[50];
  98.                     OnLineCheck :      Boolean;
  99.                     OnLineReArch :     Boolean;
  100.                     DescFirst :        Boolean;
  101.                     StampAdopt :       Boolean;
  102.                     UseFileId :        Boolean;
  103.                     StripHi :          Boolean;
  104.                     Doing :            Array[1..13] of String[70];
  105.                     UseUserOn :        Boolean;
  106.                     ActionInf :        Byte;
  107.                     MoveInf :          Byte;
  108.                     PutGifSpec :       Boolean;
  109.  
  110.  
  111.      ───────────────────────────────────────────────────────────────────────
  112.                                                                     Page: 2
  113.  
  114.                      RemoteAccess File Manager version 1.21
  115.      ───────────────────────────────────────────────────────────────────────
  116.  
  117.  
  118.                     GifSpec :          String[15];
  119.                     end;
  120.  
  121.  
  122.      ╒═════════════════════════════════════════════════════════════════════╕
  123.      │░░░ File: RAFMPROT.DAT ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
  124.      ╘═════════════════════════════════════════════════════════════════════╛
  125.  
  126.      ProtocolRecord = Record
  127.                       Kind :           Byte;
  128.                       Letter :         Char;
  129.                       UploadPad,
  130.                       DownloadPad,
  131.                       Logfile :        String[80];
  132.                       Efficiency,
  133.                       MaxFiles :       Byte;
  134.                       Description :    String[50];
  135.                       DownKeyWord,
  136.                       UpKeyWord :      String[20];
  137.                       DownCount,
  138.                       DescCount :      Byte;
  139.                       Available :      Boolean;
  140.                       end;
  141.  
  142.  
  143.      ╒═════════════════════════════════════════════════════════════════════╕
  144.      │░░░ File: RAFMAREA.DAT ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
  145.      ╘═════════════════════════════════════════════════════════════════════╛
  146.  
  147.      AreaRecord = Record
  148.                   Name :           String[60];
  149.                   FilePath :       String[50];
  150.                   ListSec :        Word;
  151.                   ListFlags :      FlagType;
  152.                   PrivateSec :     Word;
  153.                   PrivateFlags :   Flagtype;
  154.                   DownSec :        Word;
  155.                   DownFlags :      FlagType;
  156.                   UpSec :          Word;
  157.                   UpFlags :        FlagType;
  158.                   PassWord :       String[15];
  159.                   Header :         String[8];
  160.                   Attrib :         Byte;
  161.                                   (*0 = Protected against Maint.
  162.                                     1 = Process Archives
  163.                                     2 = Free downloads
  164.                                     3 = No Update
  165.  
  166.  
  167.      ───────────────────────────────────────────────────────────────────────
  168.                                                                     Page: 3
  169.  
  170.                      RemoteAccess File Manager version 1.21
  171.      ───────────────────────────────────────────────────────────────────────
  172.  
  173.  
  174.                                     4 = Kill deleted records
  175.                                     5 = Skip dupe check
  176.                                     6 = Located on CD-ROM
  177.                                     7 = Not used
  178.                                    *)
  179.                   PassOk :         Boolean;
  180.                   end;
  181.  
  182.      ╒═════════════════════════════════════════════════════════════════════╕
  183.      │░░░ File: RAFMFILE.DAT ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
  184.      ╘═════════════════════════════════════════════════════════════════════╛
  185.  
  186.      FileDataRecord = Record
  187.                       Name :           String[12];
  188.                       Pad :            String[50];
  189.                       Area :           Byte;
  190.                       DownL :          Word;
  191.                       LastAccess :     Longint;
  192.                       DT :             Longint;
  193.                       Size :           Longint;
  194.                       Oms :            String[210];
  195.                       Uploader :       String[35];
  196.                       PassWord :       String[15];
  197.                       Bits :           Byte;
  198.                                       (*0 = Free
  199.                                         1 = Private
  200.                                         2 = Checked
  201.                                         3 = Deleted
  202.                                         4 = Protected
  203.                                         5 = Archive
  204.                                         6 = Comment
  205.                                         7 = Not Used
  206.                                        *)
  207.                       PrevArea :       Byte;
  208.                       end;
  209.  
  210.  
  211.      ╒═════════════════════════════════════════════════════════════════════╕
  212.      │░░░ File: RAFMIDX.DAT ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░│
  213.      ╘═════════════════════════════════════════════════════════════════════╛
  214.  
  215.  
  216.      FileDataIdxRecord = Record
  217.                          Name : String[12];
  218.                          Area : Byte;
  219.                          RecNo : Word;
  220.                          Date : Longint;
  221.  
  222.  
  223.      ───────────────────────────────────────────────────────────────────────
  224.                                                                     Page: 4
  225.  
  226.                      RemoteAccess File Manager version 1.21
  227.      ───────────────────────────────────────────────────────────────────────
  228.  
  229.  
  230.                          Prev : Word;
  231.                          Next : Word;
  232.                          end;
  233.  
  234.      AreaI : Array[1..200] of Record
  235.                               First, Last : Word;
  236.                               end;
  237.  
  238.      AreaI holds pointers to the First and Last record in each area. It's
  239.      located at the start of RAFMIDX.DAT (first 800 bytes) and used to
  240.      quickly locate the first and last file in an area.
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279.      ───────────────────────────────────────────────────────────────────────
  280.                                                                     Page: 5
  281.  
  282.