src/hg/inc/cart.h 1.45

1.45 2009/03/19 21:02:34 tdreszer
New routines to help reset cart for single table or composite.
Index: src/hg/inc/cart.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/inc/cart.h,v
retrieving revision 1.44
retrieving revision 1.45
diff -b -B -U 4 -r1.44 -r1.45
--- src/hg/inc/cart.h	9 Feb 2009 17:01:05 -0000	1.44
+++ src/hg/inc/cart.h	19 Mar 2009 21:02:34 -0000	1.45
@@ -484,6 +484,13 @@
 
 struct slName *cartOptionalSlNameListClosestToHome(struct cart *cart, struct trackDb *tdb, boolean compositeLevel, char *suffix);
 /* Return slName list (possibly with multiple values for the same var) from lowest level on up:
    subtrackName.suffix, then compositeName.view.suffix, then compositeName.suffix */
+
+void cartRemoveAllForTdb(struct cart *cart, struct trackDb *tdb);
+/* Remove all variables from cart that are associated with this tdb. */
+
+void cartRemoveAllForTdbAndChildren(struct cart *cart, struct trackDb *tdb);
+/* Remove all variables from cart that are associated
+   with this tdb and it's children. */
 #endif /* CART_H */