diff options
Diffstat (limited to 'libsylph/utils.h')
| -rw-r--r-- | libsylph/utils.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libsylph/utils.h b/libsylph/utils.h index 9ac65cf..ede55ff 100644 --- a/libsylph/utils.h +++ b/libsylph/utils.h | |||
| @@ -202,6 +202,8 @@ typedef void (*ProgressFunc) (gint cur, | |||
| 202 | gint total); | 202 | gint total); |
| 203 | typedef gchar * (*QueryPasswordFunc) (const gchar *server, | 203 | typedef gchar * (*QueryPasswordFunc) (const gchar *server, |
| 204 | const gchar *user); | 204 | const gchar *user); |
| 205 | typedef gchar * (*QueryMasterPasswordFunc) (void); | ||
| 206 | typedef gchar * (*SetNewPasswordFunc) (guint max_attempts); | ||
| 205 | typedef void (*LogFunc) (const gchar *str); | 207 | typedef void (*LogFunc) (const gchar *str); |
| 206 | typedef void (*LogFlushFunc) (void); | 208 | typedef void (*LogFlushFunc) (void); |
| 207 | 209 | ||
| @@ -560,9 +562,12 @@ void progress_show (gint cur, | |||
| 560 | 562 | ||
| 561 | /* user input */ | 563 | /* user input */ |
| 562 | void set_input_query_password_func (QueryPasswordFunc func); | 564 | void set_input_query_password_func (QueryPasswordFunc func); |
| 563 | |||
| 564 | gchar *input_query_password (const gchar *server, | 565 | gchar *input_query_password (const gchar *server, |
| 565 | const gchar *user); | 566 | const gchar *user); |
| 567 | void set_input_query_master_password_func(QueryMasterPasswordFunc func); | ||
| 568 | gchar *input_query_master_password(void); | ||
| 569 | void set_input_set_new_password_func(SetNewPasswordFunc func); | ||
| 570 | gchar *input_set_new_password(guint max_attempts); | ||
| 566 | 571 | ||
| 567 | /* logging */ | 572 | /* logging */ |
| 568 | void set_log_file (const gchar *filename); | 573 | void set_log_file (const gchar *filename); |
