win32 fixups
This commit is contained in:
parent
15568e11f8
commit
815034d047
2 changed files with 1 additions and 111 deletions
1
blsb.c
1
blsb.c
|
@ -202,6 +202,7 @@ void dnsbl_callback(void *data, adns_answer *a)
|
||||||
*
|
*
|
||||||
* @return NS_SUCCESS if suceeds else result of command
|
* @return NS_SUCCESS if suceeds else result of command
|
||||||
*/
|
*/
|
||||||
|
|
||||||
scanclient *do_lookup( Client *lookupuser, Client *reportuser )
|
scanclient *do_lookup( Client *lookupuser, Client *reportuser )
|
||||||
{
|
{
|
||||||
static char ip[HOSTIPLEN];
|
static char ip[HOSTIPLEN];
|
||||||
|
|
111
modconfigwin32.h
111
modconfigwin32.h
|
@ -17,115 +17,4 @@
|
||||||
/* Revision */
|
/* Revision */
|
||||||
#define MODULE_REV "a2"
|
#define MODULE_REV "a2"
|
||||||
|
|
||||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
||||||
/* #undef HAVE_DLFCN_H */
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <fcntl.h> header file. */
|
|
||||||
#define HAVE_FCNTL_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `gethostbyname' function. */
|
|
||||||
#define HAVE_GETHOSTBYNAME 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `gethostbyname2' function. */
|
|
||||||
/* #undef HAVE_GETHOSTBYNAME2 */
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `inet_aton' function. */
|
|
||||||
/*#define HAVE_INET_ATON 1*/
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `inet_pton' function. */
|
|
||||||
/* #undef HAVE_INET_PTON */
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
||||||
#define HAVE_INTTYPES_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <memory.h> header file. */
|
|
||||||
#define HAVE_MEMORY_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `select' function. */
|
|
||||||
/* #undef HAVE_SELECT */
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `snprintf' function. */
|
|
||||||
#define HAVE_SNPRINTF 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdint.h> header file. */
|
|
||||||
#define HAVE_STDINT_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
||||||
#define HAVE_STDLIB_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <strings.h> header file. */
|
|
||||||
/*#define HAVE_STRINGS_H 1*/
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <string.h> header file. */
|
|
||||||
#define HAVE_STRING_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/poll.h> header file. */
|
|
||||||
/*#define HAVE_SYS_POLL_H 1*/
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
||||||
#define HAVE_SYS_STAT_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/time.h> header file. */
|
|
||||||
/*#define HAVE_SYS_TIME_H 1*/
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
||||||
#define HAVE_SYS_TYPES_H 1
|
|
||||||
|
|
||||||
/* Define to 1 if you have the <unistd.h> header file. */
|
|
||||||
/*#define HAVE_UNISTD_H 1*/
|
|
||||||
|
|
||||||
/* Define to 1 if you have the `vsnprintf' function. */
|
|
||||||
#define HAVE_VSNPRINTF 1
|
|
||||||
|
|
||||||
/* Name of package */
|
|
||||||
/* #undef PACKAGE */
|
|
||||||
|
|
||||||
/* Define to the address where bug reports for this package should be sent. */
|
|
||||||
#define PACKAGE_BUGREPORT ""
|
|
||||||
|
|
||||||
/* Define to the full name of this package. */
|
|
||||||
#define PACKAGE_NAME ""
|
|
||||||
|
|
||||||
/* Define to the full name and version of this package. */
|
|
||||||
#define PACKAGE_STRING ""
|
|
||||||
|
|
||||||
/* Define to the one symbol short name of this package. */
|
|
||||||
#define PACKAGE_TARNAME ""
|
|
||||||
|
|
||||||
/* Define to the version of this package. */
|
|
||||||
#define PACKAGE_VERSION ""
|
|
||||||
|
|
||||||
/* "enable replacement (v)snprintf if system (v)snprintf is broken" */
|
|
||||||
/* #undef PREFER_PORTABLE_SNPRINTF */
|
|
||||||
|
|
||||||
/* Define to 1 if you have the ANSI C header files. */
|
|
||||||
#define STDC_HEADERS 1
|
|
||||||
|
|
||||||
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
|
|
||||||
/*#define TIME_WITH_SYS_TIME 1*/
|
|
||||||
|
|
||||||
/* Version number of package */
|
|
||||||
/* #undef VERSION */
|
|
||||||
|
|
||||||
/* Define to 1 if your processor stores words with the most significant byte
|
|
||||||
first (like Motorola and SPARC, unlike Intel and VAX). */
|
|
||||||
/* #undef WORDS_BIGENDIAN */
|
|
||||||
|
|
||||||
/* Define to empty if `const' does not conform to ANSI C. */
|
|
||||||
/* #undef const */
|
|
||||||
|
|
||||||
/* Define to `unsigned' if <sys/types.h> does not define. */
|
|
||||||
/* #undef size_t */
|
|
||||||
|
|
||||||
#ifndef POLLIN
|
|
||||||
#define snprintf _snprintf
|
|
||||||
struct pollfd { int fd; short events; short revents; };
|
|
||||||
#define POLLIN 1
|
|
||||||
#define POLLPRI 2
|
|
||||||
#define POLLOUT 4
|
|
||||||
#define POLLERR 8
|
|
||||||
#define POLLHUP 16
|
|
||||||
#define POLLNVAL 32
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* _MODCONFIGWIN32_H_ */
|
#endif /* _MODCONFIGWIN32_H_ */
|
||||||
|
|
Reference in a new issue