diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-11-29 17:02:49 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-11-29 17:03:24 +0000 |
commit | d2150fc165e99bb8d6a7411bffee6fd7d36d4763 (patch) | |
tree | fc4c6449d441835e860666e942fa6a08dec3aca1 /src/libutil/logger.h | |
parent | 26b07297ed8936879d09ac113f84aa660f133901 (diff) | |
download | rspamd-d2150fc165e99bb8d6a7411bffee6fd7d36d4763.tar.gz rspamd-d2150fc165e99bb8d6a7411bffee6fd7d36d4763.zip |
Refactor function names.
Diffstat (limited to 'src/libutil/logger.h')
-rw-r--r-- | src/libutil/logger.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/libutil/logger.h b/src/libutil/logger.h index 078180b86..4b200c83d 100644 --- a/src/libutil/logger.h +++ b/src/libutil/logger.h @@ -22,38 +22,38 @@ void rspamd_set_logger (struct rspamd_config *cfg, /** * Open log file or initialize other structures */ -gint open_log (rspamd_logger_t *logger); +gint rspamd_log_open (rspamd_logger_t *logger); /** * Close log file or destroy other structures */ -void close_log (rspamd_logger_t *logger); +void rspamd_log_close (rspamd_logger_t *logger); /** * Close and open log again */ -gint reopen_log (rspamd_logger_t *logger); +gint rspamd_log_reopen (rspamd_logger_t *logger); /** * Open log file or initialize other structures for privileged processes */ -gint open_log_priv (rspamd_logger_t *logger, uid_t uid, gid_t gid); +gint rspamd_log_open_priv (rspamd_logger_t *logger, uid_t uid, gid_t gid); /** * Close log file or destroy other structures for privileged processes */ -void close_log_priv (rspamd_logger_t *logger, uid_t uid, gid_t gid); +void rspamd_log_close_priv (rspamd_logger_t *logger, uid_t uid, gid_t gid); /** * Close and open log again for privileged processes */ -gint reopen_log_priv (rspamd_logger_t *logger, uid_t uid, gid_t gid); +gint rspamd_log_reopen_priv (rspamd_logger_t *logger, uid_t uid, gid_t gid); /** * Set log pid */ -void update_log_pid (GQuark ptype, rspamd_logger_t *logger); +void rspamd_log_update_pid (GQuark ptype, rspamd_logger_t *logger); /** * Flush log buffer for some types of logging */ -void flush_log_buf (rspamd_logger_t *logger); +void rspamd_log_flush (rspamd_logger_t *logger); /** * Log function that is compatible for glib messages */ |