src/hg/inc/trackDb.h 1.53

1.53 2010/02/04 22:58:16 kent
Adding trackDbUpdateOldTag function to convert older format trackDb tags to current format. Specifically converting superTrack, compositeTrack, and subTrack tags to use the new container and parent tags instead.
Index: src/hg/inc/trackDb.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/inc/trackDb.h,v
retrieving revision 1.52
retrieving revision 1.53
diff -b -B -U 4 -r1.52 -r1.53
--- src/hg/inc/trackDb.h	4 Jan 2010 19:12:27 -0000	1.52
+++ src/hg/inc/trackDb.h	4 Feb 2010 22:58:16 -0000	1.53
@@ -358,6 +358,9 @@
 struct trackDb *trackDbTopLevelSelfOrParent(struct trackDb *tdb);
 /* Look for a parent who is a composite track and return that.  Failing that
  * just return self. */
 
+boolean trackDbUpdateOldTag(char **pTag, char **pVal);
+/* Look for obscolete tags and update them to new format.  Return TRUE if any update
+ * is done.  Will allocate fresh memory for new tag and val if updated. */
 #endif /* TRACKDB_H */