Searched defs:ctx (Results 1 - 5 of 5) sorted by relevance

/sendmail/libmilter/
H A Dlistener.c736 SMFICTX_PTR ctx; local
896 if ((ctx = (SMFICTX_PTR) malloc(sizeof *ctx)) == NULL)
900 smi_log(SMI_LOG_ERR, "%s: malloc(ctx) failed (%s), %s",
912 (void) memset(ctx, '\0', sizeof *ctx);
913 ctx->ctx_sd = connfd;
914 ctx->ctx_dbg = dbg;
915 ctx->ctx_timeout = timeout;
916 ctx
[all...]
H A Dsmfi.c27 ** ctx -- Opaque context structure
38 smfi_header(ctx, cmd, hdridx, headerf, headerv)
39 SMFICTX *ctx;
53 timeout.tv_sec = ctx->ctx_timeout;
72 r = mi_wr_cmd(ctx->ctx_sd, &timeout, cmd, buf, len);
81 ** ctx -- Opaque context structure
90 smfi_addheader(ctx, headerf, headerv)
91 SMFICTX *ctx;
95 if (!mi_sendok(ctx, SMFIF_ADDHDRS))
98 return smfi_header(ctx, SMFIR_ADDHEADE
637 smfi_setmlreply(SMFICTX *ctx, const char *rcode, const char *xcode, ...) argument
[all...]
H A Dworker.c85 # define OLD_SESSION_TIMEOUT ctx->ctx_timeout
131 #define LAUNCH_WORKER(ctx) \
137 if ((r = thread_create(&tid, mi_worker, ctx)) != 0) \
146 if ((lev) < ctx->ctx_dbg) \
157 ** ctx -- context structure
164 mi_start_session(ctx)
165 SMFICTX_PTR ctx;
172 SM_ASSERT(ctx != NULL);
176 if (mi_list_add_ctx(ctx) != MI_SUCCESS)
182 ctx
380 SMFICTX_PTR ctx; local
672 SMFICTX_PTR ctx; local
[all...]
H A Dengine.c236 ** ctx -- context structure
243 mi_engine(ctx)
244 SMFICTX_PTR ctx;
263 arg.a_ctx = ctx;
264 sd = ctx->ctx_sd;
265 fi_abort = ctx->ctx_smfi->xxfi_abort;
267 curstate = ctx->ctx_state;
270 mi_clr_macros(ctx, 0);
271 fix_stm(ctx);
274 mi_clr_macros(ctx,
839 SMFICTX_PTR ctx; local
[all...]
/sendmail/mail.local/
H A Dmail.local.c1650 MD5_CTX ctx; local
1674 MD5_Init(&ctx);
1675 MD5_Update(&ctx, name, strlen(name));
1676 MD5_Final(md5, &ctx);

Completed in 27 milliseconds