sync 098claws
[claws.git] / src / plugins / spamassassin / utils.h
index 9522226aa9cbcc1b2ea1361a3015b37388bfbb52..4df7c53334b5190af87f3966621469346c0cfa90 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef UTILS_H
 #define UTILS_H
 
+#define UNUSED_VARIABLE(v)     ((void)(v))
+
 extern int libspamc_timeout;  /* default timeout in seconds */
 
 #ifdef SPAMC_SSL
@@ -18,7 +20,8 @@ ssize_t fd_timeout_read (int fd, void *, size_t );
 int ssl_timeout_read (SSL *ssl, void *, int );  
 
 /* these are fd-only, no SSL support */
-int full_read(int fd, unsigned char *buf, int min, int len);
-int full_write(int fd, const unsigned char *buf, int len);
+int full_read(int fd, void *buf, int min, int len);
+int full_read_ssl(SSL *ssl, unsigned char *buf, int min, int len);
+int full_write(int fd, const void *buf, int len);
 
 #endif