summaryrefslogtreecommitdiff
path: root/pith/detach.h
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2024-01-30 21:12:06 -0700
committerEduardo Chappa <chappa@washington.edu>2024-01-30 21:12:06 -0700
commiteaa7b17bca60632bc703f97c169ee4af2a519a2a (patch)
tree1c39d658ccf304f7d64fa3ef8ce104a44dcd3c03 /pith/detach.h
parentf7deb74aa5612d4d49da4ec179e61124e8fa0763 (diff)
downloadalpine-eaa7b17bca60632bc703f97c169ee4af2a519a2a.tar.xz
* Changes in the source code of Alpine to define internal prototypes
of all functions so that they follow modern C standards. This lead to the splitting of the gf_io_t type into two types gf_i_t and gf_o_t with different internal prototypes. More details in the file pith/detach.c. This work was initiated based on a report by Holger Hoffstätte.
Diffstat (limited to 'pith/detach.h')
-rw-r--r--pith/detach.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/pith/detach.h b/pith/detach.h
index 96daa6dc..13681209 100644
--- a/pith/detach.h
+++ b/pith/detach.h
@@ -41,7 +41,7 @@ typedef struct _fetch_read {
allocsize; /* allocated size of chunk block */
long flags, /* flags to use fetching block */
fetchtime; /* usecs avg per chunk fetch */
- gf_io_t readc;
+ gf_i_t readc;
STORE_S *cache;
} FETCH_READC_S;
@@ -62,8 +62,8 @@ extern FETCH_READC_S *g_fr_desc;
#define DT_ALLIMAGES (long) 0x100000
/* exported prototypes */
-char *detach_raw(MAILSTREAM *, long, char *, gf_io_t, int);
-char *detach(MAILSTREAM *, long, char *, long, long *, gf_io_t, FILTLIST_S *, long);
+char *detach_raw(MAILSTREAM *, long, char *, gf_o_t, int);
+char *detach(MAILSTREAM *, long, char *, long, long *, gf_o_t, FILTLIST_S *, long);
int valid_filter_command(char **);
void fetch_readc_init(FETCH_READC_S *, MAILSTREAM *, long, char *,
unsigned long, long, long);