2e6d6714eb049206db111387d29ec81433cdd1f2 braney Sun Oct 9 10:07:07 2011 -0700 don't reopen the trackHub's since they get opened when we check the status diff --git src/hg/inc/hubConnect.h src/hg/inc/hubConnect.h index fd20091..4f18cb7 100644 --- src/hg/inc/hubConnect.h +++ src/hg/inc/hubConnect.h @@ -107,16 +107,21 @@ /* drop the information about this url from the hubStatus table, and * the cart variable the references this hub */ void hubCheckForNew(char *database, struct cart *cart); /* see if the user just typed in a new hub url, add to cart and hubStatus */ struct trackHub *trackHubFromId(unsigned hubId); /* Given a hub ID number, return corresponding trackHub structure. * ErrAbort if there's a problem. */ void hubUpdateStatus(char *errorMessage, struct hubConnectStatus *hub); /* 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, + struct trackHub **pHubList); +/* Load up stuff from data hub and append to list. The hubUrl points to + * a trackDb.ra format file. */ #endif /* HUBCONNECT_H */