0f42d7fc723850694dd33dc22be6817a6c9446f0 jcasper Mon Aug 12 09:49:39 2024 -0700 Adding hReplaceGbdb call to cStraw to handle local hic files in GBiB, refs #27851 diff --git src/hg/lib/straw/hReplaceGbdb.h src/hg/lib/straw/hReplaceGbdb.h new file mode 100644 index 0000000..0148ccc --- /dev/null +++ src/hg/lib/straw/hReplaceGbdb.h @@ -0,0 +1,13 @@ +/* hReplaceGbdb - a stand-in for a needed function from hdb.h. + * + * The duplication from hdb.h is undesirable, but including hdb.h directly results + * in incorporating a number of hard-coded strings that g++ then complains are + * string constants instead of char *. + */ + +/* Copyright (C) 2014 The Regents of the University of California + * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */ + +char *hReplaceGbdb(char* fileName); +/* clone and change a filename that can be located in /gbdb to somewhere else + * according to hg.conf's "gbdbLoc1" and "gbdbLoc2". Result has to be freed. */