05eb41c63af8ccd369f76b022d3cf1faab5543c2 braney Thu May 26 16:25:07 2022 -0700 changes to support curated hubs diff --git src/hg/inc/hubConnect.h src/hg/inc/hubConnect.h index cfad47f..423f41c 100644 --- src/hg/inc/hubConnect.h +++ src/hg/inc/hubConnect.h @@ -1,27 +1,30 @@ /* hubConnect - stuff to manage connections to track hubs. Most of this is mediated through * the hubStatus 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 hubStatus * table by design. We just want field-by-field access to this. */ /* Copyright (C) 2014 The Regents of the University of California * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ #ifndef HUBCONNECT_H #define HUBCONNECT_H +#define hubCuratedPrefix "hub:" +/* Prefix to hub path in dbDb.nibPath */ + #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 hgHubCheckUrl "hubCheckUrl" /* name of cgi variable containing hub name to check */