7033f67074594c3d9cc3487f079456928fdf3260
angie
  Tue Apr 12 13:46:14 2016 -0700
Major change to hgGateway: the contents are replaced by a new page designed by a graphic artist.
It has icons for selecting popular species, an autocomplete input for typing in species or common names,
as well as a phylogenetic tree display that shows the relationships of the species that we host.
It has a menu for selecting the assembly of the selected species' genome and the usual assembly
description.

refs #15277

diff --git src/hg/inc/hubConnect.h src/hg/inc/hubConnect.h
index 4e2fdca..25d52d1 100644
--- src/hg/inc/hubConnect.h
+++ src/hg/inc/hubConnect.h
@@ -141,25 +141,38 @@
 /* set the error message in the hubStatus table */
 
 boolean trackHubHasDatabase(struct trackHub *hub, char *database) ;
 /* Return TRUE if hub has contents for database */
 
 struct trackDb *hubAddTracks(struct hubConnectStatus *hub, char *database);
 /* Load up stuff from data hub and append to list. The hubUrl points to
  * a trackDb.ra format file.  */
 
 char *hubConnectLoadHubs(struct cart *cart);
 /* load the track data hubs.  Set a static global to remember them */
 
 struct hubConnectStatus *hubConnectGetHubs();
 /* return the static global to the track data hubs */
 
+struct trackHub *hubConnectGetHub(char *hubUrl);
+/* Return the connected hub for hubUrl, or NULL if not found.  Do not free result. */
+
+struct trackHub *hubConnectGetHubForDb(char *db);
+/* Return the connected hub for db, or NULL if not found.  Do not free result. */
+
 struct trackDb *hubCollectTracks( char *database, struct grp **pGroupList);
 /* Generate trackDb structures for all the tracks in attached hubs.  
  * Make grp structures for each hub. Returned group list is reversed. */
 
 char *hubConnectSkipHubPrefix(char *trackName);
 /* Given something like "hub_123_myWig" return myWig.  Don't free this, it's not allocated */
 
 struct hubConnectStatus *hubConnectNewHub();
 /* return the hub of the hubUrl we added (if any) */
+
+char *hubPublicTableName();
+/* Get the name of the table that lists public hubs.  Don't free the result. */
+
+char *hubNameFromUrl(char *hubUrl);
+/* Given the URL for a hub, return its hub_# name. */
+
 #endif /* HUBCONNECT_H */