060c9d0ae2bf7b3333d76c15ee3b114c3278f519
braney
  Sat Oct 8 14:29:09 2011 -0700
check trackDb.txt files and hub.txt files more closely in hgHubConnect so errors can be discovered ASAP.  #4679 and others.
diff --git src/hg/inc/trackHub.h src/hg/inc/trackHub.h
index c06e7e8..e2b4be9 100644
--- src/hg/inc/trackHub.h
+++ src/hg/inc/trackHub.h
@@ -76,18 +76,21 @@
 char *trackHubRelativeUrl(char *hubUrl, char *path);
 /* Return full path (in URL form if it's a remote hub) given
  * path possibly relative to hubUrl. Do a freeMem of result
  * when done. */
 
 void trackHubGenomeFree(struct trackHubGenome **pGenome);
 /* Free up genome info. */
 
 void trackHubGenomeFreeList(struct trackHubGenome **pList);
 /* Free a list of dynamically allocated trackHubGenome's */
 
 int trackHubCheck(char *hubUrl, struct dyString *errors);
 /* trackHubCheck - Check a track data hub for integrity. Put errors in dyString.
  *      return 0 if hub has no errors, 1 otherwise */
 
+struct trackDb *trackHubAddTracks(int id, char *hubUrl, char *database, struct trackHub **pHubList);
+/* Load up stuff from data hub and append to list. The hubUrl points to
+ * a trackDb.ra format file.  */
 
 #endif /* TRACKHUB_H */