45014fb713fc38c6fa2c5ca8e76874c5b48d133d hiram Wed May 27 16:05:11 2026 -0700 correctly use the appropriate host for the hgcentral table refs #31811 diff --git src/hg/hubApi/dataApi.h src/hg/hubApi/dataApi.h index 97b2153a1ba..190e350e46a 100644 --- src/hg/hubApi/dataApi.h +++ src/hg/hubApi/dataApi.h @@ -279,30 +279,36 @@ boolean isWiggleDataTable(char *type); /* is this a wiggle data track table */ char *chrOrAlias(char *db, char *hubUrl); /* get incoming chr name, may be an alias, return the native chr name */ void hubAliasSetup(struct trackHubGenome *hubGenome); /* see if this hub has an alias file and run chromAliasSetupBb() for it */ void textLineOut(char *lineOut); /* accumulate text lines for output in the dyString textOutput */ void textFinishOutput(); /* all done with text output, print it all out */ +struct sqlConnection *hConnectOtto(); +/* Connect to otto database using otto profile, fallback to central */ + +void hDisconnectOtto(struct sqlConnection **pConn); +/* Disconnect otto connection */ + /* ######################################################################### */ /* 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 */ /* ######################################################################### */ /* functions in search.c */