X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=isamc%2Fisamd-p.h;h=fa0b7480ee305deda8142df1cb90733f82ffc142;hb=138b954cffe470bf0e62d812cae6e859aa57cdb5;hp=1fa1dbd7a63154f29ed21e0f3a0640861ac0336d;hpb=b2603bace3f8d6fb1fb29b8366ad6a70d5ca378f;p=idzebra-moved-to-github.git diff --git a/isamc/isamd-p.h b/isamc/isamd-p.h index 1fa1dbd..fa0b748 100644 --- a/isamc/isamd-p.h +++ b/isamc/isamd-p.h @@ -1,10 +1,26 @@ -/* $Id: isamd-p.h,v 1.10 2002-04-29 18:10:24 adam Exp $ - * Copyright (c) 1995-1996, Index Data. - * See the file LICENSE for details. - * Heikki Levanto - * - * log at the end - */ +/* $Id: isamd-p.h,v 1.13 2003-06-23 15:36:11 adam Exp $ + Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003 + Index Data Aps + +This file is part of the Zebra server. + +Zebra is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +Zebra is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +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. +*/ + + #include #include @@ -53,7 +69,7 @@ typedef struct ISAMD_file_s { struct ISAMD_s { int no_files; int max_cat; - ISAMD_M method; + ISAMD_M *method; ISAMD_file files; int last_pos; /* last read/write position for seek stats */ int last_cat; /* same for category */ @@ -103,7 +119,7 @@ struct ISAMD_PP_s { sizeof(ISAMD_BLOCK_SIZE) + \ sizeof(ISAMD_BLOCK_SIZE)) /* == 12 (was 16) */ -// sizeof(int) + +/* sizeof(int) + */ int isamd_alloc_block (ISAMD is, int cat); @@ -125,7 +141,16 @@ int singleton_encode(struct it_key *k); /* * $Log: isamd-p.h,v $ - * Revision 1.10 2002-04-29 18:10:24 adam + * Revision 1.13 2003-06-23 15:36:11 adam + * Implemented isamb_unlink. + * + * Revision 1.12 2002/11/26 22:18:34 adam + * Remove // comments + * + * Revision 1.11 2002/08/02 19:26:56 adam + * Towards GPL + * + * Revision 1.10 2002/04/29 18:10:24 adam * Newline at end of file * * Revision 1.9 1999/10/05 09:57:40 heikki