aboutsummaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-08-25 15:13:24 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-08-25 15:13:24 +0400
commitab8f97db48ceefef5fdf47ea8a5954da635ffa31 (patch)
tree41fcd689903bbc215f168d0db7ff3ca697197da4 /src/util.h
parent034d3a91d5c60328bd99fc279f2a0ffa89d258d1 (diff)
downloadrspamd-ab8f97db48ceefef5fdf47ea8a5954da635ffa31.tar.gz
rspamd-ab8f97db48ceefef5fdf47ea8a5954da635ffa31.zip
* Migrate fuzzy storage to use UDP instead of TCP
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 139a44262..d871288ca 100644
--- a/src/util.h
+++ b/src/util.h
@@ -11,6 +11,8 @@ struct workq;
/* Create socket and bind or connect it to specified address and port */
int make_tcp_socket (struct in_addr *, u_short, gboolean is_server, gboolean async);
+/* Create socket and bind or connect it to specified address and port */
+int make_udp_socket (struct in_addr *, u_short, gboolean is_server, gboolean async);
/* Accept from socket */
int accept_from_socket (int listen_sock, struct sockaddr *addr, socklen_t *len);
/* Create and bind or connect unix socket */