[dovecot-cvs] dovecot/src/lib-storage/index index-storage.c, 1.67, 1.68 index-storage.h, 1.87, 1.88

cras at dovecot.org cras at dovecot.org
Sat Feb 5 14:01:52 EET 2005


Update of /var/lib/cvs/dovecot/src/lib-storage/index
In directory talvi:/tmp/cvs-serv21606/lib-storage/index

Modified Files:
	index-storage.c index-storage.h 
Log Message:
Internal changes in how keywords are handled. struct mail_keywords isn't
automatically freed anymore, added *_keywords_free() for that.



Index: index-storage.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-storage.c,v
retrieving revision 1.67
retrieving revision 1.68
diff -u -d -r1.67 -r1.68
--- index-storage.c	29 Dec 2004 19:10:26 -0000	1.67
+++ index-storage.c	5 Feb 2005 12:01:50 -0000	1.68
@@ -425,3 +425,9 @@
 
 	return mail_index_keywords_create(t->trans, keywords);
 }
+
+void index_keywords_free(struct mailbox_transaction_context *t __attr_unused__,
+			 struct mail_keywords *keywords)
+{
+	return mail_index_keywords_free(keywords);
+}

Index: index-storage.h
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/index-storage.h,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -d -r1.87 -r1.88
--- index-storage.h	16 Jan 2005 19:18:24 -0000	1.87
+++ index-storage.h	5 Feb 2005 12:01:50 -0000	1.88
@@ -150,6 +150,8 @@
 struct mail_keywords *
 index_keywords_create(struct mailbox_transaction_context *t,
 		      const char *const keywords[]);
+void index_keywords_free(struct mailbox_transaction_context *t,
+			 struct mail_keywords *keywords);
 
 void index_mailbox_set_recent(struct index_mailbox *ibox, uint32_t seq);
 int index_mailbox_is_recent(struct index_mailbox *ibox, uint32_t seq);



More information about the dovecot-cvs mailing list