home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / n / newsflash / !FileBase / !NewsFlash / Docs / Developers / Structures / FileBase < prev    next >
Encoding:
Text File  |  1996-07-28  |  1.2 KB  |  55 lines

  1. Last update: 6/1/96
  2.  
  3. NewsFlash filebase details:
  4.  
  5. Files:
  6.  
  7. FileDesc       - Holds short and long file descriptions
  8.  
  9. FileBase       - 64 byte blocks for each file
  10.  
  11.  
  12. Format of filedesc:
  13.  
  14. Length <short>
  15. ALIGN
  16. Length <long>
  17. ALIGN
  18.  
  19. Format of filebase:
  20.  
  21. &00   Number of files in filebase
  22. &04   Next file code
  23. &08   Number of deleted files
  24. &0C   First deleted file (0 for none)
  25. &10   Last deleted file (0 for none)
  26.  
  27. &14   File blocks:
  28.  
  29. File blocks (64 bytes each)
  30.  
  31. &00   Filename
  32. &10   Filecode
  33. &14   Pointer to short file description (-1 for none)
  34. &18   Pointer to long file description (-1 for none)
  35. &1C   Length of file
  36. &20   User number of who uploaded
  37. &22   Destination user number (0 for public)/Owner
  38. &24   5-byte Time from 1900 when uploaded
  39. &29   Flags:
  40.  
  41.       Bit 0 - For sysop only
  42.       Bit 1 - Deleted (virtual)
  43.       Bit 2 - File has been deleted (actual)
  44.       Bit 3 - Is file area (see &2B)
  45.       
  46. &2B   File area type (0 - File area, 1 File base, 2 - File
  47. &2C   File area file belongs to.  (from 1)
  48. &30   # of times downloaded
  49. &34   Previous file in this file area (0 for none)
  50. &38   Next file in this file area (0 for none)
  51. &3C   NewsFlash file type
  52.  
  53. Reserved from then on..
  54.  
  55.