Lines Matching refs:rcode
555 ** rcode -- The three-digit (RFC 821) SMTP reply code.
564 smfi_setreply(ctx, rcode, xcode, message)
566 char *rcode;
573 if (rcode == NULL || ctx == NULL)
577 len = strlen(rcode) + 2;
580 if ((rcode[0] != '4' && rcode[0] != '5') ||
581 !isascii(rcode[1]) || !isdigit(rcode[1]) ||
582 !isascii(rcode[2]) || !isdigit(rcode[2]))
605 (void) sm_strlcpy(buf, rcode, len);
626 ** rcode -- The three-digit (RFC 821) SMTP reply code.
637 smfi_setmlreply(SMFICTX *ctx, const char *rcode, const char *xcode, ...)
639 smfi_setmlreply(ctx, rcode, xcode, va_alist)
641 const char *rcode;
654 if (rcode == NULL || ctx == NULL)
658 len = strlen(rcode) + 1;
661 if ((rcode[0] != '4' && rcode[0] != '5') ||
662 !isascii(rcode[1]) || !isdigit(rcode[1]) ||
663 !isascii(rcode[2]) || !isdigit(rcode[2]))
673 if (rcode[0] == '4')
710 (void) sm_strlcpyn(buf, len, 3, rcode, args == 1 ? " " : "-", xc);
711 (void) sm_strlcpyn(repl, sizeof repl, 4, rcode, args == 1 ? " " : "-",