diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-09-21 18:47:23 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-09-21 18:47:23 +0400 |
commit | fe815ce580d3c455292e1acda406ddb4d371120a (patch) | |
tree | d90551e5c6dd0f01683fc1942b75c5ad3fb731a7 /src/util.h | |
parent | f11a1c737f7e1d524d8b8bc056a531ab0f669d8e (diff) | |
download | rspamd-fe815ce580d3c455292e1acda406ddb4d371120a.tar.gz rspamd-fe815ce580d3c455292e1acda406ddb4d371120a.zip |
* Export definitions
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 5 |
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 */ |