Changed record update API . It is now handled by function
[idzebra-moved-to-github.git] / include / idzebra / recctrl.h
index 8a147ba..ac5f448 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: recctrl.h,v 1.31 2007-03-01 10:35:46 adam Exp $
+/* $Id: recctrl.h,v 1.32 2007-03-14 11:48:31 adam Exp $
    Copyright (C) 1995-2007
    Index Data ApS
 
@@ -85,6 +85,13 @@ struct ZebraRecStream {
     void      (*destroy)(struct ZebraRecStream *s);
 };
 
+enum zebra_recctrl_action_t {
+    action_insert = 1,
+    action_replace,
+    action_delete,
+    action_update  /* insert or replace as needed */
+};
+
 /** \brief record extract for indexing */
 struct recExtractCtrl {
     struct ZebraRecStream *stream;