79ab7bed49d3d2a550d372fb58ab4bb283a6d31e braney Thu Jan 30 00:08:47 2020 -0800 append trackDb names to the end of the db for trackDb cache directory to support comma-separated lists of trackDb tables diff --git src/hg/inc/trackDb.h src/hg/inc/trackDb.h index f4a1b47..39d7e09 100644 --- src/hg/inc/trackDb.h +++ src/hg/inc/trackDb.h @@ -718,34 +718,34 @@ char *trackDbViewSetting(struct trackDb *tdb, char *name); /* Return view setting from tdb, but *not* any of it's parents. */ struct trackDb *lmCloneTdb(struct lm *lm, struct trackDb *tdb, struct trackDb *parent, struct hash *superHash); /* clone a single tdb structure. Will clone its children if it has any */ struct trackDb *lmCloneTdbList(struct lm *lm, struct trackDb *list, struct trackDb *parent, struct hash *superHash); /* clone a list of tdb structures. */ struct trackDb *lmCloneSuper(struct lm *lm, struct trackDb *tdb, struct hash *superHash); /* clone a super track tdb structure. */ void trackDbHubCloneTdbListToSharedMem(char *trackDbUrl, struct trackDb *list, unsigned long size); /* For this hub, Allocate shared memory and clone trackDb list into it. */ -void trackDbCloneTdbListToSharedMem(char *db, struct trackDb *list, unsigned long size); +void trackDbCloneTdbListToSharedMem(char *db, char *tdbPathString, struct trackDb *list, unsigned long size); /* For this native db, allocate shared memory and clone trackDb list into it. */ -struct trackDb *trackDbCache(char *db, time_t time); -/* Check to see if this db has a cached trackDb. */ +struct trackDb *trackDbCache(char *db, char *tdbPathString, time_t time); +/* Check to see if this db and trackDb table has a cached trackDb. */ struct trackDb *trackDbHubCache(char *trackDbUrl, time_t time); /* Check to see if this hub has a cached trackDb. */ boolean trackDbCacheOn(); /* Check to see if we're caching trackDb contents. */ char *labelAsFiltered(char *label); /* add text to label to indicate filter is active */ char *labelAsFilteredNumber(char *label, unsigned number); /* add text to label to indicate filter is active */ #endif /* TRACKDB_H */