home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ASP Advantage 1996 June
/
aspcd9606.iso
/
bbsvend
/
toc.doc
< prev
Wrap
Text File
|
1995-05-30
|
4KB
|
88 lines
DOZ/TOC Data Structure Revised : 05-31-95 03:12am
-----------------------------------------------------------------------
CONTENTS.TOC is designed to be the central database for the ASP CD-ROM.
It contains information about the various programs, including various
program filenames, detailed descriptions, author info, etc.
It's designed primarily for use by the software on the CD, but may
be accessed by user-written utilities to provide extended services to
the recipients of the CD. Through CONTENTS.TOC, alternate front-ends,
direct BBS software access, lookup utilities and more should be easily
possible.
CONTEBTS.TOC will always be in the root directory of the CD, where
utility programs will be able to access it.
The file is simply a string of DESCRIBE-type DOZ records appended into
a single file. Since each record is 2,560 bytes in length, the number
of records can be determined by dividing the file length by 2560.
The structure of each record is:
element
length data type description value
----------------------------------------------------------------------
2 string DOZ file signature DS
2 integer data version 1
24 string program name
8 string program category
1 byte category list version 0
8 string program version number
2 integer author's program number
12 string documentation filespec
12 string registration filespec
8 string ZIP file name (excluding ".ZIP")
8 string install command
8 string configuration command
8 string program run command
8 string author's default directory for installation
8 string disk volume label to be used on vendor disks
4 long integer disk space required for install
2 integer non-zero if VGA required to run program
2 integer non-zero if mouse required to run program
10x45 string BBS description (from FILE_ID.DIZ)
20x75 string long text description (wrapped)
6 string record date (YYMMDD)
2 integer program language (default to 0 for english)
30 string author name
2 integer ASP author number
30 string author address line 1
30 string author address line 2
30 string author address line 3
30 string author address line 4
20 string RESERVED
20 string RESERVED
40 string author E-Mail address
3 string author's prefered language file (for DESCRIBE)
8 string ASP CD directory location
6 string RESERVED
8 string ZIP file date (MM-DD-YY)
4 long integer ZIP file size
76 string RESERVED
2 integer RESERVED
2 integer RESERVED
2 integer RESERVED
2 integer RESERVED
6 string processing date (internal use only)
2 integer delta flag (non-zero if new file)
1 string operating system 'D' - MS DOS
'W' - Windows
'O' - OS/2
'M' - Macintosh
121 string RESERVED for future use
----------------------------------------------------------------------
conventions:
- strings are fixed length, blank padded and unterminated
- accessing software should confirm signature bytes before accessing
- current data version is 1, and will change only if the currently
defined elements of the structure change - addition of new elements
in RESERVED areas will not cause a change in the data version number
- category list version is 0 and will change only if the category list
is restructured in such a way that would make the recorded categories
meaningless