record.h record.c reclists.c reclists.h \
relevance.c relevance.h termlists.c termlists.h \
normalize7bit.h normalize7bit.c \
- util.c util.h zeerex.c zeerex.h database.c database.h \
+ zeerex.c zeerex.h database.c database.h \
settings.h settings.c sel_thread.c sel_thread.h getaddrinfo.c \
charsets.c charsets.h \
client.c client.h connection.c connection.h host.h parameters.h \
#endif
#include "pazpar2.h"
-
+#include "parameters.h"
#include "client.h"
#include "connection.h"
#include "settings.h"
+#include "relevance.h"
/** \brief Represents client state for a connection to one search target */
struct client {
#include <yaz/comstack.h>
#include <yaz/tcpip.h>
#include "connection.h"
-#include "eventl.h"
#include "pazpar2.h"
#include "host.h"
#include "client.h"
#include "settings.h"
-#include "parameters.h"
/** \brief Represents a physical, reusable connection to a remote Z39.50 host
#include <assert.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <yaz/log.h>
#include "pazpar2.h"
#include "host.h"
#include <yaz/nmem.h>
#include "util.h"
-#include "eventl.h"
#include "pazpar2.h"
#include "http.h"
#define MAX_HTTP_HEADER 4096
+#ifdef WIN32
+#define strncasecmp _strnicmp
+#define strcasecmp _stricmp
+#endif
+
static void proxy_io(IOCHAN i, int event);
static struct http_channel *http_create(const char *addr,
struct conf_server *server);
#ifndef HTTP_H
#define HTTP_H
+#include "eventl.h"
// Generic I/O buffer
struct http_buf
{
#include <yaz/snprintf.h>
#include <yaz/yaz-util.h>
-#include "util.h"
#include "eventl.h"
+#include "parameters.h"
#include "pazpar2.h"
#include "http.h"
#include "settings.h"
#include <yaz/timing.h>
#endif
-
+#include "parameters.h"
#include "pazpar2.h"
#include "eventl.h"
#include "http.h"
#include <signal.h>
#include <assert.h>
+#include "parameters.h"
#include "pazpar2.h"
-#include "database.h"
-#include "settings.h"
#include <yaz/daemon.h>
-
+#include <yaz/log.h>
+#include <yaz/options.h>
#include <yaz/sc.h>
static struct conf_config *sc_stop_config = 0;
#include <yaz/yaz-ccl.h>
#include "termlists.h"
-#include "relevance.h"
#include "reclists.h"
-#include "eventl.h"
#include "pazpar2_config.h"
-#include "parameters.h"
#include "http.h"
struct record;
#include "pazpar2.h"
#include "reclists.h"
-#include "parameters.h"
static struct reclist_sortparms *qsort_sortparms = 0; /* thread pr */
+++ /dev/null
-/* This file is part of Pazpar2.
- Copyright (C) 2006-2009 Index Data
-
-Pazpar2 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.
-
-Pazpar2 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 this program; if not, write to the Free Software
-Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-
-*/
-
-#if HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include <stdlib.h>
-#include <yaz/yaz-util.h>
-
-void die(char *string, char *add)
-{
- yaz_log(YLOG_FATAL, "Fatal error: %s (%s)", string, add ? add : "");
- abort();
-}
-
void die(char *string, char *add);
-#ifdef WIN32
-#define strncasecmp _strnicmp
-#define strcasecmp _stricmp
-#endif
#endif
"$(OBJDIR)\relevance.obj" \
"$(OBJDIR)\termlists.obj" \
"$(OBJDIR)\normalize7bit.obj" \
- "$(OBJDIR)\util.obj" \
"$(OBJDIR)\zeerex.obj" \
"$(OBJDIR)\database.obj" \
"$(OBJDIR)\settings.obj" \