1d8785d66ed85fd0bff3ed301a7cd5a7692265c4
braney
  Wed Apr 8 13:05:43 2015 -0700
allow for different names for the sessionDb and userDb tables

diff --git src/hg/inc/cartDb.h src/hg/inc/cartDb.h
index c5b1b3c..6df7126 100644
--- src/hg/inc/cartDb.h
+++ src/hg/inc/cartDb.h
@@ -66,17 +66,28 @@
 /* Free a single dynamically allocated cartDb such as created
  * with cartDbLoad(). */
 
 void cartDbFreeList(struct cartDb **pList);
 /* Free a list of dynamically allocated cartDb's */
 
 void cartDbOutput(struct cartDb *el, FILE *f, char sep, char lastSep);
 /* Print out cartDb.  Separate fields with sep. Follow last field with lastSep. */
 
 #define cartDbTabOut(el,f) cartDbOutput(el,f,'\t','\n');
 /* Print out cartDb as a line in a tab-separated file. */
 
 #define cartDbCommaOut(el,f) cartDbOutput(el,f,',',',');
 /* Print out cartDb as a comma separated list including final comma. */
 
+#define sessionDbTableConfVariable      "sessionDbName"
+#define defaultSessionDbTableName  "sessionDb"
+#define userDbTableConfVariable         "userDbName"
+#define defaultUserDbTableName     "userDb"
+
+char *sessionDbTable();
+/* Return the name of the sessionDb table. */
+
+char *userDbTable();
+/* Return the name of the userDb table. */
+
 #endif /* CARTDB_H */