c9cff716524000d6b44e520bbfe0026685fdbbb0 max Thu Dec 15 14:35:38 2016 -0800 making the gbic mirrors identify itself to phoneHome with a distinct string, refs #14399 diff --git src/hg/inc/hdb.h src/hg/inc/hdb.h index 72dd2f6..5cdbd62 100644 --- src/hg/inc/hdb.h +++ src/hg/inc/hdb.h @@ -454,30 +454,33 @@ boolean hHostHasPrefix(char *prefix); /* Return TRUE if this is running on web-server with host name prefix */ boolean hIsPrivateHost(void); /* Return TRUE if this is running on private (development) web-server. * This was originally genome-test as well as hgwdev, however genome-test * may be repurposed to direct users to the preview site instead of development site. */ boolean hIsBetaHost(void); /* Return TRUE if this is running on beta (QA) web-server. * Use sparingly as behavior on beta should be as close to RR as possible. */ boolean hIsBrowserbox(); /* Return TRUE if this is the browserbox virtual machine */ +boolean hIsGbic(); +/* Return TRUE if this mirror has been installed by the installation script */ + boolean hIsPreviewHost(void); /* Return TRUE if this is running on preview web-server. The preview * server is a mirror of the development server provided for public * early access. */ char *hBrowserName(); /* Return browser name based on host name */ boolean hTrackOnChrom(struct trackDb *tdb, char *chrom); /* Return TRUE if track exists on this chromosome. */ boolean trackDataAccessible(char *database, struct trackDb *tdb); /* Return TRUE if underlying data are accessible - meaning the track has either * a bigDataUrl with remote URL (http:// etc), a bigDataUrl with an existing local file, * or a database table with the same name.