src/hg/inc/web.h 1.42

1.42 2009/06/03 00:34:09 markd
added option to generate stack dumps when browser errors occur
Index: src/hg/inc/web.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/inc/web.h,v
retrieving revision 1.41
retrieving revision 1.42
diff -b -B -U 4 -r1.41 -r1.42
--- src/hg/inc/web.h	13 Feb 2009 02:38:27 -0000	1.41
+++ src/hg/inc/web.h	3 Jun 2009 00:34:09 -0000	1.42
@@ -254,5 +254,15 @@
 
 void webFinishPartialLinkOutTable(int rowIx, int itemPos, int maxPerRow);
 /* Fill out partially empty last row. */
 
+boolean webDumpStackEnabled(void);
+/* is browser.dumpStack enabled?  */
+
+void webPushDumpStackHandler(void);
+/* push the stack dump handler on the stack if it's enabled.  This should be pushed
+ * after the warn handle that will do the actual reporting */
+
+void webPopDumpStackHandler(void);
+/* pop the stack dump handler from the stack if it's enabled */
+
 #endif /* WEB_H */