e77dcca9b1bffc335f2843c8cfce67119b3d039d braney Wed Nov 30 16:25:50 2011 -0800 allow specifying different names for the hubPublic and hubStatus tables (#6162) diff --git src/hg/inc/hubConnect.h src/hg/inc/hubConnect.h index 4f18cb7..86a226e 100644 --- src/hg/inc/hubConnect.h +++ src/hg/inc/hubConnect.h @@ -1,27 +1,27 @@ /* hubConnect - stuff to manage connections to track hubs. Most of this is mediated through * the hubConnect table in the hgCentral database. Here there are routines to translate between * hub symbolic names and hub URLs, to see if a hub is up or down or sideways (up but badly * formatted) etc. Note that there is no C structure corresponding to a row in the hubConnect * table by design. We just want field-by-field access to this. */ #ifndef HUBCONNECT_H #define HUBCONNECT_H -#define hubPublicTableName "hubPublic" +#define defaultHubPublicTableName "hubPublic" /* Name of our table with list of public hubs. read only */ -#define hubStatusTableName "hubStatus" +#define defaultHubStatusTableName "hubStatus" /* Name of table that maintains status of hubs read/write. */ #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. */ 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. */