81549209efed163c45d074d1ead4e9b30608c0fa hiram Thu Feb 14 09:35:53 2019 -0800 correct naming of functions refs #18869 diff --git src/hg/hubApi/dataApi.h src/hg/hubApi/dataApi.h index fc1720f..f376031 100644 --- src/hg/hubApi/dataApi.h +++ src/hg/hubApi/dataApi.h @@ -52,40 +52,34 @@ /* functions in hubApi.c */ struct hubPublic *hubPublicLoadAll(); struct dbDb *ucscDbDb(); /* return the dbDb table as an slList */ struct slName *genomeList(struct trackHub *hubTop, struct trackDb **dbTrackList, char *selectGenome); /* follow the pointers from the trackHub to trackHubGenome and around * in a circle from one to the other to find all hub resources * return slName list of the genomes in this track hub * optionally, return the trackList from this hub for the specified genome */ /* functions in apiUtils.c */ -void jsonErrAbort(char *format, ...); +void apiErrAbort(char *format, ...); /* Issue an error message in json format, and exit(0) */ -struct jsonWrite *jsonStartOutput(); +struct jsonWrite *apiStartOutput(); /* begin json output with standard header information for all requests */ /* ######################################################################### */ /* functions in getData.c */ -extern void getTrackData(); -/* return data from a track */ - -extern void getSequenceData(); -/* return DNA sequence, given at least a db=name and chrom=chr, - optionally start and end */ 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 */