projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
For GFS, allow field record in bend_fetch_rr to hold NULL - meaning
[yaz-moved-to-github.git]
/
src
/
tcpdchk.c
diff --git
a/src/tcpdchk.c
b/src/tcpdchk.c
index
5f18801
..
96ef8bc
100644
(file)
--- a/
src/tcpdchk.c
+++ b/
src/tcpdchk.c
@@
-1,8
+1,8
@@
/*
/*
- * Copyright (c) 1995-2004, Index Data
+ * Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
* 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.7 2005-01-17 10:29:25 adam Exp $
*/
/**
* \file tcpdchk.c
*/
/**
* \file tcpdchk.c
@@
-12,17
+12,33
@@
#include <stdio.h>
#include <string.h>
#include <stdio.h>
#include <string.h>
+#if HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+
+#ifdef WIN32
+#include <winsock.h>
+#else
+#include <netinet/in.h>
+#include <netdb.h>
+#include <arpa/inet.h>
+#include <netinet/tcp.h>
+#endif
+
+#if HAVE_SYS_SOCKET_H
+#include <sys/socket.h>
+#endif
+
#include <yaz/yconfig.h>
#include <yaz/comstack.h>
#include <yaz/statserv.h>
#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>
#if HAVE_TCPD_H
#include <syslog.h>
#include <tcpd.h>
-
int allow_severity = LOG_INFO; /* not YLOG !! */
int deny_severity = LOG_WARNING;
int allow_severity = LOG_INFO; /* not YLOG !! */
int deny_severity = LOG_WARNING;