2817c6f81dd844b54f6232d688c001e6a12f9ebb hiram Wed Feb 13 11:17:54 2019 -0800 beginning to partition the code out to files refs #18869 diff --git src/hg/hubApi/dataApi.h src/hg/hubApi/dataApi.h new file mode 100644 index 0000000..6ef8c49 --- /dev/null +++ src/hg/hubApi/dataApi.h @@ -0,0 +1,50 @@ +/* dataApi.h - functions for API access to UCSC data resources */ + +#ifndef DATAAPH_H + +#include "common.h" +#include "linefile.h" +#include "hash.h" +#include "options.h" +#include "jksql.h" +#include "htmshell.h" +#include "web.h" +#include "cheapcgi.h" +#include "cart.h" +#include "hui.h" +#include "udc.h" +#include "knetUdc.h" +#include "genbank.h" +#include "trackHub.h" +#include "hgConfig.h" +#include "hCommon.h" +#include "hPrint.h" +#include "bigWig.h" +#include "hubConnect.h" +#include "obscure.h" +#include "errCatch.h" +#include "vcf.h" +#include "bedTabix.h" +#include "bamFile.h" +#include "jsonParse.h" +#include "jsonWrite.h" +#include "chromInfo.h" + +#ifdef USE_HAL +#include "halBlockViz.h" +#endif + +void jsonErrAbort(char *format, ...); +/* Issue an error message in json format, and exit(0) */ + +struct jsonWrite *jsonStartOutput(); +/* begin json output with standard header information for all requests */ + +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 */ + +#endif /* DATAAPH_H */