Add close_file arg to saxdb_close_context(); allocate all saxdb contexts from heap.
[srvx.git] / src / saxdb.h
index bf928c28b03ddf92137309e8d7f4f6b975baa2a0..de1bbfe6f318d7bf15cef8be0126cb349396fc41 100644 (file)
@@ -52,6 +52,6 @@ void saxdb_write_sint(struct saxdb_context *dest, const char *name, long value);
 /* For doing db writing by hand */
 struct saxdb_context *saxdb_open_context(FILE *f);
 jmp_buf *saxdb_jmp_buf(struct saxdb_context *ctx);
-void saxdb_close_context(struct saxdb_context *ctx);
+void saxdb_close_context(struct saxdb_context *ctx, int close_file);
 
 #endif /* !defined(DBMGR_H) */