09f396b33776cf8466273dfd05ce3d386febb799 braney Thu Jun 5 08:25:27 2014 -0700 some hgHubConnect clean ups diff --git src/hg/inc/hubConnect.h src/hg/inc/hubConnect.h index 867a03c..e3a13a8 100644 --- src/hg/inc/hubConnect.h +++ src/hg/inc/hubConnect.h @@ -13,43 +13,45 @@ #define defaultHubPublicTableName "hubPublic" /* Name of our table with list of public hubs. read only */ #define hubPublicTableConfVariable "hub.publicTableName" /* the name of the hg.conf variable to use something other than the default */ #define defaultHubStatusTableName "hubStatus" /* Name of table that maintains status of hubs read/write. */ #define hubStatusTableConfVariable "hub.statusTableName" /* the name of the hg.conf variable to use something other than the default */ #define hgHubConnectTimeToCheck "hub.timeToCheck" /* the number of seconds to wait before checking the hub again */ +#define hgHubCheckUrl "hubCheckUrl" +/* name of cgi variable containing hub name to check */ + #define hgHubDataText "hubUrl" /* 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 hgHubDoFirstDb hgHubDo "firstDb" #define hgHubDoDecorateDb hgHubDo "decorateDb" 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;