• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/sendmail/libmilter/

Lines Matching refs:a_ctx

26 	SMFICTX_PTR	a_ctx;		/* context */
258 arg.a_ctx = ctx;
857 if (g == NULL || g->a_ctx->ctx_smfi == NULL)
859 ctx = g->a_ctx;
977 if (g->a_ctx->ctx_smfi != NULL &&
978 g->a_ctx->ctx_smfi->xxfi_version > 4 &&
979 (fi_negotiate = g->a_ctx->ctx_smfi->xxfi_negotiate) != NULL)
997 r = fi_negotiate(g->a_ctx,
1185 mi_clr_macros(g->a_ctx, g->a_idx + 1);
1186 if (g->a_ctx->ctx_smfi == NULL ||
1187 (fi_connect = g->a_ctx->ctx_smfi->xxfi_connect) == NULL)
1208 g->a_ctx->ctx_smfi->xxfi_name,
1209 (long) g->a_ctx->ctx_id, (int) i, (int) l);
1227 g->a_ctx->ctx_smfi->xxfi_name,
1228 (long) g->a_ctx->ctx_id);
1245 g->a_ctx->ctx_smfi->xxfi_name,
1246 (long) g->a_ctx->ctx_id);
1264 g->a_ctx->ctx_smfi->xxfi_name,
1265 (long) g->a_ctx->ctx_id);
1275 g->a_ctx->ctx_smfi->xxfi_name,
1276 (long) g->a_ctx->ctx_id, family);
1280 return (*fi_connect)(g->a_ctx, g->a_buf,
1302 if (g->a_ctx->ctx_smfi != NULL &&
1303 (fi_eoh = g->a_ctx->ctx_smfi->xxfi_eoh) != NULL)
1304 return (*fi_eoh)(g->a_ctx);
1326 if (g->a_ctx->ctx_smfi != NULL &&
1327 g->a_ctx->ctx_smfi->xxfi_version > 3 &&
1328 (fi_data = g->a_ctx->ctx_smfi->xxfi_data) != NULL)
1329 return (*fi_data)(g->a_ctx);
1351 mi_clr_macros(g->a_ctx, g->a_idx + 1);
1352 if (g->a_ctx->ctx_smfi != NULL &&
1353 (fi_helo = g->a_ctx->ctx_smfi->xxfi_helo) != NULL)
1358 return (*fi_helo)(g->a_ctx, g->a_buf);
1382 if (g->a_ctx->ctx_smfi == NULL ||
1383 (fi_header = g->a_ctx->ctx_smfi->xxfi_header) == NULL)
1386 return (*fi_header)(g->a_ctx, hf, hv);
1398 mi_clr_macros(g->a_ctx, g->a_idx + 1); \
1399 if (g->a_ctx->ctx_smfi == NULL || \
1400 (lf = g->a_ctx->ctx_smfi->rf) == NULL) \
1404 r = (*lf)(g->a_ctx, argv); \
1460 if (g->a_ctx->ctx_smfi != NULL &&
1461 g->a_ctx->ctx_smfi->xxfi_version > 2 &&
1462 (fi_unknown = g->a_ctx->ctx_smfi->xxfi_unknown) != NULL)
1463 return (*fi_unknown)(g->a_ctx, (const char *) g->a_buf);
1518 if (g->a_ctx->ctx_mac_ptr[i] != NULL)
1519 free(g->a_ctx->ctx_mac_ptr[i]);
1520 if (g->a_ctx->ctx_mac_buf[i] != NULL)
1521 free(g->a_ctx->ctx_mac_buf[i]);
1522 g->a_ctx->ctx_mac_ptr[i] = argv;
1523 g->a_ctx->ctx_mac_buf[i] = g->a_buf;
1546 if (g->a_ctx->ctx_smfi != NULL &&
1547 (fi_close = g->a_ctx->ctx_smfi->xxfi_close) != NULL)
1548 (void) (*fi_close)(g->a_ctx);
1549 mi_clr_macros(g->a_ctx, 0);
1571 if (g->a_ctx->ctx_smfi != NULL &&
1572 (fi_body = g->a_ctx->ctx_smfi->xxfi_body) != NULL)
1573 return (*fi_body)(g->a_ctx, (unsigned char *)g->a_buf,
1602 if (g->a_ctx->ctx_smfi != NULL)
1604 if ((fi_body = g->a_ctx->ctx_smfi->xxfi_body) != NULL &&
1610 timeout.tv_sec = g->a_ctx->ctx_timeout;
1612 sd = g->a_ctx->ctx_sd;
1613 r = (*fi_body)(g->a_ctx, (unsigned char *)g->a_buf,
1616 sendreply(r, sd, &timeout, g->a_ctx) != MI_SUCCESS)
1621 (fi_eom = g->a_ctx->ctx_smfi->xxfi_eom) != NULL)
1622 return (*fi_eom)(g->a_ctx);
1644 if (g != NULL && g->a_ctx->ctx_smfi != NULL &&
1645 (fi_abort = g->a_ctx->ctx_smfi->xxfi_abort) != NULL)
1646 (void) (*fi_abort)(g->a_ctx);