diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-11-27 19:15:48 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-11-27 19:15:48 +0300 |
commit | 569df8dd24eb159b069ca7f5efa6a6ba3336d63d (patch) | |
tree | 54d5c6200e5ea121e9fba909b6e7c40b7e164258 /src/binlog.h | |
parent | 893d6efc979fa9e23d93a43c6ab1e46bd9f7da16 (diff) | |
download | rspamd-569df8dd24eb159b069ca7f5efa6a6ba3336d63d.tar.gz rspamd-569df8dd24eb159b069ca7f5efa6a6ba3336d63d.zip |
* Initial release of synchronization server in controller
Diffstat (limited to 'src/binlog.h')
-rw-r--r-- | src/binlog.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/binlog.h b/src/binlog.h index dbf22ee43..bb8b8f244 100644 --- a/src/binlog.h +++ b/src/binlog.h @@ -56,9 +56,10 @@ struct rspamd_binlog { struct classifier_config; struct rspamd_binlog* binlog_open (memory_pool_t *pool, const char *path, time_t rotate_time, int rotate_jitter); +struct rspamd_binlog* get_binlog_by_statfile (struct statfile *st); void binlog_close (struct rspamd_binlog *log); gboolean binlog_insert (struct rspamd_binlog *log, GTree *nodes); -gboolean binlog_sync (struct rspamd_binlog *log, uint64_t from_rev, uint64_t from_time, GByteArray **rep); +gboolean binlog_sync (struct rspamd_binlog *log, uint64_t from_rev, uint64_t *from_time, GByteArray **rep); gboolean maybe_write_binlog (struct classifier_config *ccf, struct statfile *st, stat_file_t *file, GTree *nodes); #endif |