386b5d76ae4c1625e3da1421d4f2a73628ef6048
kent
  Wed Feb 21 14:06:22 2024 -0800
Making cdwSubmit tag names against a schema file in the cdwSettings rather than hard-coded (and currently ifdefed out) tables.

diff --git src/hg/cirm/cdw/inc/cdwValid.h src/hg/cirm/cdw/inc/cdwValid.h
index f54fad8..1b33f42 100644
--- src/hg/cirm/cdw/inc/cdwValid.h
+++ src/hg/cirm/cdw/inc/cdwValid.h
@@ -45,23 +45,23 @@
     {
     char *name;	    /* Base name without .as suffix */
     int bedFields;  /* Fields based on bed spec - come first */
     int extraFields; /* Beds past bed spec */
     };
 
 extern struct cdwBedType cdwBedTypeTable[];	/* Table of supported bed types */
 extern int cdwBedTypeCount;			/* Size of above table. */
 
 struct cdwBedType *cdwBedTypeFind(char *name);
 /* Return cdwBedType of given name.  Abort if not found */
     
 struct cdwBedType *cdwBedTypeMayFind(char *name);
 /* Return cdwBedType of given name, just return NULL if not found. */
 
-void cdwValidateTagName(char *tag);
+void cdwValidateTagName(char *tag, struct hash *schemaHash);
 /* Make sure that tag is one of the allowed ones. */
 
 struct slPair *cdwFormatList();
 /* Return list of formats.  The name of the list items are the format names.
  * The vals are short descriptions. */
 
 #endif /* CDWVALID_H */