b274662adfb195dd49ab8de8bb3d5d92f2fb7ca9 braney Sat Aug 6 11:27:33 2011 -0700 add soft-reset button to hgHubConnect (#4815) diff --git src/hg/inc/hubConnect.h src/hg/inc/hubConnect.h index e36fbba..31bdf86 100644 --- src/hg/inc/hubConnect.h +++ src/hg/inc/hubConnect.h @@ -89,25 +89,28 @@ /* 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 */ +unsigned hubResetError(char *url); +/* clear the error for this url in the hubStatus table,return the id */ + unsigned hubClearStatus(char *url); /* drop the information about this url from the hubStatus table,return the id */ void hubDisconnect(struct cart *cart, char *url); /* 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 */