diff options
Diffstat (limited to 'libsylph/utils.h')
-rw-r--r-- | libsylph/utils.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libsylph/utils.h b/libsylph/utils.h index ee394083..ec581105 100644 --- a/libsylph/utils.h +++ b/libsylph/utils.h @@ -176,6 +176,7 @@ gint g_chmod (const gchar *path, perror(func); \ } +typedef void (*UIUpdateFunc) (void); typedef gchar * (*QueryPasswordFunc) (const gchar *server, const gchar *user); typedef void (*LogFunc) (const gchar *str); @@ -472,6 +473,10 @@ size_t my_strftime (gchar *s, const gchar *format, const struct tm *tm); +/* UI hints */ +void set_ui_update_func (UIUpdateFunc func); +void ui_update(void); + /* user input */ void set_input_query_password_func (QueryPasswordFunc func); |