94ab45bc69a304d7f68851812e96de7af8943f6d
angie
  Wed Mar 9 13:12:36 2016 -0800
Libified hgVai's code to find the latest snpNNN table so that other spots in the code could use it instead of hardcoding version numbers.  Thx Matt for pointing out the hardcoding.
refs #16777

diff --git src/hg/inc/hdb.h src/hg/inc/hdb.h
index b421291..f6c971b 100644
--- src/hg/inc/hdb.h
+++ src/hg/inc/hdb.h
@@ -975,16 +975,25 @@
 #define defaultGenomeCladeTableName  "genomeClade"
 #define cladeTableConfVariable  "cladeTableName"
 #define defaultCladeTableName  "clade"
 
 char *dbDbTable();
 /* Return the name of the dbDb table. */
 
 char *cladeTable();
 /* Return the name of the clade table. */
 
 char *defaultDbTable();
 /* Return the name of the defaultDb table. */
 
 char *genomeCladeTable();
 /* Return the name of the genomeClade table. */
+
+char *hFindLatestSnpTable(char *db, char *suffix);
+/* Return the name of the 'snp1__<suffix>' table with the highest build number, if any.
+ * suffix may be NULL to get the 'All SNPs' table (as opposed to Common, Flagged, Mult). */
+
+char *hFindLatestSnpTableConn(struct sqlConnection *conn, char *suffix);
+/* Return the name of the 'snp1__<suffix>' table with the highest build number, if any.
+ * suffix may be NULL to get the 'All SNPs' table (as opposed to Common, Flagged, Mult). */
+
 #endif /* HDB_H */