58017171c4c59e5bfb783aebafeb7ec41bd3bae8
larrym
  Thu Dec 22 13:50:47 2011 -0800
add euronode redirect code (#3104); mostly written by galt with some minor changes by me. Has some debug stuff which will be taken out as I work on this. Currently only on in larrym's tree and on euronode machine
diff --git src/hg/inc/cart.h src/hg/inc/cart.h
index b30f07e..5775758 100644
--- src/hg/inc/cart.h
+++ src/hg/inc/cart.h
@@ -1,30 +1,33 @@
 /* cart - stuff to manage variables that persist from
  * one invocation of a cgi script to another (variables
  * that are carted around).  */
 
 #ifndef CART_H
 #define CART_H
 
 struct cart;         // forward definition for use in trackDb.h
 
 #include "jksql.h"
 #include "errabort.h"
 #include "dystring.h"
 #include "linefile.h"
 #include "trackDb.h"
 
+// SUPPORT_EURONODE used to turn on euronode support code (redmine #3104).
+// #define SUPPORT_EURONODE 1
+
 // If cgi set as CART_VAR_EMPTY, then removed from cart
 // If If cgi created new and oldVars are stored, then will be CART_VAR_EMPTY in old vars
 #define CART_VAR_EMPTY "[]"
 #define IS_CART_VAR_EMPTY(var) ((var) == NULL || sameString(var,CART_VAR_EMPTY))
 
 typedef struct sqlConnection *(*DbConnector)();
 /* funtion type used to get a connection to database */
 
 typedef void (*DbDisconnect)(struct sqlConnection **pConn);
 /* function type used to cleanup a connection from database */
 
 
 struct cart
 /* A cart of settings that persist. */
    {