c4ebea6f863d96a9e9dbfe40ac67193ece91b346 braney Tue May 13 17:26:39 2014 -0700 adding the ability to search hubs for content. diff --git src/hg/inc/hubConnect.h src/hg/inc/hubConnect.h index d34348a..20acfd4 100644 --- src/hg/inc/hubConnect.h +++ src/hg/inc/hubConnect.h @@ -16,30 +16,32 @@ #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 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 */ 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; unsigned id; /* Hub ID */ char *hubUrl; /* URL to hub.ra file. */ char *errorMessage; /* If non-empty hub has an error and this describes it. */ struct trackHub *trackHub; /* pointer to structure that describes hub */ unsigned status; /* 1 if private */