-/* $Id: isamc.c,v 1.22 2002-08-02 19:26:56 adam Exp $
- Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002
+/* $Id: isamc.c,v 1.24 2004-06-01 12:56:39 adam Exp $
+ Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003
Index Data Aps
This file is part of the Zebra server.
#define SMALL_TEST 0
-void isc_getmethod (ISAMC_M m)
+void isc_getmethod (ISAMC_M *m)
{
static struct ISAMC_filecat_s def_cat[] = {
m->code_reset = NULL;
m->compare_item = NULL;
+ m->log_item = NULL;
m->debug = 1;
m->max_blocks_mem = 10;
}
-ISAMC isc_open (BFiles bfs, const char *name, int writeflag, ISAMC_M method)
+ISAMC isc_open (BFiles bfs, const char *name, int writeflag, ISAMC_M *method)
{
ISAMC is;
ISAMC_filecat filecat;
is = (ISAMC) xmalloc (sizeof(*is));
- is->method = (ISAMC_M) xmalloc (sizeof(*is->method));
+ is->method = (ISAMC_M *) xmalloc (sizeof(*is->method));
memcpy (is->method, method, sizeof(*method));
filecat = is->method->filecat;
assert (filecat);