src/hg/inc/trackDb.h 1.56
1.56 2010/04/13 19:48:44 tdreszer
Removed obsolete old style metadata code
Index: src/hg/inc/trackDb.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/inc/trackDb.h,v
retrieving revision 1.55
retrieving revision 1.56
diff -b -B -U 4 -r1.55 -r1.56
--- src/hg/inc/trackDb.h 1 Apr 2010 23:51:46 -0000 1.55
+++ src/hg/inc/trackDb.h 13 Apr 2010 19:48:44 -0000 1.56
@@ -293,31 +293,8 @@
struct trackDb *tdbFindOrCreate(char *db,struct trackDb *parent,char *table);
/* Find or creates the tdb for this table. May return NULL. */
-// TODO: metadata as a trackDb will be obsoleted soon so these routines should be removed.
-// TODO: metadata as a trackDb will be obsoleted soon so these routines should be removed.
-// TODO: metadata as a trackDb will be obsoleted soon so these routines should be removed.
-typedef struct _metadata {
- int count;
- char**tags;
- char**values;
- char* setting;
-} metadata_t;
-
-metadata_t *metadataSettingGet(struct trackDb *tdb);
-/* Looks for a metadata tag and parses the setting into arrays of tags and values */
-
-void metadataFree(metadata_t **metadata);
-/* frees any previously obtained metadata setting */
-
-char *metadataSettingFind(struct trackDb *tdb,char *name);
-/* Looks for a specific metadata setting and returns the value or null
- returned value should be freed */
-// TODO: metadata as a trackDb will be obsoleted soon so these routines should be removed.
-// TODO: metadata as a trackDb will be obsoleted soon so these routines should be removed.
-// TODO: metadata as a trackDb will be obsoleted soon so these routines should be removed.
-
void tdbExtrasAddOrUpdate(struct trackDb *tdb,char *name,void *value);
/* Adds some "extra" nformation to the extras hash. Creates hash if necessary. */
void *tdbExtrasGetOrDefault(struct trackDb *tdb,char *name,void *defaultVal);