aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-29 09:20:39 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-08-29 09:20:39 +0000
commit464950f90834aeea209d45eabcd42c82c19bdecf (patch)
tree8d2cc91ef2dd996f25c8f15847bca0a32fbb42dc /src/utils.h
parentfd81b311ec471b5dc83b20fd33eb2a7f7493d8a0 (diff)
made debug_mode static variable in utils.c.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@522 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/utils.h b/src/utils.h
index a42e2eb8..4e0c03aa 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -469,9 +469,12 @@ size_t my_strftime (gchar *s,
const struct tm *tm);
/* logging */
-void set_log_file (const gchar *filename);
+void set_log_file (const gchar *filename);
void close_log_file (void);
-void log_verbosity_set (gboolean verbose);
+void set_log_verbosity (gboolean verbose);
+gboolean get_debug_mode (void);
+void set_debug_mode (gboolean enable);
+
void debug_print (const gchar *format, ...) G_GNUC_PRINTF(1, 2);
void log_print (const gchar *format, ...) G_GNUC_PRINTF(1, 2);
void log_message (const gchar *format, ...) G_GNUC_PRINTF(1, 2);