Lines Matching defs:cctx
175 struct doveadm_cmd_context *cctx)
178 if (doveadm_cmd_run_ver2(argc, argv, cctx) < 0)
180 doveadm_cmd_server_post(conn, cctx->cmd->name);
197 struct doveadm_cmd_context *cctx,
206 mctx->cctx = cctx;
253 if (cctx->username != NULL) {
254 if (strchr(cctx->username, '*') != NULL ||
255 strchr(cctx->username, '?') != NULL) {
264 doveadm_print_sticky("username", cctx->username);
309 struct doveadm_cmd_context *cctx)
328 cctx, &mctx) < 0)
332 cctx->cmd = cmd_ver2;
341 doveadm_cmd_server_run_ver2(conn, argc, argv, cctx);
363 struct doveadm_cmd_context cctx;
371 i_zero(&cctx);
372 cctx.conn_type = conn->conn.type;
373 cctx.input = conn->input;
374 cctx.output = conn->output;
375 cctx.local_ip = conn->conn.local_ip;
376 cctx.remote_ip = conn->conn.remote_ip;
377 cctx.local_port = conn->conn.local_port;
378 cctx.remote_port = conn->conn.remote_port;
382 cctx.username = args[1];
414 if (doveadm_cmd_handle(conn, cmd_name, argc-2, args+2, &cctx) < 0)