Searched refs:ctx (Results 1 - 11 of 11) sorted by relevance
/sendmail/libmilter/ |
H A D | handler.c | 21 ** ctx -- context structure 28 mi_handle_session(ctx) 29 SMFICTX_PTR ctx; 33 if (ctx == NULL) 35 ctx->ctx_id = (sthread_t) sthread_get_id(); 42 if (pthread_detach(ctx->ctx_id) != 0) 45 ret = mi_engine(ctx); 46 mi_clr_ctx(ctx); 47 ctx = NULL;
|
H A D | example.c | 39 #define MLFIPRIV ((struct mlfiPriv *) smfi_getpriv(ctx)) 44 mlfi_cleanup(ctx, ok) 45 SMFICTX *ctx; 75 smfi_addheader(ctx, "X-Archived", hbuf); 86 smfi_setpriv(ctx, NULL); 94 mlfi_envfrom(ctx, envfrom) 95 SMFICTX *ctx; 128 smfi_setpriv(ctx, priv); 135 mlfi_header(ctx, headerf, headerv) 136 SMFICTX *ctx; [all...] |
H A D | worker.c | 85 # 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 D | engine.c | 236 ** 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...] |
H A D | smfi.c | 27 ** 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 D | monitor.c | 31 ** Current ctx to monitor. 174 ** ctx -- session context 182 mi_monitor_work_begin(ctx, cmd) 183 SMFICTX_PTR ctx; 189 Mon_cur_ctx = ctx; 192 ctx->ctx_start = time(NULL); 193 SM_TAILQ_INSERT_TAIL(&Mon_ctx_head, ctx, ctx_mon_link); 202 ** ctx -- session context 210 mi_monitor_work_end(ctx, cmd) 211 SMFICTX_PTR ctx; [all...] |
H A D | listener.c | 736 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 D | libmilter.h | 305 #define MI_MONITOR_BEGIN(ctx, cmd) \ 309 mi_monitor_work_begin(ctx, cmd);\ 312 #define MI_MONITOR_END(ctx, cmd) \ 316 mi_monitor_work_end(ctx, cmd); \ 325 #define MI_MONITOR_BEGIN(ctx, cmd) 326 #define MI_MONITOR_END(ctx, cmd)
|
/sendmail/sendmail/ |
H A D | tls.c | 320 ** ctx -- TLS context 340 tls_set_verify(ctx, ssl, vrfy) 341 SSL_CTX *ctx; 348 SSL_CTX_set_verify(ctx, vrfy ? SSL_VERIFY_PEER : SSL_VERIFY_NONE, 514 ** ctx -- pointer to context 545 inittls(ctx, req, options, srv, certfile, keyfile, cacertpath, cacertfile, dhparam) 546 SSL_CTX **ctx; 577 if (ctx == NULL) 579 syserr("STARTTLS=%s, inittls: ctx == NULL", who); 581 SM_ASSERT(ctx ! [all...] |
/sendmail/include/libmilter/ |
H A D | mfapi.h | 288 ** xxfi_connect(ctx, hostname, hostaddr) Invoked on each connection 300 ** xxfi_helo(ctx, helohost) Invoked on SMTP HELO/EHLO command 311 ** xxfi_envfrom(ctx, argv) Invoked on envelope from 322 ** xxfi_envrcpt(ctx, argv) Invoked on each envelope recipient 334 ** xxfi_unknown(ctx, arg) Invoked when SMTP command is not recognized or not 343 ** xxfi_header(ctx, headerf, headerv) Invoked on each message header. The 355 ** xxfi_eoh(ctx) Invoked at end of header 362 ** xxfi_body(ctx, bodyp, bodylen) Invoked for each body chunk. There may 374 ** xxfi_eom(ctx) Invoked at end of message. This routine can perform 383 ** xxfi_abort(ctx) Invoke [all...] |
/sendmail/mail.local/ |
H A D | mail.local.c | 1650 MD5_CTX ctx; local 1674 MD5_Init(&ctx); 1675 MD5_Update(&ctx, name, strlen(name)); 1676 MD5_Final(md5, &ctx);
|
Completed in 23 milliseconds