Lines Matching refs:rcode
566 smfi_setreply(ctx, rcode, xcode, message) in smfi_setreply() argument
568 char *rcode;
575 if (rcode == NULL || ctx == NULL)
579 len = strlen(rcode) + 2;
582 if ((rcode[0] != '4' && rcode[0] != '5') ||
583 !isascii(rcode[1]) || !isdigit(rcode[1]) ||
584 !isascii(rcode[2]) || !isdigit(rcode[2]))
607 (void) sm_strlcpy(buf, rcode, len);
639 smfi_setmlreply(SMFICTX *ctx, const char *rcode, const char *xcode, ...) in smfi_setmlreply() argument
641 smfi_setmlreply(ctx, rcode, xcode, va_alist) in smfi_setmlreply()
643 const char *rcode;
656 if (rcode == NULL || ctx == NULL)
660 len = strlen(rcode) + 1;
663 if ((rcode[0] != '4' && rcode[0] != '5') ||
664 !isascii(rcode[1]) || !isdigit(rcode[1]) ||
665 !isascii(rcode[2]) || !isdigit(rcode[2]))
675 if (rcode[0] == '4')
712 (void) sm_strlcpyn(buf, len, 3, rcode, args == 1 ? " " : "-", xc);
713 (void) sm_strlcpyn(repl, sizeof repl, 4, rcode, args == 1 ? " " : "-",