view src/lib-storage/index/index-fetch.h @ 111:8a9c6b71761f HEAD

avoid sending extra spaces in FETCH reply.
author Timo Sirainen <tss@iki.fi>
date Mon, 02 Sep 2002 14:39:00 +0300
parents 82b7de533f98
children cf4d065f2f85
line wrap: on
line source

#ifndef __INDEX_FETCH_H
#define __INDEX_FETCH_H

typedef struct {
	Mailbox *box;
	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);
void index_fetch_body_section(MailIndexRecord *rec, unsigned int seq,
			      MailFetchBodyData *sect, FetchContext *data);

#endif