diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-10-06 20:03:57 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-10-06 20:03:57 +0400 |
commit | 6b306ab8752befc28d259be55495f8249cc2df24 (patch) | |
tree | 0fa3d471aef61925563709e0f8ee5667b57c7a9d /src/logger.h | |
parent | 8d0053734fb5a4ccd8c3bda731e6b7c8261c6f67 (diff) | |
download | rspamd-6b306ab8752befc28d259be55495f8249cc2df24.tar.gz rspamd-6b306ab8752befc28d259be55495f8249cc2df24.zip |
Fixes types (use glib ones) no functional change.
Now all comments in commit logs beginning with '*' would be included in changelog, so
important changes would be separated from small ones.
Diffstat (limited to 'src/logger.h')
-rw-r--r-- | src/logger.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/logger.h b/src/logger.h index f25da8645..84c8a41ff 100644 --- a/src/logger.h +++ b/src/logger.h @@ -29,7 +29,7 @@ void rspamd_set_logger (enum rspamd_log_type type, enum process_type ptype, stru /** * Open log file or initialize other structures */ -int open_log (void); +gint open_log (void); /** * Close log file or destroy other structures */ @@ -37,7 +37,7 @@ void close_log (void); /** * Close and open log again */ -int reopen_log (void); +gint reopen_log (void); /** * Set log pid */ @@ -55,12 +55,12 @@ void rspamd_glib_log_function (const gchar *log_domain, GLogLevelFlags log_level /** * Function with variable number of arguments support */ -void rspamd_common_log_function (GLogLevelFlags log_level, const char *function, const char *fmt, ...); +void rspamd_common_log_function (GLogLevelFlags log_level, const gchar *function, const gchar *fmt, ...); /** * Conditional debug function */ -void rspamd_conditional_debug (uint32_t addr, const char *function, const char *fmt, ...) ; +void rspamd_conditional_debug (guint32 addr, const gchar *function, const gchar *fmt, ...) ; /** * Temporary turn on debug |