Lines Matching refs:ctx
99 SMFICTX *ctx;
177 static sfsistat mlfi_connect(SMFICTX *ctx, char *hostname, _SOCK_ADDR *hostaddr) in mlfi_connect() argument
224 MG(ctx) = ctx; in mlfi_connect()
242 static sfsistat mlfi_helo(SMFICTX *ctx, char *helohost) in mlfi_helo() argument
258 MG(ctx) = ctx; in mlfi_helo()
277 static sfsistat mlfi_envfrom(SMFICTX *ctx, char **argv) in mlfi_envfrom() argument
298 MG(ctx) = ctx; in mlfi_envfrom()
317 static sfsistat mlfi_envrcpt(SMFICTX *ctx, char **argv) in mlfi_envrcpt() argument
338 MG(ctx) = ctx; in mlfi_envrcpt()
358 static sfsistat mlfi_header(SMFICTX *ctx, char *headerf, char *headerv) in mlfi_header() argument
377 MG(ctx) = ctx; in mlfi_header()
398 static sfsistat mlfi_eoh(SMFICTX *ctx) in mlfi_eoh() argument
409 MG(ctx) = ctx; in mlfi_eoh()
427 static sfsistat mlfi_body(SMFICTX *ctx, u_char *bodyp, size_t len) in mlfi_body() argument
443 MG(ctx) = ctx; in mlfi_body()
463 static sfsistat mlfi_eom(SMFICTX *ctx) in mlfi_eom() argument
474 MG(ctx) = ctx; in mlfi_eom()
492 static sfsistat mlfi_abort(SMFICTX *ctx) in mlfi_abort() argument
503 MG(ctx) = ctx; in mlfi_abort()
521 static sfsistat mlfi_close(SMFICTX *ctx) in mlfi_close() argument
533 MG(ctx) = ctx; in mlfi_close()
615 if ((ret = smfi_getsymval(MG(ctx), symname)) != NULL) { in PHP_FUNCTION()
636 if (smfi_setreply(MG(ctx), rcode, xcode, message) == MI_SUCCESS) { in PHP_FUNCTION()
656 if (smfi_addheader(MG(ctx), f, v) == MI_SUCCESS) { in PHP_FUNCTION()
677 if (smfi_chgheader(MG(ctx), f, idx, v) == MI_SUCCESS) { in PHP_FUNCTION()
697 if (smfi_addrcpt(MG(ctx), rcpt) == MI_SUCCESS) { in PHP_FUNCTION()
717 if (smfi_delrcpt(MG(ctx), rcpt) == MI_SUCCESS) { in PHP_FUNCTION()
738 if (smfi_replacebody(MG(ctx), (u_char*)body, len) == MI_SUCCESS) { in PHP_FUNCTION()