浏览代码

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

文件差异内容过多而无法显示
+ 503 - 178
src/drv_imap.c


部分文件因为文件数量过多而无法显示