-/* $Id: rsisamb.c,v 1.27 2004-11-15 23:13:12 adam Exp $
- Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004
- Index Data Aps
+/* $Id: rsisamb.c,v 1.31 2005-04-13 13:03:48 adam Exp $
+ Copyright (C) 1995-2005
+ Index Data ApS
This file is part of the Zebra server.
#include <stdio.h>
#include <assert.h>
-#include <zebrautl.h>
+#include <idzebra/util.h>
#include <rset.h>
#include <string.h>
struct rset_isamb_info {
ISAMB is;
- ISAMB_P pos;
+ ISAM_P pos;
};
static int log_level = 0;
static int log_level_initialized = 0;
-RSET rsisamb_create( NMEM nmem, const struct key_control *kcontrol, int scope,
- ISAMB is, ISAMB_P pos, TERMID term)
+RSET rsisamb_create(NMEM nmem, const struct key_control *kcontrol, int scope,
+ ISAMB is, ISAM_P pos, TERMID term)
{
RSET rnew = rset_create_base(&control, nmem, kcontrol, scope, term);
struct rset_isamb_info *info;
if (flag & RSETF_WRITE)
{
- yaz_log(LOG_FATAL, "ISAMB set type is read-only");
+ yaz_log(YLOG_FATAL, "ISAMB set type is read-only");
return NULL;
}
rfd = rfd_create_base(ct);
static int r_write (RSFD rfd, const void *buf)
{
- yaz_log(LOG_FATAL, "ISAMB set type is read-only");
+ yaz_log(YLOG_FATAL, "ISAMB set type is read-only");
return -1;
}