Lines Matching refs:rcode
563 smfi_setreply(ctx, rcode, xcode, message) in smfi_setreply() argument
565 char *rcode;
572 if (rcode == NULL || ctx == NULL)
576 len = strlen(rcode) + 2;
579 if ((rcode[0] != '4' && rcode[0] != '5') ||
580 !isascii(rcode[1]) || !isdigit(rcode[1]) ||
581 !isascii(rcode[2]) || !isdigit(rcode[2]))
604 (void) sm_strlcpy(buf, rcode, len);
636 smfi_setmlreply(SMFICTX *ctx, const char *rcode, const char *xcode, ...) in smfi_setmlreply() argument
638 smfi_setmlreply(ctx, rcode, xcode, va_alist) in smfi_setmlreply()
640 const char *rcode;
653 if (rcode == NULL || ctx == NULL)
657 len = strlen(rcode) + 1;
660 if ((rcode[0] != '4' && rcode[0] != '5') ||
661 !isascii(rcode[1]) || !isdigit(rcode[1]) ||
662 !isascii(rcode[2]) || !isdigit(rcode[2]))
672 if (rcode[0] == '4')
709 (void) sm_strlcpyn(buf, len, 3, rcode, args == 1 ? " " : "-", xc);
710 (void) sm_strlcpyn(repl, sizeof repl, 4, rcode, args == 1 ? " " : "-",