4061e76e6ead3d4a59704aab422abef16e3cfd2e hiram Tue Feb 19 11:41:29 2019 -0800 beginning to return data from track hub bigBed files refs #18869 diff --git src/hg/hubApi/dataApi.h src/hg/hubApi/dataApi.h index 9eab72e..2a946ce 100644 --- src/hg/hubApi/dataApi.h +++ src/hg/hubApi/dataApi.h @@ -63,28 +63,31 @@ * optionally, return the trackList from this hub for the specified genome */ /* functions in apiUtils.c */ void apiErrAbort(char *format, ...); /* Issue an error message in json format, and exit(0) */ struct jsonWrite *apiStartOutput(); /* begin json output with standard header information for all requests */ int tableColumns(struct sqlConnection *conn, struct jsonWrite *jw, char *table); /* output the column names, and their MySQL data type, for the given table * return number of columns (aka 'fields') */ +struct trackHub *errCatchTrackHubOpen(char *hubUrl); +/* use errCatch around a trackHub open in case it fails */ + /* ######################################################################### */ /* functions in getData.c */ void apiGetData(char *words[MAX_PATH_INFO]); /* 'getData' function, words[1] is the subCommand */ /* ######################################################################### */ /* functions in list.c */ void apiList(char *words[MAX_PATH_INFO]); /* 'list' function words[1] is the subCommand */ #endif /* DATAAPH_H */