[dovecot-cvs] dovecot/src/lib-index mail-index.h, 1.136,
1.137 mail-index-private.h, 1.37, 1.38
cras at dovecot.org
cras at dovecot.org
Wed Nov 24 22:40:42 EET 2004
Update of /var/lib/cvs/dovecot/src/lib-index
In directory talvi:/tmp/cvs-serv9391/lib-index
Modified Files:
mail-index.h mail-index-private.h
Log Message:
mail_index_refresh() isn't public anymore, mail_index_view_open_locked()
works better for the purpose.
Index: mail-index.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index.h,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -d -r1.136 -r1.137
--- mail-index.h 24 Nov 2004 18:39:57 -0000 1.136
+++ mail-index.h 24 Nov 2004 20:40:39 -0000 1.137
@@ -149,9 +149,6 @@
enum mail_index_lock_method lock_method);
void mail_index_close(struct mail_index *index);
-/* Force checking if index can be refreshed. */
-int mail_index_refresh(struct mail_index *index);
-
struct mail_cache *mail_index_get_cache(struct mail_index *index);
/* View can be used to look into index. Sequence numbers inside view change
Index: mail-index-private.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-index/mail-index-private.h,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- mail-index-private.h 14 Nov 2004 01:23:21 -0000 1.37
+++ mail-index-private.h 24 Nov 2004 20:40:39 -0000 1.38
@@ -165,6 +165,9 @@
int mail_index_lock_fd(struct mail_index *index, int fd, int lock_type,
unsigned int timeout_secs);
+/* Reopen index file if it has changed. */
+int mail_index_refresh(struct mail_index *index);
+
/* Map index file to memory, replacing the previous mapping for index.
Returns 1 = ok, 0 = corrupted, -1 = error. If index needs fscking, it
returns 1 but sets index->fsck = TRUE. */
More information about the dovecot-cvs
mailing list