4 #define UNUSED_VARIABLE(v) ((void)(v))
6 extern int libspamc_timeout; /* default timeout in seconds */
9 #include <openssl/crypto.h>
10 #include <openssl/pem.h>
11 #include <openssl/ssl.h>
12 #include <openssl/err.h>
14 typedef int SSL; /* fake type to avoid conditional compilation */
16 typedef int SSL_METHOD;
19 ssize_t fd_timeout_read (int fd, void *, size_t );
20 int ssl_timeout_read (SSL *ssl, void *, int );
22 /* these are fd-only, no SSL support */
23 int full_read(int fd, void *buf, int min, int len);
24 int full_read_ssl(SSL *ssl, unsigned char *buf, int min, int len);
25 int full_write(int fd, const void *buf, int len);