# PROP Ignore_Export_Lib 0
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\include" /I "..\..\yaz\include" /I "..\index" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "WINDOWS" /YX /FD /c
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\include" /I "..\..\yaz\include" /I "..\index" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD BASE RSC /l 0x406 /d "NDEBUG"
# ADD RSC /l 0x406 /d "NDEBUG"
BSC32=bscmake.exe
# PROP Intermediate_Dir "Debug"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\include" /I "..\..\yaz\include" /I "..\index" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "WINDOWS" /YX /FD /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\include" /I "..\..\yaz\include" /I "..\index" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
# ADD BASE RSC /l 0x406 /d "_DEBUG"
# ADD RSC /l 0x406 /d "_DEBUG"
BSC32=bscmake.exe
/*
- * Copyright (C) 1994-1997, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: bfile.c,v $
- * Revision 1.26 1998-02-17 10:32:52 adam
+ * Revision 1.27 1999-02-02 14:50:01 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.26 1998/02/17 10:32:52 adam
* Fixed bug: binary files weren't opened with flag b on NT.
*
* Revision 1.25 1997/10/27 14:25:38 adam
#include <stdlib.h>
#include <string.h>
#include <assert.h>
-#ifdef WINDOWS
+#ifdef WIN32
#include <io.h>
#else
#include <unistd.h>
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: mfile.c,v $
- * Revision 1.29 1998-05-27 14:28:34 adam
+ * Revision 1.30 1999-02-02 14:50:02 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.29 1998/05/27 14:28:34 adam
* Fixed bug in mf_write. 'Cap off' byte written at wrong offset.
*
* Revision 1.28 1998/05/20 10:00:35 adam
#include <sys/types.h>
#include <fcntl.h>
-#ifdef WINDOWS
+#ifdef WIN32
#include <io.h>
#else
#include <unistd.h>
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: agrep.c,v $
- * Revision 1.10 1997-09-09 13:37:57 adam
+ * Revision 1.11 1999-02-02 14:50:03 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.10 1997/09/09 13:37:57 adam
* Partial port to WIN95/NT.
*
* Revision 1.9 1996/10/29 13:57:18 adam
#include <sys/types.h>
#include <sys/stat.h>
-#include <fcntl.h>\r
-#ifdef WINDOWS\r
-#include <io.h>\r
+#include <fcntl.h>
+
+#ifdef WIN32
+
+#include <io.h>
+
#else
#include <unistd.h>
#endif
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: bset.c,v $
- * Revision 1.4 1996-10-29 13:57:20 adam
+ * Revision 1.5 1999-02-02 14:50:04 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.4 1996/10/29 13:57:20 adam
* Include of zebrautl.h instead of alexutil.h.
*
* Revision 1.3 1995/09/04 12:33:25 adam
/*
- * Copyright (C) 1994-1998, Index Data
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: dfa.c,v $
- * Revision 1.24 1998-10-28 10:48:55 adam
+ * Revision 1.25 1999-02-02 14:50:05 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.24 1998/10/28 10:48:55 adam
* Added type cast to prevent warning.
*
* Revision 1.23 1998/09/02 14:15:28 adam
/*
- * Copyright (C) 1994-1997, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: dfap.h,v $
- * Revision 1.7 1997-09-29 09:05:17 adam
+ * Revision 1.8 1999-02-02 14:50:06 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.7 1997/09/29 09:05:17 adam
* Thread safe DFA module. We simply had to put a few static vars to
* the DFA_parse structure.
*
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: grepper.c,v $
- * Revision 1.7 1996-10-29 13:57:24 adam
+ * Revision 1.8 1999-02-02 14:50:07 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.7 1996/10/29 13:57:24 adam
* Include of zebrautl.h instead of alexutil.h.
*
* Revision 1.6 1996/01/08 09:09:20 adam
/*
- * Copyright (C) 1994-1997, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: imalloc.c,v $
- * Revision 1.7 1997-10-27 14:27:13 adam
+ * Revision 1.8 1999-02-02 14:50:08 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.7 1997/10/27 14:27:13 adam
* Minor changes.
*
* Revision 1.6 1996/10/29 13:57:25 adam
/*
- * Copyright (C) 1994-1997, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: imalloc.h,v $
- * Revision 1.3 1997-10-27 14:27:13 adam
+ * Revision 1.4 1999-02-02 14:50:09 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.3 1997/10/27 14:27:13 adam
* Minor changes.
*
* Revision 1.2 1996/05/14 11:33:41 adam
/*
- * Copyright (C) 1994-1996, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: lexer.c,v $
- * Revision 1.10 1996-10-29 13:57:27 adam
+ * Revision 1.11 1999-02-02 14:50:10 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.10 1996/10/29 13:57:27 adam
* Include of zebrautl.h instead of alexutil.h.
*
* Revision 1.9 1996/05/14 11:33:41 adam
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: lexer.h,v $
- * Revision 1.2 1995-01-24 16:00:22 adam
+ * Revision 1.3 1999-02-02 14:50:11 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.2 1995/01/24 16:00:22 adam
* Added -ansi to CFLAGS.
* Some changes to the dfa module.
*
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: readfile.c,v $
- * Revision 1.7 1996-10-29 13:57:28 adam
+ * Revision 1.8 1999-02-02 14:50:12 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.7 1996/10/29 13:57:28 adam
* Include of zebrautl.h instead of alexutil.h.
*
* Revision 1.6 1996/01/08 09:09:21 adam
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: set.c,v $
- * Revision 1.5 1996-10-29 13:57:29 adam
+ * Revision 1.6 1999-02-02 14:50:13 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.5 1996/10/29 13:57:29 adam
* Include of zebrautl.h instead of alexutil.h.
*
* Revision 1.4 1995/09/04 12:33:27 adam
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: states.c,v $
- * Revision 1.5 1996-10-29 13:57:31 adam
+ * Revision 1.6 1999-02-02 14:50:14 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.5 1996/10/29 13:57:31 adam
* Include of zebrautl.h instead of alexutil.h.
*
* Revision 1.4 1995/09/04 12:33:28 adam
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: close.c,v $
- * Revision 1.5 1994-09-01 17:49:36 adam
+ * Revision 1.6 1999-02-02 14:50:15 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.5 1994/09/01 17:49:36 adam
* Removed stupid line. Work on insertion in dictionary. Not finished yet.
*
* Revision 1.4 1994/09/01 17:44:06 adam
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: dclose.c,v $
- * Revision 1.4 1997-09-09 13:38:01 adam
+ * Revision 1.5 1999-02-02 14:50:16 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.4 1997/09/09 13:38:01 adam
* Partial port to WIN95/NT.
*
* Revision 1.3 1994/09/01 17:49:36 adam
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: delete.c,v $
- * Revision 1.4 1996-02-02 13:43:50 adam
+ * Revision 1.5 1999-02-02 14:50:17 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.4 1996/02/02 13:43:50 adam
* The public functions simply use char instead of Dict_char to represent
* search strings. Dict_char is used internally only.
*
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: dictext.c,v $
- * Revision 1.6 1996-10-29 14:00:02 adam
+ * Revision 1.7 1999-02-02 14:50:18 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.6 1996/10/29 14:00:02 adam
* Page size given by DICT_DEFAULT_PAGESIZE in dict.h.
*
* Revision 1.5 1996/01/31 21:03:59 adam
/*
- * Copyright (C) 1994-1995, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: dicttest.c,v $
- * Revision 1.21 1996-10-29 14:00:03 adam
+ * Revision 1.22 1999-02-02 14:50:19 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.21 1996/10/29 14:00:03 adam
* Page size given by DICT_DEFAULT_PAGESIZE in dict.h.
*
* Revision 1.20 1996/03/20 09:35:16 adam
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: dopen.c,v $
- * Revision 1.5 1997-09-17 12:19:07 adam
+ * Revision 1.6 1999-02-02 14:50:20 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.5 1997/09/17 12:19:07 adam
* Zebra version corresponds to YAZ version 1.4.
* Changed Zebra server so that it doesn't depend on global common_resource.
*
#include <sys/types.h>
#include <fcntl.h>
-#ifndef WINDOWS
+#ifndef WIN32
#include <unistd.h>
#endif
#include <stdio.h>
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: drdwr.c,v $
- * Revision 1.9 1997-09-09 13:38:01 adam
+ * Revision 1.10 1999-02-02 14:50:21 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.9 1997/09/09 13:38:01 adam
* Partial port to WIN95/NT.
*
* Revision 1.8 1995/01/24 11:25:11 adam
#include <sys/types.h>
#include <fcntl.h>
-#ifndef WINDOWS
+#ifndef WIN32
#include <unistd.h>
#endif
#include <string.h>
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: insert.c,v $
- * Revision 1.18 1998-03-05 08:17:24 adam
+ * Revision 1.19 1999-02-02 14:50:22 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.18 1998/03/05 08:17:24 adam
* Added a few comments - no code changed.
*
* Revision 1.17 1996/05/14 15:49:09 adam
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: lookgrep.c,v $
- * Revision 1.21 1998-06-24 12:16:12 adam
+ * Revision 1.22 1999-02-02 14:50:23 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.21 1998/06/24 12:16:12 adam
* Support for relations on text operands. Open range support in
* DFA module (i.e. [-j], [g-]).
*
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: lookup.c,v $
- * Revision 1.8 1998-03-05 08:17:24 adam
+ * Revision 1.9 1999-02-02 14:50:25 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.8 1998/03/05 08:17:24 adam
* Added a few comments - no code changed.
*
* Revision 1.7 1996/02/02 13:43:51 adam
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: lookupec.c,v $
- * Revision 1.6 1996-02-02 13:43:51 adam
+ * Revision 1.7 1999-02-02 14:50:26 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.6 1996/02/02 13:43:51 adam
* The public functions simply use char instead of Dict_char to represent
* search strings. Dict_char is used internally only.
*
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: open.c,v $
- * Revision 1.12 1997-09-17 12:19:07 adam
+ * Revision 1.13 1999-02-02 14:50:27 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.12 1997/09/17 12:19:07 adam
* Zebra version corresponds to YAZ version 1.4.
* Changed Zebra server so that it doesn't depend on global common_resource.
*
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: scan.c,v $
- * Revision 1.11 1998-06-22 11:34:45 adam
+ * Revision 1.12 1999-02-02 14:50:28 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.11 1998/06/22 11:34:45 adam
* Changed scan callback function so it doesn't stop further scanning.
*
* Revision 1.10 1998/03/06 16:58:04 adam
/*
- * Copyright (C) 1994-1997, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: bfile.h,v $
- * Revision 1.15 1997-09-17 12:19:07 adam
+ * Revision 1.16 1999-02-02 14:50:29 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.15 1997/09/17 12:19:07 adam
* Zebra version corresponds to YAZ version 1.4.
* Changed Zebra server so that it doesn't depend on global common_resource.
*
/*
- * Copyright (C) 1994-1997, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: bset.h,v $
- * Revision 1.2 1997-09-05 15:29:59 adam
+ * Revision 1.3 1999-02-02 14:50:30 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.2 1997/09/05 15:29:59 adam
* Changed prototype for chr_map_input - added const.
* Added support for C++, headers uses extern "C" for public definitions.
*
/*
- * Copyright (C) 1994-1997, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: dfa.h,v $
- * Revision 1.8 1997-09-18 08:59:18 adam
+ * Revision 1.9 1999-02-02 14:50:31 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.8 1997/09/18 08:59:18 adam
* Extra generic handle for the character mapping routines.
*
* Revision 1.7 1997/09/05 15:29:59 adam
/*
- * Copyright (C) 1994-1997, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: dict.h,v $
- * Revision 1.26 1997-09-18 08:59:18 adam
+ * Revision 1.27 1999-02-02 14:50:32 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.26 1997/09/18 08:59:18 adam
* Extra generic handle for the character mapping routines.
*
* Revision 1.25 1997/09/17 12:19:09 adam
/*
- * Copyright (c) 1997, Index Data.
+ * Copyright (c) 1997-1999, Index Data.
* See the file LICENSE for details.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: direntz.h,v $
- * Revision 1.2 1997-09-17 12:19:09 adam
+ * Revision 1.3 1999-02-02 14:50:33 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.2 1997/09/17 12:19:09 adam
* Zebra version corresponds to YAZ version 1.4.
* Changed Zebra server so that it doesn't depend on global common_resource.
*
*/
-#ifdef WINDOWS
+#ifdef WIN32
/* make own version of dirent */
#include <windows.h>
struct dirent {
/*
- * Copyright (C) 1994-1997, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: isam.h,v $
- * Revision 1.13 1997-09-17 12:19:09 adam
+ * Revision 1.14 1999-02-02 14:50:34 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.13 1997/09/17 12:19:09 adam
* Zebra version corresponds to YAZ version 1.4.
* Changed Zebra server so that it doesn't depend on global common_resource.
*
/*
- * Copyright (C) 1994-1997, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: mfile.h,v $
- * Revision 1.9 1997-09-18 08:59:19 adam
+ * Revision 1.10 1999-02-02 14:50:35 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.9 1997/09/18 08:59:19 adam
* Extra generic handle for the character mapping routines.
*
* Revision 1.8 1997/09/17 12:19:10 adam
/*
- * Copyright (C) 1994-1997, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: res.h,v $
- * Revision 1.9 1997-11-18 10:04:03 adam
+ * Revision 1.10 1999-02-02 14:50:36 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.9 1997/11/18 10:04:03 adam
* Function res_trav returns number of 'hits'.
*
* Revision 1.8 1997/09/17 12:19:10 adam
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: rsbool.h,v $
- * Revision 1.6 1998-03-05 08:37:44 adam
+ * Revision 1.7 1999-02-02 14:50:37 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.6 1998/03/05 08:37:44 adam
* New result set model.
*
* Revision 1.5 1997/09/05 15:30:02 adam
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: rset.h,v $
- * Revision 1.15 1998-03-05 08:37:44 adam
+ * Revision 1.16 1999-02-02 14:50:38 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.15 1998/03/05 08:37:44 adam
* New result set model.
*
* Revision 1.14 1998/02/10 11:56:46 adam
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: rsisam.h,v $
- * Revision 1.4 1998-03-05 08:37:44 adam
+ * Revision 1.5 1999-02-02 14:50:39 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.4 1998/03/05 08:37:44 adam
* New result set model.
*
* Revision 1.3 1997/09/05 15:30:04 adam
/*
- * Copyright (C) 1996-1998, Index Data I/S
+ * Copyright (C) 1996-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: rsisamc.h,v $
- * Revision 1.3 1998-03-05 08:37:44 adam
+ * Revision 1.4 1999-02-02 14:50:40 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.3 1998/03/05 08:37:44 adam
* New result set model.
*
* Revision 1.2 1997/09/05 15:30:04 adam
/*
- * Copyright (C) 1994-1997, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: rsm_or.h,v $
- * Revision 1.4 1998-03-05 08:37:44 adam
+ * Revision 1.5 1999-02-02 14:50:41 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.4 1998/03/05 08:37:44 adam
* New result set model.
*
* Revision 1.3 1997/09/05 15:30:04 adam
/*
- * Copyright (C) 1994-1997, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: rsnull.h,v $
- * Revision 1.3 1998-03-05 08:37:44 adam
+ * Revision 1.4 1999-02-02 14:50:42 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.3 1998/03/05 08:37:44 adam
* New result set model.
*
* Revision 1.2 1997/09/05 15:30:05 adam
/*
- * Copyright (C) 1994-1997, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: rstemp.h,v $
- * Revision 1.5 1998-03-05 08:37:44 adam
+ * Revision 1.6 1999-02-02 14:50:43 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.5 1998/03/05 08:37:44 adam
* New result set model.
*
* Revision 1.4 1997/09/17 12:19:11 adam
/*
- * Copyright (C) 1994-1997, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: set.h,v $
- * Revision 1.2 1997-09-05 15:30:05 adam
+ * Revision 1.3 1999-02-02 14:50:44 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.2 1997/09/05 15:30:05 adam
* Changed prototype for chr_map_input - added const.
* Added support for C++, headers uses extern "C" for public definitions.
*
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: str.h,v $
- * Revision 1.3 1997-09-05 15:30:06 adam
+ * Revision 1.4 1999-02-02 14:50:45 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.3 1997/09/05 15:30:06 adam
* Changed prototype for chr_map_input - added const.
* Added support for C++, headers uses extern "C" for public definitions.
*
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: zebramap.h,v $
- * Revision 1.6 1998-06-23 15:33:33 adam
+ * Revision 1.7 1999-02-02 14:50:46 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.6 1998/06/23 15:33:33 adam
* Added feature to specify sort criteria in query (type 7 specifies
* sort flags).
*
/*
- * Copyright (C) 1995-1997, Index Data I/S
+ * Copyright (C) 1995-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: zebrautl.h,v $
- * Revision 1.4 1997-10-27 14:33:04 adam
+ * Revision 1.5 1999-02-02 14:50:47 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.4 1997/10/27 14:33:04 adam
* Moved towards generic character mapping depending on "structure"
* field in abstract syntax file. Fixed a few memory leaks. Fixed
* bug with negative integers when doing searches with relational
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: zebraver.h,v $
- * Revision 1.12 1998-02-10 12:03:05 adam
+ * Revision 1.13 1999-02-02 14:50:48 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.12 1998/02/10 12:03:05 adam
* Implemented Sort.
*
* Revision 1.11 1998/01/29 13:33:04 adam
#endif
#ifndef ZEBRADATE
-#define ZEBRADATE "$Date: 1998-02-10 12:03:05 $"
+#define ZEBRADATE "$Date: 1999-02-02 14:50:48 $"
#endif
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: attribute.c,v $
- * Revision 1.9 1998-05-20 10:12:14 adam
+ * Revision 1.10 1999-02-02 14:50:49 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.9 1998/05/20 10:12:14 adam
* Implemented automatic EXPLAIN database maintenance.
* Modified Zebra to work with ASN.1 compiled version of YAZ.
*
/*
- * Copyright (C) 1994-1998, Index Data
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: dir.c,v $
- * Revision 1.19 1998-11-03 10:16:11 adam
+ * Revision 1.20 1999-02-02 14:50:50 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.19 1998/11/03 10:16:11 adam
* Uses stat and not lstat so that file traversal follows symbolic links.
*
* Revision 1.18 1997/09/25 14:55:33 adam
#include <stdio.h>
#include <string.h>
#include <assert.h>
-#ifndef WINDOWS
+#ifndef WIN32
#include <unistd.h>
#endif
#include <direntz.h>
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: dirs.c,v $
- * Revision 1.14 1998-01-12 15:04:07 adam
+ * Revision 1.15 1999-02-02 14:50:51 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.14 1998/01/12 15:04:07 adam
* The test option (-s) only uses read-lock (and not write lock).
*
* Revision 1.13 1997/09/09 13:38:06 adam
/*
- * Copyright (C) 1994-1998, Index Data
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: extract.c,v $
- * Revision 1.89 1998-10-28 10:54:38 adam
+ * Revision 1.90 1999-02-02 14:50:52 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.89 1998/10/28 10:54:38 adam
* SDRKit integration.
*
* Revision 1.88 1998/10/16 08:14:29 adam
*/
#include <stdio.h>
#include <assert.h>
-#ifdef WINDOWS
+#ifdef WIN32
#include <io.h>
#else
#include <unistd.h>
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: invstat.c,v $
- * Revision 1.7 1998-03-13 15:30:50 adam
+ * Revision 1.8 1999-02-02 14:50:53 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.7 1998/03/13 15:30:50 adam
* New functions isc_block_used and isc_block_size. Fixed 'leak'
* in isc_alloc_block.
*
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: kcompare.c,v $
- * Revision 1.25 1998-06-08 15:26:06 adam
+ * Revision 1.26 1999-02-02 14:50:54 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.25 1998/06/08 15:26:06 adam
* Minor changes.
*
* Revision 1.24 1998/06/08 14:43:12 adam
/*
- * Copyright (C) 1994-1996, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: kdump.c,v $
- * Revision 1.16 1998-05-20 10:12:17 adam
+ * Revision 1.17 1999-02-02 14:50:55 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.16 1998/05/20 10:12:17 adam
* Implemented automatic EXPLAIN database maintenance.
* Modified Zebra to work with ASN.1 compiled version of YAZ.
*
#include <stdio.h>
#include <string.h>
#include <assert.h>
-#ifdef WINDOWS
+#ifdef WIN32
#include <io.h>
#else
#include <unistd.h>
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: kinput.c,v $
- * Revision 1.30 1998-10-28 10:53:57 adam
+ * Revision 1.31 1999-02-02 14:50:56 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.30 1998/10/28 10:53:57 adam
* Added type cast to prevent warning.
*
* Revision 1.29 1998/06/11 15:41:39 adam
*/
#include <fcntl.h>
-#ifdef WINDOWS
+#ifdef WIN32
#include <io.h>
#else
#include <unistd.h>
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: lockidx.c,v $
- * Revision 1.15 1998-02-17 10:31:33 adam
+ * Revision 1.16 1999-02-02 14:50:57 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.15 1998/02/17 10:31:33 adam
* Fixed bug in zebraIndexUnlock. On NT, the lock files wasn't removed.
*
* Revision 1.14 1998/01/12 15:04:08 adam
*/
#include <stdio.h>
#include <assert.h>
-#ifdef WINDOWS
+#ifdef WIN32
#include <io.h>
#else
#include <unistd.h>
h = server_lock_org;
if (zebra_lock_nb (h))
{
-#ifndef WINDOWS
+#ifndef WIN32
if (errno != EWOULDBLOCK)
{
logf (LOG_FATAL|LOG_ERRNO, "flock");
}
if (zebra_lock_nb (server_lock_main) == -1)
{
-#ifdef WINDOWS
+#ifdef WIN32
logf (LOG_LOG, "waiting for other index process");
zebra_lock (server_lock_main);
zebra_unlock (server_lock_main);
/*
- * Copyright (C) 1994-1997, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: locksrv.c,v $
- * Revision 1.11 1998-03-05 08:45:12 adam
+ * Revision 1.12 1999-02-02 14:50:58 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.11 1998/03/05 08:45:12 adam
* New result set model and modular ranking system. Moved towards
* descent server API. System information stored as "SGML" records.
*
*/
#include <stdio.h>
#include <assert.h>
-#ifdef WINDOWS
+#ifdef WIN32
#include <io.h>
#else
#include <unistd.h>
/*
- * Copyright (C) 1994-1997, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: lockutil.c,v $
- * Revision 1.10 1997-09-29 09:08:36 adam
+ * Revision 1.11 1999-02-02 14:50:59 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.10 1997/09/29 09:08:36 adam
* Revised locking system to be thread safe for the server.
*
* Revision 1.9 1997/09/25 14:54:43 adam
#include <errno.h>
#include <fcntl.h>
#include <sys/types.h>
-#ifdef WINDOWS
+#ifdef WIN32
#include <io.h>
#include <sys/locking.h>
#else
ZebraLockHandle h = xmalloc (sizeof(*h));
h->excl_flag = excl_flag;
h->fd = -1;
-#ifdef WINDOWS
+#ifdef WIN32
if (!h->excl_flag)
h->fd = open (name, O_BINARY|O_RDONLY);
if (h->fd == -1)
strcat (path, "/");
}
-#ifdef WINDOWS
-
-#else
+#ifndef WIN32
static int unixLock (int fd, int type, int cmd)
{
struct flock area;
int zebra_lock (ZebraLockHandle h)
{
-#ifdef WINDOWS
+#ifdef WIN32
return _locking (h->fd, _LK_LOCK, 1);
#else
return unixLock (h->fd, h->excl_flag ? F_WRLCK : F_RDLCK, F_SETLKW);
int zebra_lock_nb (ZebraLockHandle h)
{
-#ifdef WINDOWS
+#ifdef WIN32
return _locking (h->fd, _LK_NBLCK, 1);
#else
return unixLock (h->fd, h->excl_flag ? F_WRLCK : F_RDLCK, F_SETLK);
int zebra_unlock (ZebraLockHandle h)
{
-#ifdef WINDOWS
+#ifdef WIN32
return _locking (h->fd, _LK_UNLCK, 1);
#else
return unixLock (h->fd, F_UNLCK, F_SETLKW);
/*
- * Copyright (C) 1994-1998, Index Data
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: main.c,v $
- * Revision 1.60 1998-10-28 10:54:39 adam
+ * Revision 1.61 1999-02-02 14:51:00 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.60 1998/10/28 10:54:39 adam
* SDRKit integration.
*
* Revision 1.59 1998/10/16 08:14:32 adam
*/
#include <stdio.h>
#include <assert.h>
-#ifdef WINDOWS
+#ifdef WIN32
#include <io.h>
#else
#include <unistd.h>
zebraIndexWait (1);
logf (LOG_LOG, "commit execute");
bf_commitExec (rGroupDef.bfs);
-#ifndef WINDOWS
+#ifndef WIN32
sync ();
#endif
zebraIndexLockMsg ("d");
{
logf (LOG_LOG, "merging with index");
key_input (rGroup.bfs, nsections, 60);
-#ifndef WINDOWS
+#ifndef WIN32
sync ();
#endif
}
/*
- * Copyright (C) 1998, Index Data I/S
+ * Copyright (C) 1998-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: rank1.c,v $
- * Revision 1.3 1998-06-12 12:21:53 adam
+ * Revision 1.4 1999-02-02 14:51:01 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.3 1998/06/12 12:21:53 adam
* Fixed memory-leak.
*
* Revision 1.2 1998/03/05 13:03:29 adam
#include <stdio.h>
#include <assert.h>
-#ifdef WINDOWS
+#ifdef WIN32
#include <io.h>
#else
#include <unistd.h>
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: recindex.c,v $
- * Revision 1.20 1998-01-12 15:04:08 adam
+ * Revision 1.21 1999-02-02 14:51:03 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.20 1998/01/12 15:04:08 adam
* The test option (-s) only uses read-lock (and not write lock).
*
* Revision 1.19 1997/09/17 12:19:16 adam
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: recindex.h,v $
- * Revision 1.13 1998-03-05 08:45:12 adam
+ * Revision 1.14 1999-02-02 14:51:04 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.13 1998/03/05 08:45:12 adam
* New result set model and modular ranking system. Moved towards
* descent server API. System information stored as "SGML" records.
*
/*
- * Copyright (C) 1994-1995, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: recindxp.h,v $
- * Revision 1.4 1998-03-05 08:45:12 adam
+ * Revision 1.5 1999-02-02 14:51:05 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.4 1998/03/05 08:45:12 adam
* New result set model and modular ranking system. Moved towards
* descent server API. System information stored as "SGML" records.
*
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: recstat.c,v $
- * Revision 1.6 1998-01-12 15:04:08 adam
+ * Revision 1.7 1999-02-02 14:51:06 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.6 1998/01/12 15:04:08 adam
* The test option (-s) only uses read-lock (and not write lock).
*
* Revision 1.5 1997/09/17 12:19:17 adam
#include <assert.h>
#include <string.h>
#include <fcntl.h>
-#ifndef WINDOWS
+#ifndef WIN32
#include <unistd.h>
#endif
#include "recindxp.h"
/*
- * Copyright (C) 1995-1998, Index Data
+ * Copyright (C) 1995-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: retrieve.c,v $
- * Revision 1.3 1998-10-28 10:54:40 adam
+ * Revision 1.4 1999-02-02 14:51:07 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.3 1998/10/28 10:54:40 adam
* SDRKit integration.
*
* Revision 1.2 1998/10/16 08:14:33 adam
#include <assert.h>
#include <fcntl.h>
-#ifdef WINDOWS
+#ifdef WIN32
#include <io.h>
#include <process.h>
#else
/*
- * Copyright (C) 1994-1995, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: symtab.c,v $
- * Revision 1.4 1997-09-09 13:38:09 adam
+ * Revision 1.5 1999-02-02 14:51:08 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.4 1997/09/09 13:38:09 adam
* Partial port to WIN95/NT.
*
* Revision 1.3 1996/10/29 14:06:54 adam
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: trav.c,v $
- * Revision 1.34 1998-06-08 14:43:14 adam
+ * Revision 1.35 1999-02-02 14:51:09 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.34 1998/06/08 14:43:14 adam
* Added suport for EXPLAIN Proxy servers - added settings databasePath
* and explainDatabase to facilitate this. Increased maximum number
* of databases and attributes in one register.
#include <assert.h>
#include <sys/types.h>
#include <sys/stat.h>
-#ifdef WINDOWS
+#ifdef WIN32
#include <io.h>
#define S_ISREG(x) (x & _S_IFREG)
#define S_ISDIR(x) (x & _S_IFDIR)
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: trunc.c,v $
- * Revision 1.11 1998-03-25 13:48:02 adam
+ * Revision 1.12 1999-02-02 14:51:10 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.11 1998/03/25 13:48:02 adam
* Fixed bug in rset_trunc_r.
*
* Revision 1.10 1998/03/05 08:45:13 adam
/*
- * Copyright (C) 1995-1998, Index Data
+ * Copyright (C) 1995-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: zebraapi.c,v $
- * Revision 1.13 1998-12-16 12:23:30 adam
+ * 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
*/
#include <stdio.h>
-#ifdef WINDOWS
+#ifdef WIN32
#include <io.h>
#include <process.h>
#else
else
waitSec = 0;
}
-#ifdef WINDOWS
+#ifdef WIN32
#else
if (waitSec > 0)
sleep (waitSec);
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: zinfo.h,v $
- * Revision 1.5 1998-06-08 14:43:16 adam
+ * Revision 1.6 1999-02-02 14:51:12 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.5 1998/06/08 14:43:16 adam
* Added suport for EXPLAIN Proxy servers - added settings databasePath
* and explainDatabase to facilitate this. Increased maximum number
* of databases and attributes in one register.
/*
- * Copyright (C) 1995-1998, Index Data
+ * Copyright (C) 1995-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: zrpn.c,v $
- * Revision 1.90 1998-11-16 16:03:43 adam
+ * Revision 1.91 1999-02-02 14:51:13 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.90 1998/11/16 16:03:43 adam
* Moved loggin utilities to Yaz. Was implemented in file zlogs.c.
*
* Revision 1.89 1998/11/16 10:11:55 adam
*/
#include <stdio.h>
#include <assert.h>
-#ifdef WINDOWS
+#ifdef WIN32
#include <io.h>
#else
#include <unistd.h>
/*
- * Copyright (C) 1995-1998, Index Data
+ * Copyright (C) 1995-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: zserver.c,v $
- * Revision 1.66 1998-10-28 10:54:41 adam
+ * Revision 1.67 1999-02-02 14:51:14 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.66 1998/10/28 10:54:41 adam
* SDRKit integration.
*
* Revision 1.65 1998/10/18 07:54:54 adam
#include <stdio.h>
#include <assert.h>
#include <fcntl.h>
-#ifdef WINDOWS
+#ifdef WIN32
#include <io.h>
#include <process.h>
#else
return 0;
}
-#ifndef WINDOWS
+#ifndef WIN32
static void pre_init (struct statserv_options_block *sob)
{
char *pidfile = "zebrasrv.pid";
sob = statserv_getcontrol ();
strcpy (sob->configname, FNAME_CONFIG);
-#ifndef WINDOWS
+#ifndef WIN32
sob->pre_init = pre_init;
#endif
statserv_setcontrol (sob);
/*
- * Copyright (C) 1994-1998, Index Data
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: zsets.c,v $
- * Revision 1.21 1998-11-16 16:03:46 adam
+ * Revision 1.22 1999-02-02 14:51:15 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.21 1998/11/16 16:03:46 adam
* Moved loggin utilities to Yaz. Was implemented in file zlogs.c.
*
* Revision 1.20 1998/11/16 10:10:53 adam
*/
#include <stdio.h>
#include <assert.h>
-#ifdef WINDOWS
+#ifdef WIN32
#include <io.h>
#else
#include <unistd.h>
/*
- * Copyright (C) 1994-1997, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: isam.c,v $
- * Revision 1.24 1997-10-27 14:25:39 adam
+ * Revision 1.25 1999-02-02 14:51:16 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.24 1997/10/27 14:25:39 adam
* Fixed memory leaks.
*
* Revision 1.23 1997/09/17 12:19:20 adam
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: isutil.c,v $
- * Revision 1.3 1996-10-29 13:56:55 adam
+ * Revision 1.4 1999-02-02 14:51:17 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.3 1996/10/29 13:56:55 adam
* Include of zebrautl.h instead of alexutil.h.
*
* Revision 1.2 1995/09/04 12:33:46 adam
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: isutil.h,v $
- * Revision 1.1 1994-09-12 08:02:14 quinn
+ * Revision 1.2 1999-02-02 14:51:18 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.1 1994/09/12 08:02:14 quinn
* Not functional yet
*
*/
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: keyops.h,v $
- * Revision 1.1 1994-09-26 16:07:55 quinn
+ * Revision 1.2 1999-02-02 14:51:19 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.1 1994/09/26 16:07:55 quinn
* Most of the functionality in place.
*
*/
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: memory.c,v $
- * Revision 1.15 1997-09-09 13:38:11 adam
+ * Revision 1.16 1999-02-02 14:51:20 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.15 1997/09/09 13:38:11 adam
* Partial port to WIN95/NT.
*
* Revision 1.14 1996/10/29 13:56:56 adam
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: memory.h,v $
- * Revision 1.6 1997-09-05 15:30:10 adam
+ * Revision 1.7 1999-02-02 14:51:21 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.6 1997/09/05 15:30:10 adam
* Changed prototype for chr_map_input - added const.
* Added support for C++, headers uses extern "C" for public definitions.
*
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: physical.c,v $
- * Revision 1.14 1997-09-09 13:38:12 adam
+ * Revision 1.15 1999-02-02 14:51:22 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.14 1997/09/09 13:38:12 adam
* Partial port to WIN95/NT.
*
* Revision 1.13 1996/10/29 13:56:57 adam
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: physical.h,v $
- * Revision 1.4 1997-09-05 15:30:10 adam
+ * Revision 1.5 1999-02-02 14:51:23 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.4 1997/09/05 15:30:10 adam
* Changed prototype for chr_map_input - added const.
* Added support for C++, headers uses extern "C" for public definitions.
*
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: rootblk.c,v $
- * Revision 1.2 1995-09-04 12:33:47 adam
+ * Revision 1.3 1999-02-02 14:51:24 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.2 1995/09/04 12:33:47 adam
* Various cleanup. YAZ util used instead.
*
* Revision 1.1 1994/09/26 16:08:00 quinn
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: rootblk.h,v $
- * Revision 1.1 1994-09-26 16:08:00 quinn
+ * Revision 1.2 1999-02-02 14:51:25 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.1 1994/09/26 16:08:00 quinn
* Most of the functionality in place.
*
*/
/*
- * Copyright (C) 1994-1996, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: grsread.h,v $
- * Revision 1.4 1997-09-17 12:19:21 adam
+ * Revision 1.5 1999-02-02 14:51:26 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.4 1997/09/17 12:19:21 adam
* Zebra version corresponds to YAZ version 1.4.
* Changed Zebra server so that it doesn't depend on global common_resource.
*
/*
- * Copyright (C) 1997, Index Data I/S
+ * Copyright (C) 1997-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: marcread.c,v $
- * Revision 1.5 1997-11-18 10:03:24 adam
+ * Revision 1.6 1999-02-02 14:51:27 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.5 1997/11/18 10:03:24 adam
* Member num_children removed from data1_node.
*
* Revision 1.4 1997/10/27 14:34:26 adam
/*
- * Copyright (C) 1994-1998, Index Data
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: recgrs.c,v $
- * Revision 1.23 1998-10-18 07:51:10 adam
+ * Revision 1.24 1999-02-02 14:51:28 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.23 1998/10/18 07:51:10 adam
* Changed one logf call.
*
* Revision 1.22 1998/10/16 08:14:37 adam
#include <stdio.h>
#include <assert.h>
#include <sys/types.h>
-#ifndef WINDOWS
+#ifndef WIN32
#include <unistd.h>
#endif
/*
- * Copyright (C) 1994-1995, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: recgrs.h,v $
- * Revision 1.2 1997-04-30 08:56:08 quinn
+ * Revision 1.3 1999-02-02 14:51:29 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.2 1997/04/30 08:56:08 quinn
* null
*
* Revision 1.1 1996/10/11 10:57:26 adam
/*
- * Copyright (C) 1994-1996, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: rectext.h,v $
- * Revision 1.2 1997-04-30 08:56:08 quinn
+ * Revision 1.3 1999-02-02 14:51:30 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.2 1997/04/30 08:56:08 quinn
* null
*
* Revision 1.1 1996/10/11 10:57:29 adam
/*
- * Copyright (C) 1994-1996, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: sgmlread.c,v $
- * Revision 1.4 1997-09-17 12:19:22 adam
+ * Revision 1.5 1999-02-02 14:51:31 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.4 1997/09/17 12:19:22 adam
* Zebra version corresponds to YAZ version 1.4.
* Changed Zebra server so that it doesn't depend on global common_resource.
*
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: rsbool.c,v $
- * Revision 1.14 1998-03-05 08:36:27 adam
+ * Revision 1.15 1999-02-02 14:51:32 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.14 1998/03/05 08:36:27 adam
* New result set model.
*
* Revision 1.13 1997/12/18 10:54:24 adam
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: rset.c,v $
- * Revision 1.12 1998-04-26 10:56:57 adam
+ * Revision 1.13 1999-02-02 14:51:33 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.12 1998/04/26 10:56:57 adam
* Added include of string.h.
*
* Revision 1.11 1998/03/05 08:36:28 adam
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: rsisam.c,v $
- * Revision 1.18 1998-03-05 08:36:28 adam
+ * Revision 1.19 1999-02-02 14:51:34 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.18 1998/03/05 08:36:28 adam
* New result set model.
*
* Revision 1.17 1997/12/18 10:54:25 adam
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: rsisamc.c,v $
- * Revision 1.5 1998-03-05 08:36:28 adam
+ * Revision 1.6 1999-02-02 14:51:35 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.5 1998/03/05 08:36:28 adam
* New result set model.
*
* Revision 1.4 1997/12/18 10:54:25 adam
/*
- * Copyright (C) 1994-1995, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: rsnull.c,v $
- * Revision 1.10 1998-03-05 08:36:28 adam
+ * Revision 1.11 1999-02-02 14:51:36 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.10 1998/03/05 08:36:28 adam
* New result set model.
*
* Revision 1.9 1997/12/18 10:54:25 adam
/*
- * Copyright (C) 1994-1998, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: rstemp.c,v $
- * Revision 1.24 1998-03-05 08:36:28 adam
+ * Revision 1.25 1999-02-02 14:51:37 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.24 1998/03/05 08:36:28 adam
* New result set model.
*
* Revision 1.23 1997/12/18 10:54:25 adam
#include <fcntl.h>
#include <assert.h>
-#ifdef WINDOWS
+#ifdef WIN32
#include <io.h>
#else
#include <unistd.h>
/*
- * Copyright (C) 1997, Index Data I/S
+ * Copyright (C) 1997-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: dirent.c,v $
- * Revision 1.2 1997-09-17 12:19:24 adam
+ * Revision 1.3 1999-02-02 14:51:38 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.2 1997/09/17 12:19:24 adam
* Zebra version corresponds to YAZ version 1.4.
* Changed Zebra server so that it doesn't depend on global common_resource.
*
* This utility implements a opendir/readdir/close on Windows.
*/
-#ifdef WINDOWS
+#ifdef WIN32
#include <assert.h>
#include <io.h>
#include <string.h>
/*
- * Copyright (C) 1998, Index Data ApS
+ * Copyright (C) 1998-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: passwddb.c,v $
- * Revision 1.3 1998-06-25 19:16:32 adam
+ * Revision 1.4 1999-02-02 14:51:39 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.3 1998/06/25 19:16:32 adam
* Minor changes to Visual C++ project.
*
* Revision 1.2 1998/06/25 09:55:51 adam
* Minor changes - fixex headers.
*
*/
-#ifdef WINDOWS
+#ifdef WIN32
#else
#include <unistd.h>
#endif
/*
- * Copyright (C) 1994, Index Data I/S
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: res-test.c,v $
- * Revision 1.6 1996-10-29 13:48:16 adam
+ * Revision 1.7 1999-02-02 14:51:41 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.6 1996/10/29 13:48:16 adam
* Updated to use zebrautl.h instead of alexutil.h.
*
* Revision 1.5 1995/09/04 12:34:05 adam
/*
- * Copyright (C) 1994-1998, Index Data ApS
+ * Copyright (C) 1994-1999, Index Data
* All rights reserved.
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: res.c,v $
- * Revision 1.23 1998-10-28 15:18:55 adam
+ * Revision 1.24 1999-02-02 14:51:42 adam
+ * Updated WIN32 code specific sections. Changed header.
+ *
+ * Revision 1.23 1998/10/28 15:18:55 adam
* Fix for DOS-formatted configuration files.
*
* Revision 1.22 1998/01/12 15:04:32 adam
#include <stdlib.h>
#include <string.h>
#include <assert.h>
-#ifdef WINDOWS
+#ifdef WIN32
#include <io.h>
#else
#include <unistd.h>
Res res_open (const char *name)
{
Res r;
-#ifdef WINDOWS
+#ifdef WIN32
if (access (name, 4))
#else
if (access (name, R_OK))
# PROP Intermediate_Dir "Release"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
-# ADD CPP /nologo /MD /W3 /GX /O2 /I "include" /I "..\yaz\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "WINDOWS" /YX /FD /c
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "include" /I "..\yaz\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo
# PROP Intermediate_Dir "Debug"
# PROP Target_Dir ""
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
-# ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I "include" /I "..\yaz\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "WINDOWS" /FR /YX /FD /c
+# ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I "include" /I "..\yaz\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /FD /c
BSC32=bscmake.exe
# ADD BASE BSC32 /nologo
# ADD BSC32 /nologo