1 /* $Id: isam_methods.c,v 1.2 2007-01-15 15:10:16 adam Exp $
2 Copyright (C) 1995-2007
5 This file is part of the Zebra server.
7 Zebra is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free
9 Software Foundation; either version 2, or (at your option) any later
12 Zebra is distributed in the hope that it will be useful, but WITHOUT ANY
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
31 ISAMS_M *key_isams_m (Res res, ISAMS_M *me)
35 me->compare_item = key_compare;
36 me->log_item = key_logdump_txt;
38 me->codec.start = iscz1_start;
39 me->codec.decode = iscz1_decode;
40 me->codec.encode = iscz1_encode;
41 me->codec.stop = iscz1_stop;
42 me->codec.reset = iscz1_reset;
44 me->debug = atoi(res_get_def (res, "isamsDebug", "0"));
49 ISAMC_M *key_isamc_m (Res res, ISAMC_M *me)
53 me->compare_item = key_compare;
54 me->log_item = key_logdump_txt;
56 me->codec.start = iscz1_start;
57 me->codec.decode = iscz1_decode;
58 me->codec.encode = iscz1_encode;
59 me->codec.stop = iscz1_stop;
60 me->codec.reset = iscz1_reset;
62 me->debug = atoi(res_get_def (res, "isamcDebug", "0"));
71 * indent-tabs-mode: nil
73 * vim: shiftwidth=4 tabstop=8 expandtab