Lines Matching refs:BlankEnvelope
96 ENVELOPE BlankEnvelope; /* a "blank" envelope */ variable
519 BlankEnvelope.e_puthdr = putheader;
520 BlankEnvelope.e_putbody = putbody;
521 BlankEnvelope.e_xfp = NULL;
522 STRUCTCOPY(NullAddress, BlankEnvelope.e_from);
523 CurEnv = &BlankEnvelope;
531 setdefaults(&BlankEnvelope);
532 initmacros(&BlankEnvelope);
716 init_vendor_macros(&BlankEnvelope);
719 macdefine(&BlankEnvelope.e_macro, A_PERM, 'v', Version);
729 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'w', jbuf);
730 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'j', jbuf);
735 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'm', &p[1]);
749 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'k', p);
816 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'b', arpadate((char *) NULL));
846 BlankEnvelope.e_bodytype = newstr(optarg);
892 BlankEnvelope.e_hopcount = (short) strtol(optarg, &ep,
895 BlankEnvelope.e_hopcount);
896 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'c', buf);
917 macdefine(&BlankEnvelope.e_macro, A_TEMP,
942 &BlankEnvelope);
946 setoption(' ', optarg, false, true, &BlankEnvelope);
960 macdefine(&BlankEnvelope.e_macro,
969 macdefine(&BlankEnvelope.e_macro, A_HEAP,
1107 if (bitset(EF_RET_PARAM, BlankEnvelope.e_flags))
1113 BlankEnvelope.e_flags |= EF_RET_PARAM;
1115 BlankEnvelope.e_flags |= EF_NO_BODY_RETN;
1121 macdefine(&BlankEnvelope.e_macro, A_TEMP,
1139 BlankEnvelope.e_envid = newstr(optarg);
1140 macdefine(&BlankEnvelope.e_macro, A_TEMP,
1175 setoption(j, "T", false, true, &BlankEnvelope);
1180 setoption(j, optarg, false, true, &BlankEnvelope);
1184 setoption('f', "T", false, true, &BlankEnvelope);
1222 if (macvalue(macid("{daemon_flags}"), &BlankEnvelope) == NULL)
1223 macdefine(&BlankEnvelope.e_macro, A_PERM,
1231 if (macvalue(macid("{daemon_flags}"), &BlankEnvelope) == NULL)
1232 macdefine(&BlankEnvelope.e_macro, A_PERM,
1245 vendor_pre_defaults(&BlankEnvelope);
1248 safecf, &BlankEnvelope);
1252 vendor_post_defaults(&BlankEnvelope);
1401 macdefine(&BlankEnvelope.e_macro, A_TEMP, '_', authinfo);
1404 if (BlankEnvelope.e_errormode != EM_PRINT)
1408 expand("\201m", jbuf, sizeof(jbuf), &BlankEnvelope);
1423 expand(PidFile, pidpath, sizeof(pidpath), &BlankEnvelope);
1431 xputs(sm_debug_file(), macvalue('w', &BlankEnvelope));
1433 xputs(sm_debug_file(), macvalue('j', &BlankEnvelope));
1435 xputs(sm_debug_file(), macvalue('m', &BlankEnvelope));
1437 xputs(sm_debug_file(), macvalue('k', &BlankEnvelope));
1448 auth_warning(&BlankEnvelope, "Processed by %s with -C %s",
1451 auth_warning(&BlankEnvelope, "Processed from queue %s",
1459 i = check_bodytype(BlankEnvelope.e_bodytype);
1462 usrerr("Illegal body type %s", BlankEnvelope.e_bodytype);
1463 BlankEnvelope.e_bodytype = NULL;
1640 BlankEnvelope.e_flags |= EF_METOO;
1652 BlankEnvelope.e_errormode = EM_PRINT;
1657 BlankEnvelope.e_errormode = EM_PRINT;
1673 vendor_daemon_setup(&BlankEnvelope);
1687 BlankEnvelope.e_errormode = EM_PRINT;
1729 setoption('c', "F", true, false, &BlankEnvelope);
1732 setoption('d', "", true, false, &BlankEnvelope);
1758 (p = macvalue('e', &BlankEnvelope)) != NULL)
1766 (p = macvalue('l', &BlankEnvelope)) != NULL)
1774 expand("\201j", jbuf, sizeof(jbuf), &BlankEnvelope);
1982 (void) dropenvelope(&BlankEnvelope, true, false);
2005 (void) dropenvelope(&BlankEnvelope, true, false);
2054 macdefine(&BlankEnvelope.e_macro, A_PERM,
2056 BlankEnvelope.e_envid = NULL;
2057 macdefine(&BlankEnvelope.e_macro, A_PERM,
2059 BlankEnvelope.e_flags &= ~(EF_RET_PARAM|EF_NO_BODY_RETN);
2060 macdefine(&BlankEnvelope.e_macro, A_PERM,
2083 CurEnv = newenvelope(&MainEnvelope, &BlankEnvelope,
2085 MainEnvelope.e_flags = BlankEnvelope.e_flags;
2388 macdefine(&BlankEnvelope.e_macro, A_TEMP,
2596 macdefine(&BlankEnvelope.e_macro, A_PERM,
2612 macdefine(&BlankEnvelope.e_macro, A_TEMP, '_', authinfo);
2649 macdefine(&BlankEnvelope.e_macro, A_TEMP,
2653 macdefine(&BlankEnvelope.e_macro, A_PERM,
2655 macdefine(&BlankEnvelope.e_macro, A_PERM,
2657 macdefine(&BlankEnvelope.e_macro, A_TEMP,
2679 macdefine(&BlankEnvelope.e_macro, A_TEMP,
2689 CurEnv = &BlankEnvelope;
2692 &BlankEnvelope),
2693 &BlankEnvelope);
2694 if (bitset(EF_DISCARD, BlankEnvelope.e_flags))