This commit is contained in:
van Hauser 2017-07-06 21:37:59 +02:00
parent bbb54239b7
commit e141c59d2a

28
hydra.h
View file

@ -1,4 +1,4 @@
#ifndef _HYDRA_H
#include <stdio.h> #include <stdio.h>
#ifdef __sun #ifdef __sun
@ -30,20 +30,20 @@
#include <errno.h> #include <errno.h>
#ifdef HAVE_OPENSSL #ifdef HAVE_OPENSSL
#define HYDRA_SSL #define HYDRA_SSL
#endif #endif
#ifdef HAVE_SSL #ifdef HAVE_SSL
#ifndef HYDRA_SSL #ifndef HYDRA_SSL
#define HYDRA_SSL #define HYDRA_SSL
#endif #endif
#endif #endif
#ifdef LIBSSH #ifdef LIBSSH
#include <libssh/libssh.h> #include <libssh/libssh.h>
#endif #endif
#ifdef HAVE_ZLIB #ifdef HAVE_ZLIB
#include <zlib.h> #include <zlib.h>
#endif #endif
#define OPTION_SSL 1 #define OPTION_SSL 1
@ -148,21 +148,17 @@
#define True 1 #define True 1
#ifndef INET_ADDRSTRLEN #ifndef INET_ADDRSTRLEN
#define INET_ADDRSTRLEN 16 #define INET_ADDRSTRLEN 16
#endif #endif
#define MAX_PROXY_COUNT 64 #define MAX_PROXY_COUNT 64
#ifndef _WIN32 #ifndef _WIN32
int32_t sleepn(time_t seconds);
int32_t sleepn(time_t seconds); int32_t usleepn(long useconds);
int32_t usleepn(long useconds);
#else #else
int32_t sleepn(uint32_t seconds);
int32_t sleepn(uint32_t seconds); int32_t usleepn(uint32_t useconds);
int32_t usleepn(uint32_t useconds);
#endif #endif
#define _HYDRA_H #define _HYDRA_H