217c8a80da9dfabfda95956e5b9b40435f0a9a79
kent
  Thu Jan 13 19:56:32 2011 -0800
Making hub work with table browser.
diff --git src/hg/hgTables/hgTables.h src/hg/hgTables/hgTables.h
index be8396c..44610dd 100644
--- src/hg/hgTables/hgTables.h
+++ src/hg/hgTables/hgTables.h
@@ -29,30 +29,31 @@
     char *chrom;		/* Chromosome. */
     int start;			/* Zero-based. */
     int end;			/* Non-inclusive. */
     boolean fullChrom;		/* If TRUE it's full chromosome. */
     char *name;			/* possibly the encode region name */
     };
 
 /* Global variables - generally set during initialization and then read-only. */
 extern struct cart *cart;	/* This holds cgi and other variables between clicks. */
 extern struct hash *oldVars;	/* The cart before new cgi stuff added. */
 extern char *genome;		/* Name of genome - mouse, human, etc. */
 extern char *database;		/* Current database, often but not always dbDatabase. */
 extern char *freezeName;	/* Date of assembly. */
 extern struct trackDb *fullTrackList;	/* List of all tracks in database. */
 extern struct hash *fullTrackHash;     /* Hash of tracks in fullTrackList keyed by ->track field. */
+extern struct hash *fullTrackAndSubtrackHash;  /* All tracks and subtracks keyed by track field. */
 extern struct trackDb *forbiddenTrackList; /* List of tracks with 'tableBrowser off' setting. */
 extern struct trackDb *curTrack;	/* Currently selected track. */
 extern struct grp *fullGroupList;	/* List of all groups. */
 extern struct grp *curGroup;	/* Currently selected group. */
 extern struct customTrack *theCtList;	/* List of custom tracks. */
 extern char *curTable;	/* Current selected table. */
 struct joiner *allJoiner;	/* Info on how to join tables. */
 
 /* --------------- HTML Helpers ----------------- */
 
 void hPrintSpaces(int count);
 /* Print a number of non-breaking spaces. */
 
 void writeHtmlCell(char *text);
 /* Write out a cell in an HTML table, making text not too big,