[dovecot-cvs] dovecot/src/lib-storage mail-sort.c,1.2,1.3 mail-storage.h,1.21,1.22
cras at procontrol.fi
cras at procontrol.fi
Fri Dec 6 03:09:25 EET 2002
- Previous message: [dovecot-cvs] dovecot/src/lib-index/mbox mbox-append.c,1.32,1.33 mbox-index.c,1.52,1.53 mbox-index.h,1.20,1.21 mbox-lock.c,1.17,1.18 mbox-open.c,1.18,1.19 mbox-rebuild.c,1.19,1.20 mbox-rewrite.c,1.41,1.42 mbox-sync-full.c,1.4,1.5 mbox-sync.c,1.25,1.26
- Next message: [dovecot-cvs] dovecot/src/lib-mail message-body-search.c,1.2,1.3 message-body-search.h,1.2,1.3 message-parser.c,1.25,1.26 message-parser.h,1.11,1.12 message-send.c,1.11,1.12 message-send.h,1.5,1.6 message-size.c,1.7,1.8 message-size.h,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/lib-storage
In directory danu:/tmp/cvs-serv6082/lib-storage
Modified Files:
mail-sort.c mail-storage.h
Log Message:
Renamed IBuffer and OBuffer to IStream and OStream which describes their
functionality better. I tried to keep the variable names and comments also
sensible.
Index: mail-sort.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/mail-sort.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- mail-sort.c 5 Dec 2002 22:37:33 -0000 1.2
+++ mail-sort.c 6 Dec 2002 01:09:23 -0000 1.3
@@ -1,7 +1,7 @@
/* Copyright (C) 2002 Timo Sirainen */
#include "lib.h"
-#include "obuffer.h"
+#include "ostream.h"
#include "mail-sort.h"
#include <stdlib.h>
Index: mail-storage.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib-storage/mail-storage.h,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- mail-storage.h 4 Dec 2002 18:28:37 -0000 1.21
+++ mail-storage.h 6 Dec 2002 01:09:23 -0000 1.22
@@ -152,24 +152,24 @@
int (*copy)(Mailbox *box, Mailbox *destbox,
const char *messageset, int uidset);
- /* Fetch wanted mail data. The results are written into outbuf
+ /* Fetch wanted mail data. The results are written into output stream
in RFC2060 FETCH format. */
int (*fetch)(Mailbox *box, MailFetchData *fetch_data,
- OBuffer *outbuf, int *all_found);
+ OStream *output, int *all_found);
/* Search wanted mail data. args contains the search criteria.
- Results are written into outbuf in RFC2060 SEARCH format.
+ Results are written into output stream in RFC2060 SEARCH format.
If charset is NULL, the given search strings are matched without
any conversion. */
int (*search)(Mailbox *box, const char *charset, MailSearchArg *args,
- MailSortType *sorting, OBuffer *outbuf, int uid_result);
+ MailSortType *sorting, OStream *output, int uid_result);
/* Save a new mail into mailbox. timezone_offset specifies the
timezone in minutes which internal_date was originally given
with. */
int (*save)(Mailbox *box, MailFlags flags, const char *custom_flags[],
time_t internal_date, int timezone_offset,
- IBuffer *data, uoff_t data_size);
+ IStream *data, uoff_t data_size);
/* Returns TRUE if mailbox is now in inconsistent state, meaning that
the message IDs etc. may have changed - only way to recover this
- Previous message: [dovecot-cvs] dovecot/src/lib-index/mbox mbox-append.c,1.32,1.33 mbox-index.c,1.52,1.53 mbox-index.h,1.20,1.21 mbox-lock.c,1.17,1.18 mbox-open.c,1.18,1.19 mbox-rebuild.c,1.19,1.20 mbox-rewrite.c,1.41,1.42 mbox-sync-full.c,1.4,1.5 mbox-sync.c,1.25,1.26
- Next message: [dovecot-cvs] dovecot/src/lib-mail message-body-search.c,1.2,1.3 message-body-search.h,1.2,1.3 message-parser.c,1.25,1.26 message-parser.h,1.11,1.12 message-send.c,1.11,1.12 message-send.h,1.5,1.6 message-size.c,1.7,1.8 message-size.h,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list