diff options
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 2cd220ec7..dfc08aa7d 100644 --- a/src/util.h +++ b/src/util.h @@ -27,7 +27,7 @@ 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 */ -void pass_signal_worker (GList *, int ); +void pass_signal_worker (GHashTable *, int ); /* Convert string to lowercase */ void convert_to_lowercase (char *str, unsigned int size); @@ -69,6 +69,9 @@ const char* calculate_check_time (struct timespec *begin, int resolution); double set_counter (const char *name, long int value); +gboolean lock_file (int fd, gboolean async); +gboolean unlock_file (int fd, gboolean async); + guint rspamd_strcase_hash (gconstpointer key); gboolean rspamd_strcase_equal (gconstpointer v, gconstpointer v2); |