883ad9c400e0ffd7532d9823720e11372800c921
braney
  Thu Nov 6 13:28:13 2014 -0800
add "hubClear" url variable to tell the browser to connect theassociated hub, and to disconnect from all the hubs with the same
prefix.  #13382

diff --git src/hg/inc/hubConnect.h src/hg/inc/hubConnect.h
index ab01c9f..486e3fc 100644
--- src/hg/inc/hubConnect.h
+++ src/hg/inc/hubConnect.h
@@ -19,30 +19,33 @@
 #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 hgHubDataClearText      "hubClear"
+/* 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 hgHubDoSearch      hgHubDo "search"
 #define hgHubDoDeleteSearch      hgHubDo "deleteSearch"
 #define hgHubDoDisconnect  hgHubDo "disconnect"
 #define hgHubDoFirstDb     hgHubDo "firstDb"
 #define hgHubDoDecorateDb  hgHubDo "decorateDb"
 #define hgHubDoRedirect    hgHubDo "redirect"