瀏覽代碼

make imap_exec() result reporting callback-based

this makes the IMAP command submission interface asynchronous.

the functions still have synchronous return codes as well - this enables
clean error return paths. only when we invoke callbacks we resort to
refcounting.

as a "side effect", properly sequence commands after CREATE resulting
from [TRYCREATE].
Oswald Buddenhagen 14 年之前
父節點
當前提交
2ab689b3df
共有 1 個文件被更改,包括 503 次插入178 次删除
  1. 503 178
      src/drv_imap.c

File diff suppressed because it is too large
+ 503 - 178
src/drv_imap.c


Some files were not shown because too many files changed in this diff