91d7992f30d5756c352c83ff563405551dc64e1c braney Tue Aug 16 16:37:01 2011 -0700 various changes concerning the soft-reset button for #4815 diff --git src/hg/inc/hubConnect.h src/hg/inc/hubConnect.h index 31bdf86..c4f964a 100644 --- src/hg/inc/hubConnect.h +++ src/hg/inc/hubConnect.h @@ -101,16 +101,23 @@ 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 */ + +struct trackHub *trackHubFromId(struct cart *cart, unsigned hubId); +/* Given a hub ID number, return corresponding trackHub structure. + * ErrAbort if there's a problem. */ + +void hubSetErrorMessage(char *errorMessage, unsigned id); +/* set the error message in the hubStatus table */ #endif /* HUBCONNECT_H */