f9f813c4330857fed2ed6008e6d6e9eb54d2474a
galt
  Fri Mar 28 04:51:53 2025 -0700
fixing slNameSort in list.c for hubApi, refreshed expected output lists. fixes #26947

diff --git src/hg/inc/trackHub.h src/hg/inc/trackHub.h
index 73775ac0c43..a8f7e5f135e 100644
--- src/hg/inc/trackHub.h
+++ src/hg/inc/trackHub.h
@@ -10,30 +10,31 @@
  *                 are in a subset of the usual trackDb format. 
  * How you use the routines here most commonly is as so:
  *     struct trackHub *hub = trackHubOpen(hubRaUrl);
  *     struct trackHubGenome *hubGenome = trackHubFindGenome(hub, "hg19");
  *     struct trackDb *tdbList = trackHubTracksForGenome(hub, hubGenome);
  *          // do something with tdbList
  *     trackHubClose(&hub);
  * Note that the tdbList returned does not have the parent/subtrack pointers set.
  * It is just a simple list of tracks, not a tree.  
  */
 
 #ifndef TRACKHUB_H
 #define TRACKHUB_H
 
 #include "dystring.h"
+#include "hgFind.h"
 
 #define MAX_HUB_TRACKDB_FILE_SIZE    256*1024*1024
 #define MAX_HUB_GROUP_FILE_SIZE     16*1024*1024
 #define MAX_HUB_GENOME_FILE_SIZE    64*1024*1024
 
 struct trackHub 
 /* A track hub. */
     {
     struct trackHub *next;
 
     struct hubConnectStatus *hubStatus;  /* Pointer to our hubConnectStatus structure, if any. */
 
     char *url;		/* URL of hub.ra file. */
     struct trackHubGenome *genomeList;	/* List of associated genomes. */
     struct hash *genomeHash;	/* Hash of genomeList keyed by genome name. */
@@ -229,17 +230,20 @@
 
 struct dbDb *trackHubGetPcrServers();
 /* Look through attached trackHubs to see which of them have "isPcr" line in them. */
 
 boolean trackHubGetPcrParams(char *database, char **pHost, char **pPort, char **pGenomeDataDir);
 /* Get the isPcr params from a trackHub genome. */
 
 struct trackHubGenome *trackHubGetGenomeUndecorated(char *database);
 /* Get the genome structure for an undecorated genome name. */
 
 char *trackHubBuild(char *db, struct cart *cart, struct dyString *visDy);
 /* Build a track hub using trackDb and the cart. */
 
 struct grp *readGroupRa(char *groupFileName);
 /* Read in the ra file that describes the groups in an assembly hub. */
+
+struct trackDb *trackHubAddTracksGenome(struct trackHubGenome *hubGenome);
+/* Load up stuff from data hub and return list. */
 #endif /* TRACKHUB_H */