summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/tuxcmd-vfs.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/common/tuxcmd-vfs.h b/common/tuxcmd-vfs.h
index 2ebed6d..38c7b59 100644
--- a/common/tuxcmd-vfs.h
+++ b/common/tuxcmd-vfs.h
@@ -56,10 +56,10 @@ typedef void * TVFSFileDes;
/* Return FALSE to break the operation */
-typedef int (* TVFSProgressCallback)
- (guint64 position,
- guint64 max,
- void *user_data);
+typedef gboolean (* TVFSProgressCallback)
+ (guint64 position,
+ guint64 max,
+ void *user_data);
/* Return index of the choice selected or negative number when dialog has been cancelled */
typedef void (* TVFSAskQuestionCallback)
@@ -69,18 +69,18 @@ typedef void (* TVFSAskQuestionCallback)
int cancel_choice,
void *user_data);
-typedef int (* TVFSAskPasswordCallback)
- (const char *message,
- const char *default_user,
- const char *default_domain,
- const char *default_password,
- TVFSAskPasswordFlags flags,
- char **username,
- char **password,
- int *anonymous,
- char **domain,
- TVFSPasswordSave *password_save,
- void *user_data);
+typedef gboolean (* TVFSAskPasswordCallback)
+ (const char *message,
+ const char *default_user,
+ const char *default_domain,
+ const char *default_password,
+ TVFSAskPasswordFlags flags,
+ char **username,
+ char **password,
+ gboolean *anonymous,
+ char **domain,
+ TVFSPasswordSave *password_save,
+ void *user_data);
/* current version of the VFS API */