[dovecot-cvs] dovecot/src/lib-storage/index Makefile.am,1.9,1.10 index-storage.h,1.35,1.36 index-save.c,1.31,NONE
cras at procontrol.fi
cras at procontrol.fi
Wed May 7 16:06:49 EEST 2003
Update of /home/cvs/dovecot/src/lib-storage/index
In directory danu:/tmp/cvs-serv16292/index
Modified Files:
Makefile.am index-storage.h
Removed Files:
index-save.c
Log Message:
cleanup: message saving code isn't index-specific
Index: Makefile.am
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/Makefile.am,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- Makefile.am 27 Jan 2003 01:59:27 -0000 1.9
+++ Makefile.am 7 May 2003 12:06:47 -0000 1.10
@@ -16,7 +16,6 @@
index-mail.c \
index-mailbox-check.c \
index-messageset.c \
- index-save.c \
index-search.c \
index-status.c \
index-storage.c \
Index: index-storage.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/index/index-storage.h,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- index-storage.h 26 Mar 2003 17:29:02 -0000 1.35
+++ index-storage.h 7 May 2003 12:06:47 -0000 1.36
@@ -5,12 +5,6 @@
#include "mail-index.h"
#include "index-mail.h"
-typedef int write_func_t(struct ostream *, const void *, size_t);
-
-/* Return -1 = failure, 0 = don't write the header, 1 = write it */
-typedef int header_callback_t(const char *name,
- write_func_t *write_func, void *context);
-
struct index_autosync_file {
struct index_autosync_file *next;
@@ -73,10 +67,6 @@
int index_expunge_mail(struct index_mailbox *ibox,
struct mail_index_record *rec,
unsigned int seq, int notify);
-
-int index_storage_save(struct mail_storage *storage, const char *path,
- struct istream *input, struct ostream *output,
- header_callback_t *header_callback, void *context);
void index_mailbox_check_add(struct index_mailbox *ibox, const char *path);
void index_mailbox_check_remove_all(struct index_mailbox *ibox);
--- index-save.c DELETED ---
More information about the dovecot-cvs
mailing list