-/*
- * Copyright (C) 1995-2000, Index Data
- * All rights reserved.
- *
- * $Log: zebraapi.c,v $
- * Revision 1.44 2001-10-15 19:53:43 adam
- * POSIX thread updates. First work on term sets.
- *
- * Revision 1.43 2000/12/05 12:22:53 adam
- * Termlist source implemented (so that we can index values of XML/SGML
- * attributes).
- *
- * Revision 1.42 2000/12/05 10:01:44 adam
- * Fixed bug regarding user-defined attribute sets.
- *
- * Revision 1.41 2000/12/01 17:59:08 adam
- * Fixed bug regarding online updates on WIN32.
- * When zebra.cfg is not available the server will not abort.
- *
- * Revision 1.40 2000/11/29 15:21:31 adam
- * Fixed problem with passwd db.
- *
- * Revision 1.39 2000/11/29 14:24:01 adam
- * Script configure uses yaz pthreads options. Added locking for
- * zebra_register_{lock,unlock}.
- *
- * Revision 1.38 2000/11/08 13:46:58 adam
- * Fixed scan: server could break if bad attribute/database was selected.
- * Work on remote update.
- *
- * Revision 1.37 2000/10/17 12:37:09 adam
- * Fixed notification of live-updates. Fixed minor problem with mf_init
- * where it didn't handle shadow area file names correctly.
- *
- * Revision 1.36 2000/09/06 08:59:36 adam
- * Using read-only (for now) for server.
- *
- * Revision 1.35 2000/07/07 12:49:20 adam
- * Optimized resultSetInsert{Rank,Sort}.
- *
- * Revision 1.34 2000/06/09 13:56:38 ian
- * Added some logging on Authentication and searches.
- *
- * Revision 1.33 2000/05/18 12:01:36 adam
- * System call times(2) used again. More 64-bit fixes.
- *
- * Revision 1.32 2000/04/19 14:35:59 adam
- * WIN32 update (this version is known not to work on Windows).
- *
- * Revision 1.31 2000/04/05 10:07:02 adam
- * Minor zebra compile fix.
- *
- * Revision 1.30 2000/04/05 09:49:35 adam
- * On Unix, zebra/z'mbol uses automake.
- *
- * Revision 1.29 2000/03/20 19:08:36 adam
- * Added remote record import using Z39.50 extended services and Segment
- * Requests.
- *
- * Revision 1.28 2000/03/15 15:00:30 adam
- * First work on threaded version.
- *
- * Revision 1.27 2000/02/24 12:31:17 adam
- * Added zebra_string_norm.
- *
- * Revision 1.26 1999/11/30 13:48:03 adam
- * Improved installation. Updated for inclusion of YAZ header files.
- *
- * Revision 1.25 1999/11/04 15:00:45 adam
- * Implemented delete result set(s).
- *
- * Revision 1.24 1999/10/14 14:33:50 adam
- * Added truncation 5=106.
- *
- * Revision 1.23 1999/09/07 11:36:32 adam
- * Minor changes.
- *
- * Revision 1.22 1999/08/02 10:13:47 adam
- * Fixed bug regarding zebra_hits.
- *
- * Revision 1.21 1999/07/14 10:59:26 adam
- * Changed functions isc_getmethod, isams_getmethod.
- * Improved fatal error handling (such as missing EXPLAIN schema).
- *
- * Revision 1.20 1999/07/06 12:28:04 adam
- * Updated record index structure. Format includes version ID. Compression
- * algorithm ID is stored for each record block.
- *
- * Revision 1.19 1999/05/26 07:49:13 adam
- * C++ compilation.
- *
- * Revision 1.18 1999/05/15 14:36:38 adam
- * Updated dictionary. Implemented "compression" of dictionary.
- *
- * Revision 1.17 1999/05/12 13:08:06 adam
- * First version of ISAMS.
- *
- * Revision 1.16 1999/02/19 10:38:30 adam
- * Implemented chdir-setting.
- *
- * Revision 1.15 1999/02/17 12:18:12 adam
- * Fixed zebra_close so that a NULL pointer is ignored.
- *
- * Revision 1.14 1999/02/02 14:51:11 adam
- * Updated WIN32 code specific sections. Changed header.
- *
- * Revision 1.13 1998/12/16 12:23:30 adam
- * Added facility for database name mapping using resource mapdb.
- *
- * Revision 1.12 1998/11/16 10:18:10 adam
- * Better error reporting for result sets.
- *
- * Revision 1.11 1998/10/16 08:14:34 adam
- * Updated record control system.
- *
- * Revision 1.10 1998/09/22 10:03:42 adam
- * Changed result sets to be persistent in the sense that they can
- * be re-searched if needed.
- * Fixed memory leak in rsm_or.
- *
- * Revision 1.9 1998/09/02 13:53:17 adam
- * Extra parameter decode added to search routines to implement
- * persistent queries.
- *
- * Revision 1.8 1998/08/24 17:29:23 adam
- * Minor changes.
- *
- * Revision 1.7 1998/06/24 12:16:13 adam
- * Support for relations on text operands. Open range support in
- * DFA module (i.e. [-j], [g-]).
- *
- * Revision 1.6 1998/06/22 11:36:47 adam
- * Added authentication check facility to zebra.
- *
- * Revision 1.5 1998/06/13 00:14:08 adam
- * Minor changes.
- *
- * Revision 1.4 1998/06/12 12:22:12 adam
- * Work on Zebra API.
- *
- * Revision 1.3 1998/05/27 16:57:44 adam
- * Zebra returns surrogate diagnostic for single records when
- * appropriate.
- *
- * Revision 1.2 1998/05/20 10:12:19 adam
- * Implemented automatic EXPLAIN database maintenance.
- * Modified Zebra to work with ASN.1 compiled version of YAZ.
- *
- * Revision 1.1 1998/03/05 08:45:13 adam
- * New result set model and modular ranking system. Moved towards
- * descent server API. System information stored as "SGML" records.
- *
- */