diff src/dnsbl.h @ 177:a4d313c2460b

start embedded dcc filtering
author carl
date Sun, 30 Sep 2007 10:27:14 -0700
parents 6bac960af6b4
children d6531c702be3
line wrap: on
line diff
--- a/src/dnsbl.h	Sun Sep 23 14:33:00 2007 -0700
+++ b/src/dnsbl.h	Sun Sep 30 10:27:14 2007 -0700
@@ -24,7 +24,7 @@
 {
 	// connection specific data
 	CONFIG	*pc;							// global filtering configuration
-	int 	fd; 							// to talk to dns resolvers process
+	int 	fd; 							// to talk to dns resolver process
 	bool	err;							// did we get any errors on the resolver socket?
 	int 	ip; 							// ip4 address of the smtp client
 	char	*helo;							// helo from client
@@ -53,8 +53,8 @@
 	void reset(bool final = false); // for a new message
 	void get_fd();
 	void return_fd();
-	int  my_read(char *buf, int len);
-	int  my_write(char *buf, int len);
+	size_t my_read(char *buf, size_t len);
+	size_t my_write(const char *buf, size_t len);
 	void need_content_filter(char *rcpt, CONTEXT &con);
 };