1ae84cc8ece407ee1646cd2812eb715c30255550 braney Thu Jul 21 14:38:48 2011 -0700 changes out of code review #4647 diff --git src/hg/inc/hubConnect.h src/hg/inc/hubConnect.h index 6525f7f..e36fbba 100644 --- src/hg/inc/hubConnect.h +++ src/hg/inc/hubConnect.h @@ -89,24 +89,25 @@ /* Go find hub for trackName (which will begin with hub_), and load the tracks * for it, appending to end of list and adding to trackHash. Return the * trackDb associated with trackName. */ char *hubFileVar(); /* return the name of the cart variable that holds the name of the * file in trash that has private hubs */ boolean hubWriteToFile(FILE *f, struct hubConnectStatus *el); /* write out a hubConnectStatus structure to a file */ unsigned hubFindOrAddUrlInStatusTable(char *database, struct cart *cart, char *url, char **errorMessage); /* find or add a URL to the status table */ -void hubClearStatus(char *url); -/* delete the status for this hub from the status table */ +unsigned hubClearStatus(char *url); +/* drop the information about this url from the hubStatus table,return the id */ void hubDisconnect(struct cart *cart, char *url); -/* disconnect this hub (remove from status and cart) */ +/* drop the information about this url from the hubStatus table, and + * the cart variable the references this hub */ boolean hubCheckForNew(char *database, struct cart *cart); /* see if the user just typed in a new hub url, return TRUE if so */ #endif /* HUBCONNECT_H */