Lines Matching refs:sync_ctx
16 struct imap_sync_context *sync_ctx;
34 if (ctx->sync_ctx != NULL) {
36 (void)imap_sync_deinit(ctx->sync_ctx, ctx->cmd);
90 if (ctx->sync_ctx != NULL) {
138 i_assert(ctx->sync_ctx == NULL);
145 ctx->sync_ctx = imap_sync_init(ctx->client, box, 0, 0);
153 if (ctx->sync_ctx != NULL)
183 i_assert(ctx->sync_ctx == NULL);
227 if (ctx->sync_ctx != NULL) {
228 if (imap_sync_more(ctx->sync_ctx) == 0) {
238 if (imap_sync_deinit(ctx->sync_ctx, ctx->cmd) < 0) {
243 ctx->sync_ctx = NULL;