src/inc/bbiFile.h 1.7

1.7 2009/03/15 00:17:51 kent
Adding asFile to bigBed.
Index: src/inc/bbiFile.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/bbiFile.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -b -B -U 4 -r1.6 -r1.7
--- src/inc/bbiFile.h	10 Feb 2009 22:06:18 -0000	1.6
+++ src/inc/bbiFile.h	15 Mar 2009 00:17:51 -0000	1.7
@@ -12,14 +12,16 @@
  *         fullDataOffset	8 bytes
  *	   fullIndexOffset	8 bytes
  *         fieldCount           2 bytes (bigBed only)
  *         definedFieldCount    2 bytes (bigBed only)
- *         reserved            28 bytes
+ *         autoSqlOffset             8 bytes (bigBed only)
+ *         reserved            20 bytes
  *     zoomHeaders		there are zoomLevels number of these
  *         reductionLevel	4 bytes
  *	   reserved		4 bytes
  *	   dataOffset		8 bytes
  *         indexOffset          8 bytes
+ *     autoSql string (zero terminated)
  *     chromosome b+ tree       bPlusTree index
  *     full data
  *         sectionCount		4 bytes
  *         section data		section count sections, of three types
@@ -69,8 +71,9 @@
     bits64 unzoomedDataOffset;	/* Start of unzoomed data. */
     bits64 unzoomedIndexOffset;	/* Start of unzoomed index. */
     bits16 fieldCount;		/* Number of columns in bed version. */
     bits16 definedFieldCount;   /* Number of columns using bed standard definitions. */
+    bits64 asOffset;		/* Offset to embedded null-terminated AutoSQL file. */
     struct cirTreeFile *unzoomedCir;	/* Unzoomed data index in memory - may be NULL. */
     struct bbiZoomLevel *levelList;	/* List of zoom levels. */
     };