view src/lib-storage/index/index-fetch.h @ 273:9be2c12d0983 HEAD

STORE needs to sync too, or maildir could see old filenames.
author Timo Sirainen <tss@iki.fi>
date Thu, 19 Sep 2002 21:58:09 +0300
parents 29cf23950452
children b79b6da2f84a
line wrap: on
line source

#ifndef __INDEX_FETCH_H
#define __INDEX_FETCH_H

typedef struct {
	Mailbox *box;
	MailStorage *storage;
	ImapMessageCache *cache;
	MailIndex *index;
	const char **custom_flags;

	MailFetchData *fetch_data;
	IOBuffer *outbuf;
	TempString *str;
	int update_seen;
	int first;
} FetchContext;

ImapCacheField index_fetch_body_get_cache(const char *section);
int index_fetch_body_section(MailIndexRecord *rec, unsigned int seq,
			     MailFetchBodyData *sect, FetchContext *data);

#endif