diff options
Diffstat (limited to 'imap/fetchinfo.h')
| -rw-r--r-- | imap/fetchinfo.h | 30 | 
1 files changed, 30 insertions, 0 deletions
| diff --git a/imap/fetchinfo.h b/imap/fetchinfo.h new file mode 100644 index 0000000..ab2a82d --- /dev/null +++ b/imap/fetchinfo.h @@ -0,0 +1,30 @@ +#ifndef	fetchinfo_h +#define	fetchinfo_h + +/* +** Copyright 1998 - 1999 Double Precision, Inc. +** See COPYING for distribution information. +*/ + + +struct fetchinfo { +	struct fetchinfo *next;	/* Siblings */ +	char *name;		/* Name */ +	char *bodysection;	/* BODY section */ +	int ispartial; +	unsigned long partialstart; +	unsigned long partialend; +	struct fetchinfo *bodysublist;	/* HEADER sublist */ +	} ; + +struct fetchinfo *fetchinfo_alloc(int); + +void fetchinfo_free(struct fetchinfo *); + +void fetch_free_cache(); + +void save_cached_offsets(off_t, off_t, off_t); + +int get_cached_offsets(off_t, off_t *, off_t *); + +#endif | 
