Lines Matching defs:rcpts
77 struct smtp_client_transaction_rcpt *const *rcpts;
80 rcpts = array_get(&trans->rcpts_pending, &count);
82 i_assert(prcpt == rcpts[0]);
108 array_append(&trans->rcpts, &rcpt, 1);
180 p_array_init(&trans->rcpts, pool, 16);
216 struct smtp_client_transaction_rcpt **rcpts;
231 rcpts = array_get_modifiable(&trans->rcpts_pending, &count);
233 if (rcpts[i]->cmd_rcpt_to != NULL &&
235 smtp_client_command_abort(&rcpts[i]->cmd_rcpt_to);
236 smtp_client_transaction_rcpt_free(&rcpts[i]);
309 struct smtp_client_transaction_rcpt **rcpts;
338 rcpts = array_get_modifiable(&trans->rcpts_pending, &count);
340 struct smtp_client_command *cmd = rcpts[i]->cmd_rcpt_to;
342 if (rcpts[i]->failed)
345 rcpts[i]->cmd_rcpt_to = NULL;
346 rcpts[i]->failed = TRUE;
351 if (rcpts[i]->rcpt_callback != NULL) {
352 rcpts[i]->rcpt_callback(reply,
353 rcpts[i]->context);
355 rcpts[i]->rcpt_callback = NULL;
369 rcpts = array_get_modifiable(&trans->rcpts, &count);
371 if (rcpts[i]->data_callback != NULL) {
372 rcpts[i]->data_callback(reply,
373 rcpts[i]->context);
375 rcpts[i]->data_callback = NULL;
548 if (array_count(&trans->rcpts) == 0) {
552 array_count(&trans->rcpts));
656 rcpt = array_get_modifiable(&trans->rcpts, &count);
700 } else if ((array_count(&trans->rcpts) +
715 array_count(&trans->rcpts));