automatic arch-version.h update; CTCP support; helpfile fixes; disk-out-of-space...
[srvx.git] / src / saxdb.h
index 9c5786376d75d3ed7949790af4e47354a8320742..bc063c06ba8afc48e92d785659eead02986b66a1 100644 (file)
 
 #include "recdb.h"
 
+DECLARE_LIST(int_list, int);
+
 struct saxdb;
-struct saxdb_context;
+/* This definition should ONLY be used so callers of
+ * saxdb_open_context() can initialize jbuf properly. */
+struct saxdb_context {
+    FILE *output;
+    unsigned int indent;
+    struct int_list complex;
+    jmp_buf jbuf;
+};
+
 
 #define SAXDB_READER(NAME) int NAME(struct dict *db)
 typedef SAXDB_READER(saxdb_reader_func_t);