ea09f3a92d57f23c6a26118009a34a18ec7f46fb
hiram
  Fri Sep 30 15:27:54 2022 -0700
some functions had not been declared here refs #29819

diff --git src/hg/inc/chromInfo.h src/hg/inc/chromInfo.h
index 18a4d44..d724cc9 100644
--- src/hg/inc/chromInfo.h
+++ src/hg/inc/chromInfo.h
@@ -53,27 +53,34 @@
 
 void chromInfoOutput(struct chromInfo *el, FILE *f, char sep, char lastSep);
 /* Print out chromInfo.  Separate fields with sep. Follow last field with lastSep. */
 
 #define chromInfoTabOut(el,f) chromInfoOutput(el,f,'\t','\n');
 /* Print out chromInfo as a line in a tab-separated file. */
 
 #define chromInfoCommaOut(el,f) chromInfoOutput(el,f,',',',');
 /* Print out chromInfo as a comma separated list including final comma. */
 
 /* -------------------------------- End autoSql Generated Code -------------------------------- */
 
 boolean chromSeqFileExists(char *db, char *chrom);
 /* Check whether chromInfo exists for a database, find the path of the */
 /* sequence file for this chromosome and check if the file exists. */
-#endif /* CHROMINFO_H */
 
 struct chromInfo *createChromInfoList(char *name, char *database);
 /* Load up chromosome information for chrom 'name'.
  * If name is NULL or "all" then load all chroms.
  * Similar to featureBits.c - could be moved to library */
 
 struct hash *chromHashFromDatabase(char *db);
 /* read chrom info from database and return hash of name and size */
 
 struct hash *chromHashFromFile(char *fileName);
 /* read chrom info from file and return hash of name and size */
+
+struct chromInfo *chromInfoListFromFile(char *fileName) ;
+/* read chrom info from file and return list of name and size */
+
+struct hash *chromNameAndSizeHashFromList(struct chromInfo *ci);
+/* Return a hash table of chrom key=name, val=size */
+
+#endif /* CHROMINFO_H */