/*
- * Copyright (c) 1995-2004, Index Data
+ * Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: tcpdchk.c,v 1.3 2004-11-18 15:18:13 heikki Exp $
+ * $Id: tcpdchk.c,v 1.6 2005-01-16 21:51:50 adam Exp $
*/
/**
* \file tcpdchk.c
#include <stdio.h>
#include <string.h>
+#ifdef WIN32
+#include <winsock.h>
+#else
+#include <netdb.h>
+#include <arpa/inet.h>
+#endif
+
#include <yaz/yconfig.h>
#include <yaz/comstack.h>
#include <yaz/statserv.h>
-#include <yaz/ylog.h>
+#include <yaz/log.h>
#if HAVE_TCPD_H
#include <syslog.h>
#include <tcpd.h>
-
int allow_severity = LOG_INFO; /* not YLOG !! */
int deny_severity = LOG_WARNING;