diff options
author | Michael Vetter <jubalh@openmailbox.org> | 2015-10-09 11:58:25 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@openmailbox.org> | 2015-10-21 15:07:49 +0200 |
commit | 3b0f7e109c5c41d29635e518fc4a241cfade84a1 (patch) | |
tree | 8c8eef27ddd19b826992615f723e3ff631dd4a2a /src/log.h | |
parent | e434b1bbf8bd84b8478f4264bf1ced66b64f4df9 (diff) | |
download | profani-tty-3b0f7e109c5c41d29635e518fc4a241cfade84a1.tar.gz |
Use consistent style for pointers
Diffstat (limited to 'src/log.h')
-rw-r--r-- | src/log.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/log.h b/src/log.h index 87c96df9..22bf6f30 100644 --- a/src/log.h +++ b/src/log.h @@ -54,13 +54,13 @@ void log_init(log_level_t filter); log_level_t log_get_filter(void); void log_close(void); void log_reinit(void); -char * get_log_file_location(void); -void log_debug(const char * const msg, ...); -void log_info(const char * const msg, ...); -void log_warning(const char * const msg, ...); -void log_error(const char * const msg, ...); -void log_msg(log_level_t level, const char * const area, - const char * const msg); +char* get_log_file_location(void); +void log_debug(const char *const msg, ...); +void log_info(const char *const msg, ...); +void log_warning(const char *const msg, ...); +void log_error(const char *const msg, ...); +void log_msg(log_level_t level, const char *const area, + const char *const msg); log_level_t log_level_from_string(char *log_level); void log_stderr_init(log_level_t level); @@ -69,19 +69,19 @@ void log_stderr_handler(void); void chat_log_init(void); -void chat_log_msg_out(const char * const barejid, const char * const msg); -void chat_log_otr_msg_out(const char * const barejid, const char * const msg); -void chat_log_pgp_msg_out(const char * const barejid, const char * const msg); +void chat_log_msg_out(const char *const barejid, const char *const msg); +void chat_log_otr_msg_out(const char *const barejid, const char *const msg); +void chat_log_pgp_msg_out(const char *const barejid, const char *const msg); -void chat_log_msg_in(const char * const barejid, const char * const msg, GDateTime *timestamp); -void chat_log_otr_msg_in(const char * const barejid, const char * const msg, gboolean was_decrypted, GDateTime *timestamp); -void chat_log_pgp_msg_in(const char * const barejid, const char * const msg, GDateTime *timestamp); +void chat_log_msg_in(const char *const barejid, const char *const msg, GDateTime *timestamp); +void chat_log_otr_msg_in(const char *const barejid, const char *const msg, gboolean was_decrypted, GDateTime *timestamp); +void chat_log_pgp_msg_in(const char *const barejid, const char *const msg, GDateTime *timestamp); void chat_log_close(void); -GSList * chat_log_get_previous(const gchar * const login, - const gchar * const recipient); +GSList* chat_log_get_previous(const gchar *const login, + const gchar *const recipient); void groupchat_log_init(void); -void groupchat_log_chat(const gchar * const login, const gchar * const room, - const gchar * const nick, const gchar * const msg); +void groupchat_log_chat(const gchar *const login, const gchar *const room, + const gchar *const nick, const gchar *const msg); #endif |