diff options
| author | June McEnroe <june@causal.agency> | 2020-04-13 16:18:37 -0400 |
|---|---|---|
| committer | June McEnroe <june@causal.agency> | 2020-04-13 16:18:37 -0400 |
| commit | bab44e23d43b064fa1995975434db88913a1ce20 (patch) | |
| tree | fcca2b7b8ce4cf3b9444c8f82750d16fe1452ed2 /imap.h | |
| parent | Add -u option to set base URL (diff) | |
| download | bubger-bab44e23d43b064fa1995975434db88913a1ce20.tar.gz bubger-bab44e23d43b064fa1995975434db88913a1ce20.zip | |
Use two FILEs for IMAP
Turns out that funopen cannot be used for a full-duplex socket.
Diffstat (limited to 'imap.h')
| -rw-r--r-- | imap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/imap.h b/imap.h index a364111..5919b8f 100644 --- a/imap.h +++ b/imap.h @@ -165,7 +165,7 @@ static inline void respFree(struct Resp resp) { } extern bool imapVerbose; -FILE *imapOpen(const char *host, const char *port); -struct Resp imapResp(FILE *imap); +void imapOpen(FILE **read, FILE **write, const char *host, const char *port); +struct Resp imapResp(FILE *imapRead); #endif /* IMAP_H */ |