88647f152c47de72f5f576a591c2d7300beae9fa braney Thu Oct 21 17:58:30 2010 -0700 add a new function that returns and mdbVar given a var name diff --git src/hg/inc/mdb.h src/hg/inc/mdb.h index cf3fdb6..8cc315d 100644 --- src/hg/inc/mdb.h +++ src/hg/inc/mdb.h @@ -252,6 +252,9 @@ // returns the count of objs belonging to this set of vars; // ----------------- Utilities ----------------- +struct mdbVar *mdbObjFind(struct mdbObj *mdbObj, char *var); +// Finds the val associated with the var or retruns NULL + char *mdbObjFindValue(struct mdbObj *mdbObj, char *var); // Finds the val associated with the var or retruns NULL