c62c78194cfad8453b2d7c74b304fde3ef10b2dc chmalee Fri Jun 6 10:46:40 2025 -0700 Fix missing include bug introduced by 13f391382e54e658, refs browser-qa email diff --git src/hg/inc/cart.h src/hg/inc/cart.h index 1703f45cf79..3fb3d93c93a 100644 --- src/hg/inc/cart.h +++ src/hg/inc/cart.h @@ -439,30 +439,33 @@ * of things in the cart that were overwritten by cgi-variables. */ void cartWriteCookie(struct cart *cart, char *cookieName); /* Write out HTTP Set-Cookie statement for cart. */ struct cart *cartAndCookie(char *cookieName, char **exclude, struct hash *oldVars); /* Load cart from cookie and session cgi variable. Write cookie and * content-type part HTTP preamble to web page. Don't write any HTML though. */ struct cart *cartAndCookieNoContent(char *cookieName, char **exclude, struct hash *oldVars); /* Load cart from cookie and session cgi variable. Don't write out * content type or any HTML. */ +void cartWriteHeaderAndCont(struct cart* cart, char *cookieName); +/* write http headers including cookie and content type line */ + struct cart *cartAndCookieWithHtml(char *cookieName, char **exclude, struct hash *oldVars, boolean doContentType); /* Load cart from cookie and session cgi variable. Write cookie * and optionally content-type part HTTP preamble to web page. Don't * write any HTML though. */ struct cart *cartForSession(char *cookieName, char **exclude, struct hash *oldVars); /* This gets the cart without writing any HTTP lines at all to stdout. */ void cartSetDbConnector(DbConnector connector); /* Set the connector that will be used by the cart to connect to the * database. Default connector is hConnectCart */ void cartSetDbDisconnector(DbDisconnect disconnector);