summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2009-11-28 15:00:23 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2009-11-28 15:00:23 +0100
commit013b75b7d655115503397ea4284b776802605080 (patch)
tree6b02a4e853c9fe56b96aab89d6962e8ff397007e /common
parent9382f127ccebdd59917c97c61d008ed0e127cd75 (diff)
downloadtuxcmd-modules-013b75b7d655115503397ea4284b776802605080.tar.xz
Consolidate boolean data types
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 */