c4ebea6f863d96a9e9dbfe40ac67193ece91b346 braney Tue May 13 17:26:39 2014 -0700 adding the ability to search hubs for content. diff --git src/hg/inc/trackHub.h src/hg/inc/trackHub.h index b4e7f37..60d7121 100644 --- src/hg/inc/trackHub.h +++ src/hg/inc/trackHub.h @@ -23,30 +23,32 @@ /* A track hub. */ { struct trackHub *next; char *url; /* URL of hub.ra file. */ struct trackHubGenome *genomeList; /* List of associated genomes. */ struct hash *genomeHash; /* Hash of genomeList keyed by genome name. */ struct hash *settings; /* Settings from hub.ra file. */ /* Required settings picked out for convenience. All allocated in settings hash */ char *shortLabel; /* Hub short label. Not allocated here. */ char *longLabel; /* Hub long label. Not allocated here. */ char *genomesFile; /* URL to genome.ra file. Not allocated here. */ char *name; /* Symbolic name of hub in cart, etc. From trackHubOpen hubName parameter. */ + + char *descriptionUrl; /* URL to description file */ }; struct trackHubGenome /* A genome serviced within a track hub. */ { struct trackHubGenome *next; char *name; /* Something like hg18 or mm9, a UCSC assembly database name. */ char *trackDbFile; /* The base trackDb.ra file. */ struct hash *settingsHash; /* Settings from hub.ra file. */ char *twoBitPath; /* URL to twoBit. If not null, this is an assmebly hub*/ struct twoBitFile *tbf; /* open handle to two bit file */ char *groups; /* URL to group.txt file */ char *defaultPos; /* default position */ char *organism; /* organism name, like Human */ char *description; /* description, also called freeze name */