diff options
author | June McEnroe <june@causal.agency> | 2020-10-27 19:01:58 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-10-27 19:01:58 -0400 |
commit | 31169e4821d6bd14d35682da6d808ee96cfc0ae8 (patch) | |
tree | eb3cabe1aefa1f10a30b9350b3bb29c5cd9e64b5 /imap.c | |
parent | Use open_memstream rather than fmemopen (diff) | |
download | notemap-31169e4821d6bd14d35682da6d808ee96cfc0ae8.tar.gz notemap-31169e4821d6bd14d35682da6d808ee96cfc0ae8.zip |
Rewrite compat and add configure script
Diffstat (limited to '')
-rw-r--r-- | imap.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/imap.c b/imap.c index b4aa6be..54c02bf 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] = { |