diff options
author | June McEnroe <june@causal.agency> | 2020-10-29 11:34:56 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-10-29 11:35:34 -0400 |
commit | f17f882b5e748c71d9365d8769711d8ff8af015f (patch) | |
tree | 9eadef4e8d2cf8eb2bc010b0edd2a506e4f12286 /imap.c | |
parent | Refactor IMAP struct (diff) | |
download | imbox-f17f882b5e748c71d9365d8769711d8ff8af015f.tar.gz imbox-f17f882b5e748c71d9365d8769711d8ff8af015f.zip |
Rewrite compat and add configure script
Diffstat (limited to 'imap.c')
-rw-r--r-- | imap.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/imap.c b/imap.c index 77381f7..8437a2c 100644 --- a/imap.c +++ b/imap.c @@ -25,8 +25,6 @@ * covered work. */ -#include "compat.h" - #include <err.h> #include <stdbool.h> #include <stdio.h> @@ -35,6 +33,14 @@ #include <sysexits.h> #include <tls.h> +FILE *funopen( + const void *cookie, + int (*readfn)(void *, char *, int), + int (*writefn)(void *, const char *, int), + fpos_t (*seekfn)(void *, fpos_t, int), + int (*closefn)(void *) +); + #include "imap.h" const char *Atoms[AtomCap] = { |