From 9c45d9ad13fdf439d44d7443ae75da15ea0223ed Mon Sep 17 00:00:00 2001 From: Sam Varshavchik Date: Mon, 19 Aug 2013 16:39:41 -0400 Subject: Initial checkin Imported from subversion report, converted to git. Updated all paths in scripts and makefiles, reflecting the new directory hierarchy. --- imap/fetchinfo.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 imap/fetchinfo.h (limited to 'imap/fetchinfo.h') 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 -- cgit v1.2.3