diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-09-30 06:08:00 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2009-09-30 06:08:00 +0000 |
commit | f532af172aa12ab28ebbf490705a319fa91f0820 (patch) | |
tree | 3aadf48c1ac593aa77a6fd10e9b5081be9520796 /libsylph/utils.h | |
parent | 86817b645d57c800affe202bf2308f42e3cf9237 (diff) |
execute imap_cmd_ok() in another thread.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2262 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'libsylph/utils.h')
-rw-r--r-- | libsylph/utils.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/libsylph/utils.h b/libsylph/utils.h index 5f21dc63..aca5351e 100644 --- a/libsylph/utils.h +++ b/libsylph/utils.h @@ -1,6 +1,6 @@ /* * LibSylph -- E-Mail client library - * Copyright (C) 1999-2007 Hiroyuki Yamamoto + * Copyright (C) 1999-2009 Hiroyuki Yamamoto * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -187,6 +187,7 @@ typedef void (*ProgressFunc) (gint cur, typedef gchar * (*QueryPasswordFunc) (const gchar *server, const gchar *user); typedef void (*LogFunc) (const gchar *str); +typedef void (*LogFlushFunc) (void); /* for macro expansion */ #define Str(x) #x @@ -517,10 +518,15 @@ void set_log_verbosity (gboolean verbose); gboolean get_debug_mode (void); void set_debug_mode (gboolean enable); -void set_log_ui_func (LogFunc print_func, - LogFunc message_func, - LogFunc warning_func, - LogFunc error_func); +void set_log_ui_func (LogFunc print_func, + LogFunc message_func, + LogFunc warning_func, + LogFunc error_func); +void set_log_ui_func_full (LogFunc print_func, + LogFunc message_func, + LogFunc warning_func, + LogFunc error_func, + LogFlushFunc flush_func); void set_log_show_status_func (LogFunc status_func); @@ -535,4 +541,6 @@ void log_message (const gchar *format, ...) G_GNUC_PRINTF(1, 2); void log_warning (const gchar *format, ...) G_GNUC_PRINTF(1, 2); void log_error (const gchar *format, ...) G_GNUC_PRINTF(1, 2); +void log_flush (void); + #endif /* __UTILS_H__ */ |