9705bb76d49dcf669b40cb926c2f00e5827cc61f kent Tue Jan 18 23:57:14 2011 -0800 Moving a bbiFile processing routine from hgTracks to library, so hgc could use it too. Using it to make hgc on bigBed work better. diff --git src/hg/inc/hdb.h src/hg/inc/hdb.h index 7390136..e1f043d 100644 --- src/hg/inc/hdb.h +++ src/hg/inc/hdb.h @@ -829,16 +829,19 @@ boolean trackIsType(char *database, char *table, struct trackDb *parent, char *type, struct customTrack *(*ctLookupName)(char *table)); /* Return TRUE track is a specific type. Type should be something like "bed" or * "bigBed" or "bigWig" * if table has no parent trackDb pass NULL for parent * If this is a custom track, pass in function ctLookupName(table) which looks up a * custom track by name, otherwise pass NULL */ boolean hIsBigBed(char *database, char *table, struct trackDb *parent, struct customTrack *(*ctLookupName)(char *table)); /* Return TRUE if table corresponds to a bigBed file. * if table has no parent trackDb pass NULL for parent * If this is a custom track, pass in function ctLookupName(table) which looks up a * custom track by name, otherwise pass NULL */ +char *bbiNameFromSettingOrTable(struct trackDb *tdb, struct sqlConnection *conn, char *table); +/* Return file name from bigDataUrl or little table. */ + #endif /* HDB_H */