Back to index

courier  0.68.2
fetchinfo.h
Go to the documentation of this file.
00001 #ifndef       fetchinfo_h
00002 #define       fetchinfo_h
00003 
00004 /*
00005 ** Copyright 1998 - 1999 Double Precision, Inc.
00006 ** See COPYING for distribution information.
00007 */
00008 
00009 
00010 struct fetchinfo {
00011        struct fetchinfo *next;     /* Siblings */
00012        char *name;          /* Name */
00013        char *bodysection;   /* BODY section */
00014        int ispartial;
00015        unsigned long partialstart;
00016        unsigned long partialend;
00017        struct fetchinfo *bodysublist;     /* HEADER sublist */
00018        } ;
00019 
00020 struct fetchinfo *fetchinfo_alloc(int);
00021 
00022 void fetchinfo_free(struct fetchinfo *);
00023 
00024 void fetch_free_cache();
00025 
00026 void save_cached_offsets(off_t, off_t, off_t);
00027 
00028 int get_cached_offsets(off_t, off_t *, off_t *);
00029 
00030 #endif