src/hg/inc/hdb.h 1.171

1.171 2010/05/18 22:36:36 kent
Adding hGetTableForTrack. Refactoring things so that this and hGetTrackForTable share the same settings hash.
Index: src/hg/inc/hdb.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/inc/hdb.h,v
retrieving revision 1.170
retrieving revision 1.171
diff -b -B -U 4 -r1.170 -r1.171
--- src/hg/inc/hdb.h	18 May 2010 20:05:32 -0000	1.170
+++ src/hg/inc/hdb.h	18 May 2010 22:36:36 -0000	1.171
@@ -578,8 +578,11 @@
 
 char *hGetTrackForTable(char *db, char *table);
 /* Given a table name, get first track associated with it. */
 
+char *hGetTableForTrack(char *db, char *track);
+/* Given a track name, get table associated with it. */
+
 char *hTrackOpenVis(char *db, char *trackName);
 /* Return "pack" if track is packable, otherwise "full". */
 
 struct dbDb *hGetIndexedDatabases(void);