427fef992306654becd9988cbd95cc8e98d34156 braney Mon Jan 9 16:50:30 2023 -0800 oops, forgot an include file diff --git src/hg/inc/hubConnect.h src/hg/inc/hubConnect.h index d41c07e..3f00115 100644 --- src/hg/inc/hubConnect.h +++ src/hg/inc/hubConnect.h @@ -184,16 +184,19 @@ /* 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. */ void addPublicHubsToHubStatus(struct cart *cart, struct sqlConnection *conn, char *publicTable, char *statusTable); /* Add urls in the hubPublic table to the hubStatus table if they aren't there already */ struct hash *buildPublicLookupHash(struct sqlConnection *conn, char *publicTable, char *statusTable, struct hash **pHash); /* Return a hash linking hub URLs to struct hubEntries. Also make pHash point to a hash that just stores * the names of the public hubs (for use later when determining if hubs were added by the user) */ boolean hubConnectIsCurated(char *db); /* Look in the dbDb table to see if this hub is curated. */ + +boolean hubConnectGetCuratedUrl(char *db, char **hubUrl); +/* Check to see if this db is a curated hub and if so return its hubUrl */ #endif /* HUBCONNECT_H */