Towards 1.3.44
[idzebra-moved-to-github.git] / include / recctrl.h
index 71680b3..8026422 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: recctrl.h,v 1.38 2002-08-02 19:26:55 adam Exp $
+/* $Id: recctrl.h,v 1.40.2.2 2006-08-14 10:38:56 adam Exp $
    Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
    Index Data Aps
 
@@ -15,20 +15,19 @@ FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 for more details.
 
 You should have received a copy of the GNU General Public License
-along with Zebra; see the file LICENSE.zebra.  If not, write to the
-Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
-02111-1307, USA.
-*/
-
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
+*/
 
 #ifndef RECCTRL_H
 #define RECCTRL_H
 
+#include <sys/types.h>
 #include <yaz/proto.h>
 #include <yaz/oid.h>
 #include <yaz/odr.h>
-#include <yaz/data1.h>
+#include <data1.h>
 #include <zebramap.h>
 
 #ifdef __cplusplus
@@ -109,7 +108,8 @@ struct recType
 
 #define RECCTRL_EXTRACT_OK    0
 #define RECCTRL_EXTRACT_EOF   1
-#define RECCTRL_EXTRACT_ERROR 2
+#define RECCTRL_EXTRACT_ERROR_GENERIC 2
+#define RECCTRL_EXTRACT_ERROR_NO_SUCH_FILTER 3
 
 typedef struct recTypes *RecTypes;