77da195bc4b0f335574943a2daca3afd4677e8b8
braney
  Fri Apr 26 14:47:29 2013 -0700
libify the connection to all the hubs by request of Angie.
diff --git src/hg/inc/hubConnect.h src/hg/inc/hubConnect.h
index 24e93ec..e3290e4 100644
--- src/hg/inc/hubConnect.h
+++ src/hg/inc/hubConnect.h
@@ -128,16 +128,20 @@
 
 boolean trackHubHasDatabase(struct trackHub *hub, char *database) ;
 /* Return TRUE if hub has contents for database */
 
 struct trackDb *hubAddTracks(struct hubConnectStatus *hub, char *database, 
     struct trackHub **pHubList);
 /* Load up stuff from data hub and append to list. The hubUrl points to
  * a trackDb.ra format file.  */
 
 struct hubConnectStatus *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 trackDb *hubCollectTracks( char *database, struct trackHub **pHubList, struct grp **pGroupList);
+/* Generate trackDb structures for all the tracks in attached hubs.  
+ * Make grp structures for each hub. */
+
 #endif /* HUBCONNECT_H */