diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-11-12 20:38:20 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-11-12 20:38:20 +0300 |
commit | 092a40dcf813accb11a0b6bb600dccea0b35fb1d (patch) | |
tree | bc15b37adda2a21575799204dbc528874d2e82c2 /src/statfile.h | |
parent | 1ad9f1f651ef3f0ee26d69007dd27e60f99f1f12 (diff) | |
download | rspamd-092a40dcf813accb11a0b6bb600dccea0b35fb1d.tar.gz rspamd-092a40dcf813accb11a0b6bb600dccea0b35fb1d.zip |
* Write revision and revision time to statfile
* Make some improvements to API (trying to make it more clear)
Diffstat (limited to 'src/statfile.h')
-rw-r--r-- | src/statfile.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/statfile.h b/src/statfile.h index 2269d7ced..02b6dbcc8 100644 --- a/src/statfile.h +++ b/src/statfile.h @@ -217,7 +217,7 @@ uint32_t statfile_get_section_by_name (const char *name); * @param time time of revision * @return TRUE if revision was set */ -gboolean statfile_set_revision (statfile_pool_t *pool, stat_file_t *file, uint64_t rev, time_t time); +gboolean statfile_set_revision (stat_file_t *file, uint64_t rev, time_t time); /** * Set statfile revision and revision time @@ -227,6 +227,7 @@ gboolean statfile_set_revision (statfile_pool_t *pool, stat_file_t *file, uint64 * @param time saved time of revision * @return TRUE if revision was saved in rev and time */ -gboolean statfile_get_revision (statfile_pool_t *pool, stat_file_t *file, uint64_t *rev, time_t *time); +gboolean statfile_get_revision (stat_file_t *file, uint64_t *rev, time_t *time); + #endif |