]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
* Export definitions
authorVsevolod Stakhov <vsevolod@rambler-co.ru>
Mon, 21 Sep 2009 14:47:23 +0000 (18:47 +0400)
committerVsevolod Stakhov <vsevolod@rambler-co.ru>
Mon, 21 Sep 2009 14:47:23 +0000 (18:47 +0400)
src/util.c
src/util.h

index 2e18c441afd46bccdf15ac63bd60a1035c0092f0..26e9dbd320c6ce26797fa4bdb30476023bcd36f7 100644 (file)
@@ -81,7 +81,7 @@ make_socket_blocking (int fd)
        return 0;
 }
 
-static int 
+int 
 poll_sync_socket (int fd, int timeout, short events)
 {
        int r;
index 7f30b5721bf3a912400be12d6a615617ff68dfa0..2cd220ec7e0163c58844fdfbffd77b4306c51588 100644 (file)
@@ -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 */