summaryrefslogtreecommitdiffstats
path: root/src/util.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-09-21 18:47:23 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-09-21 18:47:23 +0400
commitfe815ce580d3c455292e1acda406ddb4d371120a (patch)
treed90551e5c6dd0f01683fc1942b75c5ad3fb731a7 /src/util.h
parentf11a1c737f7e1d524d8b8bc056a531ab0f669d8e (diff)
downloadrspamd-fe815ce580d3c455292e1acda406ddb4d371120a.tar.gz
rspamd-fe815ce580d3c455292e1acda406ddb4d371120a.zip
* Export definitions
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h
index 7f30b5721..2cd220ec7 100644
--- a/src/util.h
+++ b/src/util.h
@@ -20,7 +20,10 @@ int make_unix_socket (const char *, struct sockaddr_un *, gboolean is_server);
/* Write pid to file */
int write_pid (struct rspamd_main *);
/* Make specified socket non-blocking */
-int event_make_socket_nonblocking(int);
+int make_socket_nonblocking (int);
+int make_socket_blocking (int);
+/* Poll sync socket for specified events */
+int poll_sync_socket (int fd, int timeout, short events);
/* Init signals */
void init_signals (struct sigaction *, sig_t);
/* Send specified signal to each worker */