5e4c5867d5a5b041bbaaa72dea9236c7bbb0fbf8 jnavarr5 Tue Feb 19 14:20:38 2019 -0800 Accidentally inserted the ENCODE section after the anniversary title section, refs #20314 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 */