Home | History | Annotate | Download | only in milter

Lines Matching defs:msg_ctx

2328     MILTER_MSG_CONTEXT *msg_ctx = (MILTER_MSG_CONTEXT *) ptr;
2329 MILTER8 *milter = msg_ctx->milter;
2339 #define MILTER8_MESSAGE_DONE(milter, msg_ctx) \
2340 ((milter)->state != MILTER8_STAT_MESSAGE || (msg_ctx)->resp != 0)
2342 if (MILTER8_MESSAGE_DONE(milter, msg_ctx))
2362 for (cpp = msg_ctx->auto_hdrs->argv, done = 1; *cpp; cpp++, done <<= 1)
2363 if ((msg_ctx->auto_done & done) == 0 && strcmp(*cpp, STR(buf)) == 0) {
2364 msg_ctx->auto_done |= done;
2389 msg_ctx->resp =
2391 skip_reply, msg_ctx->eoh_macros,
2402 MILTER_MSG_CONTEXT *msg_ctx = (MILTER_MSG_CONTEXT *) ptr;
2403 MILTER8 *milter = msg_ctx->milter;
2406 if (MILTER8_MESSAGE_DONE(milter, msg_ctx))
2411 msg_ctx->resp =
2413 skip_reply, msg_ctx->eoh_macros,
2424 MILTER_MSG_CONTEXT *msg_ctx = (MILTER_MSG_CONTEXT *) ptr;
2425 MILTER8 *milter = msg_ctx->milter;
2432 if (MILTER8_MESSAGE_DONE(milter, msg_ctx))
2438 if (msg_ctx->first_body) {
2439 msg_ctx->first_body = 0;
2477 msg_ctx->resp =
2479 skip_reply, msg_ctx->eod_macros,
2482 if (MILTER8_MESSAGE_DONE(milter, msg_ctx))
2500 MILTER_MSG_CONTEXT *msg_ctx = (MILTER_MSG_CONTEXT *) ptr;
2501 MILTER8 *milter = msg_ctx->milter;
2504 if (MILTER8_MESSAGE_DONE(milter, msg_ctx))
2522 msg_ctx->resp =
2524 skip_reply, msg_ctx->eod_macros,
2527 if (MILTER8_MESSAGE_DONE(milter, msg_ctx))
2530 msg_ctx->resp =
2531 milter8_event(msg_ctx->milter, SMFIC_BODYEOB, 0,
2532 DONT_SKIP_REPLY, msg_ctx->eod_macros,
2550 MILTER_MSG_CONTEXT msg_ctx;
2573 msg_ctx.milter = milter;
2574 msg_ctx.eoh_macros = eoh_macros;
2575 msg_ctx.eod_macros = eod_macros;
2576 msg_ctx.auto_hdrs = auto_hdrs;
2577 msg_ctx.auto_done = 0;
2578 msg_ctx.first_header = 1;
2579 msg_ctx.first_body = 1;
2580 msg_ctx.resp = 0;
2591 (void *) &msg_ctx);
2609 msg_ctx.resp = "450 4.3.0 Queue file write error";
2619 msg_ctx.resp = "450 4.3.0 Queue file write error";
2622 if (MILTER8_MESSAGE_DONE(milter, &msg_ctx))
2637 return (msg_ctx.resp);