15746316e92290a4aee220a757cb35293176d6e8
max
  Tue Feb 7 05:29:10 2023 -0800
adding file download links directly to the table browser "schema / data format" button, refs #30491

diff --git src/hg/hgTables/hgTables.h src/hg/hgTables/hgTables.h
index 870f1d6..f1766b7 100644
--- src/hg/hgTables/hgTables.h
+++ src/hg/hgTables/hgTables.h
@@ -78,30 +78,36 @@
 
 char *getScriptName();
 /* returns script name from environment or hardcoded for command line */
 
 void printTrackHtml(struct trackDb *tdb);
 /* If trackDb has html for table, print it out in a new section. */
 
 /* ---------- Other UI stuff. ----------------------*/
 
 boolean varOn(char *var);
 /* Return TRUE if variable exists and is set. */
 
 void printMainHelp();
 /* Put up main page help info. */
 
+void printDownloadLink(char *typeLabel, char *fileName);
+/* print a link to the file, so the user can download it right here */
+
+boolean printTypeHelpDesc(char *fileType);
+/* print a little link to our help docs given a file type. Return true if file type is a big* file format. */
+
 struct grp *showGroupField(char *groupVar, char *event, char *groupScript,
     struct sqlConnection *conn, boolean allTablesOk);
 /* Show group control. Returns selected group. */
 
 struct trackDb *showTrackField(struct grp *selGroup, char *trackVar, char *event, char *trackScript,
                                boolean disableNoGenome);
 /* Show track control. Returns selected track. */
 
 char *showTableField(struct trackDb *track, char *varName, boolean useJoiner);
 /* Show table control and label. */
 
 struct slName *getDbListForGenome();
 /* Get list of selectable databases. */
 
 char *findSelDb();