26501d3ac1d4eea1d3c539dbbd13e15e46737759 hiram Tue Sep 24 11:57:57 2019 -0700 correctly recognize the "tableBrowser off" entry in trackDb for protected tables refs #24208 diff --git src/hg/hubApi/dataApi.h src/hg/hubApi/dataApi.h index d145ec3..f84add3 100644 --- src/hg/hubApi/dataApi.h +++ src/hg/hubApi/dataApi.h @@ -206,28 +206,31 @@ struct asColumn *columnEl); /* print out the SQL schema for this trackDb */ void bigColumnTypes(struct jsonWrite *jw, struct sqlFieldType *fiList, struct asObject *as); /* show the column types from a big file autoSql definitions */ boolean trackHasData(struct trackDb *tdb); /* check if this is actually a data track: * TRUE when has data, FALSE if has no data * When NO trackDb, can't tell at this point, will check that later */ #define trackHasNoData(tdb) (!trackHasData(tdb)) +boolean protectedTrack(struct trackDb *tdb); +/* determine if track is off-limits protected data */ + /* ######################################################################### */ /* 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 */