72e0ce1046d3a1839e66dd6dc196d734f24a445d kent Thu Jun 17 14:23:40 2010 -0700 Adding a few functions to cart and trackDb to make it easier to buildcarts and trackDbs out of an existing string-valued hash. diff --git src/hg/inc/trackDb.h src/hg/inc/trackDb.h index 71795b6..48a71d7 100644 --- src/hg/inc/trackDb.h +++ src/hg/inc/trackDb.h @@ -178,16 +178,12 @@ /* ----------- End of AutoSQL generated code --------------------- */ +struct trackDb *trackDbNew(); +/* Allocate a new trackDb with just very minimal stuff filled in. */ + int trackDbCmp(const void *va, const void *vb); /* Sort track by priority. */ -#ifdef UNUSED -void trackDbOverrideVisbility(struct hash *tdHash, char *visibilityRa, - boolean hideFirst); -/* Override visbility settings using a ra file. If hideFirst, set all - * visibilities to hide before applying visibilityRa. */ -#endif /* UNUSED */ - void trackDbOverridePriority(struct hash *tdHash, char *priorityRa); /* Override priority settings using a ra file. */