#include "XMLTree.h"
#include "StorageInterface.h"
+extern "C" {
+#include <caml/mlvalues.h>
+#include <caml/alloc.h>
+#include <caml/memory.h>
+#include <caml/callback.h>
+#include <caml/fail.h>
+#include <caml/custom.h>
+
+} //extern C
using namespace std;
class SXSIStorageInterface: public StorageInterface
{
public:
- SXSIStorageInterface();
+ SXSIStorageInterface(int sf, bool iet, bool dtc);
virtual ~SXSIStorageInterface();
virtual void newChild(string name);
virtual void newText(string text);
virtual void printStats();
private:
+
XMLTree* tree;
int _new_text;
int _new_empty_text;