blob: ab2a82dc36051a3e5b03faee2f7f968d7d5e3cc1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
|