home *** CD-ROM | disk | FTP | other *** search
- # $Id: topic31.ddd 1.1 1994/07/25 07:28:15 vdk110 Exp $
- # Copyright (C) 1987-1994 Verity, Inc.
- # Document Dataset Descriptor (include file)
- #
- # Options:
- # Add '$define _NO_ATTACHMENTS' before including this file to
- # disable attachments. (Your partitions will have 2 fewer files.)
- #
- # Add '$define _INDEX_ATTACHMENTS' before including this file to make
- # viewing of documents containing attachments faster. (It will make
- # mklinks run significantly slower.)
- #
- # Add '$define _NO_VERSION_CONTROL' before including this file to
- # eliminate the version control fields
- #
- # Add '$define _MANUAL_SECURITY' before including this file to
- # allow a DBA to define his own security field.
- #
- # Add '$define _MANUAL_DOC_FN before including this file to
- # allow a DBA to define his own DOC_FN field.
- #
- data-table: _df
- /num-records=1
- /max-records=1
- {
- constant: _DBVERSION text "31 ddd"
- fixwidth: _DDDSTAMP 4 date
- fixwidth: _MAXDOCID 4 unsigned-integer
- fixwidth: _MAXDOCID_RANGE 4 unsigned-integer
- varwidth: _DOCIDX _dv
- varwidth: _PARTDESC _dv
- fixwidth: _TARGET_PART 80 text
- fixwidth: _SPARE0 60 text
- }
- data-table: _df
- /offset=192
- {
- autoval: _STYLE sirepath
- autoval: _PARTNAME dbroot
- fixwidth: _DOCID 4 unsigned-integer
- $ifndef _MANUAL_SECURITY
- fixwidth: _SECURITY 4 unsigned-integer
- /minmax = yes
- $endif
- $ifndef _NO_VERSION_CONTROL
- fixwidth: _PREV_DOCID 4 unsigned-integer
- fixwidth: _NEXT_DOCID 4 unsigned-integer
- fixwidth: _VERSION 2 unsigned-integer
- fixwidth: _REV_VERSION 2 unsigned-integer
- $endif
- $ifndef _MANUAL_DOC_FN
- varwidth: DOC_FN _dv
- fixwidth: DOC_DT 4 date
- $endif
- fixwidth: _SPARE1 4 text
- }
-
- $ifndef _NO_ATTACHMENTS
- data-table: _d1
- /packed = NO
- {
- fixwidth: _AT_TYPE_MAJ 2 signed-integer
- fixwidth: _AT_TYPE_MIN 2 signed-integer
- $ifndef _INDEX_ATTACHMENTS
- fixwidth: _AT_DOCID 4 signed-integer
- $endif
- fixwidth: _AT_INDEX 4 signed-integer
- varwidth: _AT_BLOB _d2
- /packed = NO
- varwidth: _AT_STREAM _d2
- /packed = NO
- }
- $ifdef _INDEX_ATTACHMENTS
- data-table: _d3
- /packed = NO
- {
- fixwidth: _AT_DOCID 4 signed-integer
- /indexed = YES
- }
- $endif
- $endif
-
- $$