9927343536614f63516f107aa859b495abf402d1
jcasper
  Mon May 18 09:58:41 2026 -0700
Reducing bot abuse by restricting the number of IP addresses we'll accept the same hguid
from in a short timeframe before requiring a captcha re-up (if captcha is enabled).  refs #37494

diff --git src/hg/inc/cart.h src/hg/inc/cart.h
index c4b2bce5ab6..4792672542d 100644
--- src/hg/inc/cart.h
+++ src/hg/inc/cart.h
@@ -691,17 +691,20 @@
 /* Rewrite the cart to update it to expectations of trackDb. */
 
 void cartTurnOnSuper(struct cart *cart, char **trackNames, unsigned numTracks, char *superTrackName);
 /* Turn on a supertrack if any of the subtracks are not hidden.  ASSUMES ALL TRACKS ARE HIDDEN
  * by default.
  */
 
 void cartMatchValue(struct cart *cart, char *oldTrackName,  char *newTrackName);
 /* Make new track have the same visibility as an old track */
 
 char *cartNamedSessionDbTable();
 /* Get the name of the table that lists named sessions.  Don't free the result. */
 
 char *cartOrCfgOption(struct cart *cart, char *name);
 /* Return the option with the given name. First check cart then hg.conf.  Return NULL if * it doesn't exist. */
+
+struct cartDb *cartDbLoadFromId(struct sqlConnection *conn, char *table, char *secureId);
+/* Load up cartDb entry for particular ID.  Returns NULL if no such id. */
 #endif /* CART_H */