[dovecot-cvs] dovecot/src/lib-storage/subscription-file
subscription-file.c, 1.26, 1.27 subscription-file.h, 1.9, 1.10
cras at dovecot.org
cras at dovecot.org
Fri Jan 13 22:26:40 EET 2006
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-copy.c,
1.41, 1.42 maildir-list.c, 1.36, 1.37 maildir-mail.c, 1.18,
1.19 maildir-save.c, 1.62, 1.63 maildir-storage.c, 1.106,
1.107 maildir-storage.h, 1.43, 1.44 maildir-sync.c, 1.70,
1.71 maildir-uidlist.c, 1.41, 1.42 maildir-uidlist.h, 1.15, 1.16
- Next message: [dovecot-cvs]
dovecot/src/lib-storage/index/mbox istream-raw-mbox.c, 1.37,
1.38 istream-raw-mbox.h, 1.9, 1.10 mbox-file.c, 1.13,
1.14 mbox-file.h, 1.3, 1.4 mbox-list.c, 1.32, 1.33 mbox-lock.c,
1.20, 1.21 mbox-mail.c, 1.30, 1.31 mbox-md5.c, 1.1,
1.2 mbox-save.c, 1.89, 1.90 mbox-storage.c, 1.132,
1.133 mbox-storage.h, 1.39, 1.40 mbox-sync-parse.c, 1.47,
1.48 mbox-sync-private.h, 1.55, 1.56 mbox-sync-rewrite.c, 1.59,
1.60 mbox-sync-update.c, 1.43, 1.44 mbox-sync.c, 1.177,
1.178 mbox-transaction.c, 1.12, 1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /var/lib/cvs/dovecot/src/lib-storage/subscription-file
In directory talvi:/tmp/cvs-serv27808/src/lib-storage/subscription-file
Modified Files:
subscription-file.c subscription-file.h
Log Message:
Added "bool" type and changed all ints that were used as booleans to bool.
Index: subscription-file.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/subscription-file/subscription-file.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- subscription-file.c 16 Jan 2005 19:18:25 -0000 1.26
+++ subscription-file.c 13 Jan 2006 20:26:37 -0000 1.27
@@ -23,7 +23,7 @@
struct istream *input;
const char *path;
- int failed;
+ bool failed;
};
static void subsfile_set_syscall_error(struct mail_storage *storage,
@@ -41,7 +41,7 @@
}
static const char *next_line(struct mail_storage *storage, const char *path,
- struct istream *input, int *failed)
+ struct istream *input, bool *failed)
{
const char *line;
@@ -68,14 +68,15 @@
}
int subsfile_set_subscribed(struct mail_storage *storage, const char *path,
- const char *temp_prefix, const char *name, int set)
+ const char *temp_prefix, const char *name, bool set)
{
struct dotlock_settings dotlock_set;
struct dotlock *dotlock;
const char *line;
struct istream *input;
struct ostream *output;
- int fd_in, fd_out, found, failed = FALSE;
+ int fd_in, fd_out;
+ bool found, failed = FALSE;
if (strcasecmp(name, "INBOX") == 0)
name = "INBOX";
@@ -185,7 +186,7 @@
int subsfile_list_deinit(struct subsfile_list_context *ctx)
{
- int failed;
+ bool failed;
failed = ctx->failed;
if (ctx->input != NULL)
Index: subscription-file.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/subscription-file/subscription-file.h,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- subscription-file.h 7 Aug 2005 11:41:37 -0000 1.9
+++ subscription-file.h 13 Jan 2006 20:26:37 -0000 1.10
@@ -7,13 +7,14 @@
struct subsfile_list_context *
subsfile_list_init(struct mail_storage *storage, const char *path);
-/* Deinitialize subscription file listing. Returns FALSE if some error occurred
- while listing. */
+/* Deinitialize subscription file listing. Returns 0 if ok, or -1 if some
+ error occurred while listing. */
int subsfile_list_deinit(struct subsfile_list_context *ctx);
/* Returns the next subscribed mailbox, or NULL. */
const char *subsfile_list_next(struct subsfile_list_context *ctx);
int subsfile_set_subscribed(struct mail_storage *storage, const char *path,
- const char *temp_prefix, const char *name, int set);
+ const char *temp_prefix, const char *name,
+ bool set);
#endif
- Previous message: [dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-copy.c,
1.41, 1.42 maildir-list.c, 1.36, 1.37 maildir-mail.c, 1.18,
1.19 maildir-save.c, 1.62, 1.63 maildir-storage.c, 1.106,
1.107 maildir-storage.h, 1.43, 1.44 maildir-sync.c, 1.70,
1.71 maildir-uidlist.c, 1.41, 1.42 maildir-uidlist.h, 1.15, 1.16
- Next message: [dovecot-cvs]
dovecot/src/lib-storage/index/mbox istream-raw-mbox.c, 1.37,
1.38 istream-raw-mbox.h, 1.9, 1.10 mbox-file.c, 1.13,
1.14 mbox-file.h, 1.3, 1.4 mbox-list.c, 1.32, 1.33 mbox-lock.c,
1.20, 1.21 mbox-mail.c, 1.30, 1.31 mbox-md5.c, 1.1,
1.2 mbox-save.c, 1.89, 1.90 mbox-storage.c, 1.132,
1.133 mbox-storage.h, 1.39, 1.40 mbox-sync-parse.c, 1.47,
1.48 mbox-sync-private.h, 1.55, 1.56 mbox-sync-rewrite.c, 1.59,
1.60 mbox-sync-update.c, 1.43, 1.44 mbox-sync.c, 1.177,
1.178 mbox-transaction.c, 1.12, 1.13
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list