Lines Matching refs:cmds
328 struct smtp_client_command **cmds;
343 cmds = array_get_modifiable(&cmds_arr, &count);
345 cmd = cmds[i];
347 smtp_client_command_abort(&cmds[i]);
359 struct smtp_client_command **cmds;
374 cmds = array_get_modifiable(&cmds_arr, &count);
376 cmd = cmds[i];
378 smtp_client_command_fail_reply(&cmds[i], reply);
1025 ARRAY(struct smtp_client_command *) cmds;
1048 struct smtp_client_command **cmds;
1052 cmds = array_get_modifiable(&ctx->cmds, &count);
1054 smtp_client_command_set_abort_callback(cmds[i], NULL, NULL);
1055 smtp_client_command_abort(&cmds[i]);
1084 struct smtp_client_command *const *cmds, *cmd;
1088 cmds = array_get(&ctx->cmds, &count);
1094 smtp_client_command_submit_after(cmd, cmds[0]);
1110 i_assert(array_count(&ctx->cmds) > 0);
1119 array_delete(&ctx->cmds, 0, 1);
1124 if (array_count(&ctx->cmds) == 0) {
1167 struct smtp_client_command *const *cmds, *cmd, *cmd_prev;
1179 cmds = array_get(&ctx->cmds, &count);
1185 cmd_prev = cmds[count-1];
1224 array_append(&ctx->cmds, &cmd, 1);
1229 if (array_count(&ctx->cmds) >= set->max_data_chunk_pipeline) {
1268 if (array_count(&ctx->cmds) == 0) {
1306 p_array_init(&ctx->cmds, ctx->pool, 1);
1319 array_append(&ctx->cmds, &cmd, 1);
1323 p_array_init(&ctx->cmds, ctx->pool,