888bc566ca6eee88ace3930c9b59cb7ad24b5697 braney Wed May 28 11:57:46 2014 -0700 some code clean-ups in response to code review diff --git src/hg/inc/hubConnect.h src/hg/inc/hubConnect.h index ba65807..5a2d4f3 100644 --- src/hg/inc/hubConnect.h +++ src/hg/inc/hubConnect.h @@ -29,31 +29,30 @@ /* name of cgi variable containing new hub name */ #define hubTrackPrefix "hub_" /* The names of all hub tracks begin with this. Use in cart. */ #define hgHubSearchTerms "hubSearchTerms" /* name of cart/cgi variable containing the current search terms */ #define hgHub "hgHub_" /* prefix for all control variables */ #define hgHubDo hgHub "do_" /* prefix for all commands */ #define hgHubDoClear hgHubDo "clear" #define hgHubDoReset hgHubDo "reset" #define hgHubDoSearch hgHubDo "search" #define hgHubDoDeleteSearch hgHubDo "deleteSearch" #define hgHubDoDisconnect hgHubDo "disconnect" -#define hgHubDoConnect hgHubDo "connect" boolean isHubTrack(char *trackName); /* Return TRUE if it's a hub track. */ struct hubConnectStatus /* Basic status in hubStatus. Note it is *not* the same as the * hubStatus table, that has a bunch of extra fields to help * keep track of whether the hub is alive. */ { struct hubConnectStatus *next; unsigned id; /* Hub ID */ char *hubUrl; /* URL to hub.ra file. */ char *errorMessage; /* If non-empty hub has an error and this describes it. */ struct trackHub *trackHub; /* pointer to structure that describes hub */ unsigned status; /* 1 if private */