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].
This commit is contained in:
Oswald Buddenhagen 2011-04-03 18:15:36 +02:00
parent e5d323cc47
commit 2ab689b3df

File diff suppressed because it is too large Load Diff