a round of renaming towards dc_io_* methods for start/stop/io scheduling

This commit is contained in:
holger krekel
2020-05-22 17:33:16 +02:00
parent c43285f6ac
commit d0686ada83
6 changed files with 34 additions and 56 deletions

View File

@@ -11,12 +11,11 @@ APIs:
dc_configure # note: dc_start_jobs() is NOT allowed to run concurrently
dc_imex NEVER goes through the job system
dc_imex import_backup needs to ensure dc_stop_jobs()
dc_jobs_are_running() # tell if we are in start/stop-jobs state
dc_context_run # start async scheduler
-> dc_start_jobs
dc_context_shutdown # Stop async scheduler (after return no async-task runs)
-> dc_stop_jobs
dc_io_start # start smtp/imap and job handling subsystems
dc_io_stop # stop smtp/imap and job handling subsystems
dc_io_status # return 1 if smtp/imap/jobs susbystem is running
dc_close # FFI only
-> can be dropped
dc_context_unref