home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 19 / CD_ASCQ_19_010295.iso / vrac / pscn113e.zip / FILEINFO.INC < prev    next >
Text File  |  1994-12-04  |  6KB  |  142 lines

  1. (****************************************************************************
  2.  *                      PalmScan v1.13 FileInfo system                      *
  3.  *                                                                          *
  4.  *        Copyright (C) 1993,94 Steven Hendriks, all rights reserved        *
  5.  *                                                                          *
  6.  *  Information in this document is subject to change without prior notice  *
  7.  ****************************************************************************)
  8.  
  9. Type
  10.      FileInfoBlock = Record
  11.                       CreatedBy   : String[60]; {Created by which program}
  12.                       Area        : String[60];
  13.                       FileName    : String[12];
  14.                       NewName     : String[12]; {The new filename after
  15.                                                  archive conversion}
  16.                       FilePath    : String[60];
  17.                       TickFile    : String[12]; {The filename of the
  18.                                                  accompanying tick-file,
  19.                                                  if any}
  20.                       ConvertTo   : String[3];  {Archive format to convert to}
  21.  
  22.                       Attrib1     : Byte;
  23.                       { Bitmapped : 0 - Bit 1 used
  24.                                     1 - Virus Scan
  25.                                     2 - Bit 3 used
  26.                                     3 - Convert All
  27.                                     4 - Bit 5 used
  28.                                     5 - Add GIF specs
  29.                                     6 - Bit 7 used
  30.                                     7 - Import FILE_ID.DIZ description }
  31.  
  32.                       Attrib2     : Byte;
  33.                       { Bitmapped : 0 - Bit 1 used
  34.                                     1 - Convert AV
  35.                                     2 - Bit 3 used
  36.                                     3 - Convert embedded archives
  37.                                     4 - Bit 5 used
  38.                                     5 - Reserved
  39.                                     6 - Bit 7 used
  40.                                     7 - Reserved                  }
  41.  
  42.                       Result      : Byte;
  43.                       { Bitmapped : 0 - Infected
  44.                                     1 - Bad archive (can't be unpacked)
  45.                                     2-7 - Unused                        }
  46.  
  47.                       ExtraSpace  : Array[1..367] of Byte;
  48.                       DescriptionSize : LongInt;
  49.                      End;
  50.  
  51. { The FileInfo file should be named FILEINFO.FIX, and placed in the
  52.   current directory (the directory from where PalmScan is executed).
  53.  
  54.   It consists of FileInfoBlocks and DescriptionBlocks. The
  55.   DescriptionBlock is placed right after each FileInfoBlock, and should be
  56.   normal ascii text.
  57.  
  58.   FILEINFO.FIX : .==================.
  59.                  | FileInfoBlock    | \
  60.                  +------------------+  > File #1
  61.                  | DescriptionBlock | /
  62.                  +==================+
  63.                  | FileInfoBlock    | \
  64.                  +------------------+  > File #2
  65.                  | DescriptionBlock | /
  66.                  +==================+
  67.                  | etc...           |
  68.  
  69.  
  70.   FileInfoBlock descriptions:
  71.  
  72.  
  73.   CreatedBy     : Which program created this FileInfo file.
  74.  
  75.   Area          : The area name in which this file arrived/exists.
  76.  
  77.   FileName      : The filename of this file.
  78.  
  79.   NewName       : When PalmScan has processed this file, this will be the
  80.                   filename after conversion. When empty, PalmScan has not
  81.                   processed this file.
  82.  
  83.   FilePath      : The directory where this file resides.
  84.  
  85.   TickFile      : The filename of the tick-file accompanying this file. This
  86.                   is not used by PalmScan, though it can be of use for some
  87.                   file echo processors.
  88.  
  89.   ConvertTo     : The archive format to which this archive should be
  90.                   converted. When empty, no archive conversion will be done.
  91.                   ANY = Use default archiver.
  92.                   Examples : ARC,ZIP,LHA,ZOO,SQZ,HYP,ARJ,HAP,PAK,UC2,RAR
  93.  
  94.   Attrib1       : bits 0,1 - Should files be scanned for virusses
  95.                              0,x = Use default settings
  96.                              1,0 = No
  97.                              1,1 = Yes
  98.  
  99.                   bits 2,3 - Should files which are already in the target
  100.                              format (ConverTo) also be converted
  101.                              0,x = Use default settings
  102.                              1,0 = No
  103.                              1,1 = Yes
  104.  
  105.                   bits 4,5 - Should GIF specifications be added to
  106.                              descriptions
  107.                              0,x = Use default settings
  108.                              1,0 = No
  109.                              1,1 = Yes
  110.  
  111.                   bits 6,7 - Should FILE_ID.DIZ/DESC.SDI descriptions be
  112.                              imported
  113.                              0,x = Use default settings
  114.                              1,0 = No
  115.                              1,1 = Yes
  116.  
  117.   Attrib2       : bits 0,1 - Should archives which have a valid security
  118.                              envelope or authenticity validation be converted
  119.                              0,x = Use default settings
  120.                              1,0 = No
  121.                              1,1 = Yes
  122.  
  123.                   bits 2,3 - Should embedded archives be converted
  124.                              0,x = Use default settings
  125.                              1,0 = No
  126.                              1,1 = Yes
  127.  
  128.                   bits 4-7 are reserved for future use
  129.  
  130.   Result        : bit 0 - If set, infected files were found inside this
  131.                           archive
  132.                   bit 1 - If set, the archive is corrupt (ie. couldn't be
  133.                           unpacked by the archiver for this archive type).
  134.                   bits 2-7 are not used yet
  135.  
  136.   DescriptionSize : The size in bytes of the DescriptionBlock, which is
  137.                     placed after each FileInfoBlock.
  138.  
  139. }
  140.  
  141. (* End of FILEINFO.INC *)
  142.