[dovecot-cvs] dovecot/src/lib-index mail-index-update.c,1.46,1.47 mail-index.h,1.65,1.66
cras at procontrol.fi
cras at procontrol.fi
Mon Jan 27 04:00:02 EET 2003
- Previous message: [dovecot-cvs] dovecot/src/imap client.h,1.9,1.10 commands.c,1.7,1.8 commands.h,1.7,1.8 imap-sort.c,1.1,1.2 imap-thread.c,1.1,1.2
- Next message: [dovecot-cvs] dovecot/src/lib-index/maildir maildir-sync.c,1.27,1.28
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/lib-index
In directory danu:/tmp/cvs-serv24859/src/lib-index
Modified Files:
mail-index-update.c mail-index.h
Log Message:
Function typedefs now define them as functions, not function pointers.
Index: mail-index-update.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-index-update.c,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -d -r1.46 -r1.47
--- mail-index-update.c 11 Jan 2003 19:55:56 -0000 1.46
+++ mail-index-update.c 27 Jan 2003 01:59:59 -0000 1.47
@@ -373,7 +373,7 @@
pool_t envelope_pool;
struct message_part_envelope_data *envelope;
- message_header_callback_t header_cb;
+ message_header_callback_t *header_cb;
void *context;
};
@@ -406,7 +406,7 @@
void mail_index_update_headers(struct mail_index_update *update,
struct istream *input,
enum mail_data_field cache_fields,
- message_header_callback_t header_cb,
+ message_header_callback_t *header_cb,
void *context)
{
struct header_update_context ctx;
Index: mail-index.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-index/mail-index.h,v
retrieving revision 1.65
retrieving revision 1.66
diff -u -d -r1.65 -r1.66
--- mail-index.h 22 Jan 2003 19:52:17 -0000 1.65
+++ mail-index.h 27 Jan 2003 01:59:59 -0000 1.66
@@ -95,9 +95,8 @@
MAIL_INDEX_ERROR_MAILBOX_LOCK_TIMEOUT
};
-typedef void (*mail_lock_notify_callback_t)
- (enum mail_lock_notify_type notify_type,
- unsigned int secs_left, void *context);
+typedef void mail_lock_notify_callback_t(enum mail_lock_notify_type notify_type,
+ unsigned int secs_left, void *context);
struct mail_index_header {
unsigned char compat_data[8];
@@ -210,7 +209,7 @@
/* If we have to wait for the lock, the given lock notify function
is called once in a while. */
void (*set_lock_notify_callback)(struct mail_index *index,
- mail_lock_notify_callback_t callback,
+ mail_lock_notify_callback_t *callback,
void *context);
/* Rebuild the whole index. Note that this changes the indexid
@@ -394,7 +393,7 @@
time_t file_sync_stamp;
unsigned int first_recent_uid;
- mail_lock_notify_callback_t lock_notify_cb;
+ mail_lock_notify_callback_t *lock_notify_cb;
void *lock_notify_context;
/* these fields are OR'ed to the fields in index header once we
@@ -436,7 +435,7 @@
int mail_index_try_lock(struct mail_index *index,
enum mail_lock_type lock_type);
void mail_index_set_lock_notify_callback(struct mail_index *index,
- mail_lock_notify_callback_t callback,
+ mail_lock_notify_callback_t *callback,
void *context);
int mail_index_fsck(struct mail_index *index);
struct mail_index_header *mail_index_get_header(struct mail_index *index);
@@ -495,7 +494,7 @@
void mail_index_update_headers(struct mail_index_update *update,
struct istream *input,
enum mail_data_field cache_fields,
- message_header_callback_t header_cb,
+ message_header_callback_t *header_cb,
void *context);
int mail_index_update_cache(struct mail_index *index);
int mail_index_compress(struct mail_index *index);
- Previous message: [dovecot-cvs] dovecot/src/imap client.h,1.9,1.10 commands.c,1.7,1.8 commands.h,1.7,1.8 imap-sort.c,1.1,1.2 imap-thread.c,1.1,1.2
- Next message: [dovecot-cvs] dovecot/src/lib-index/maildir maildir-sync.c,1.27,1.28
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list