Lines Matching refs:BlankEnvelope

94 ENVELOPE	BlankEnvelope;	/* a "blank" envelope */
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);
705 init_vendor_macros(&BlankEnvelope);
708 macdefine(&BlankEnvelope.e_macro, A_PERM, 'v', Version);
718 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'w', jbuf);
719 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'j', jbuf);
724 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'm', &p[1]);
738 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'k', p);
805 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'b', arpadate((char *) NULL));
835 BlankEnvelope.e_bodytype = newstr(optarg);
881 BlankEnvelope.e_hopcount = (short) strtol(optarg, &ep,
884 BlankEnvelope.e_hopcount);
885 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'c', buf);
906 macdefine(&BlankEnvelope.e_macro, A_TEMP,
931 &BlankEnvelope);
935 setoption(' ', optarg, false, true, &BlankEnvelope);
949 macdefine(&BlankEnvelope.e_macro,
958 macdefine(&BlankEnvelope.e_macro, A_HEAP,
1096 if (bitset(EF_RET_PARAM, BlankEnvelope.e_flags))
1102 BlankEnvelope.e_flags |= EF_RET_PARAM;
1104 BlankEnvelope.e_flags |= EF_NO_BODY_RETN;
1110 macdefine(&BlankEnvelope.e_macro, A_TEMP,
1128 BlankEnvelope.e_envid = newstr(optarg);
1129 macdefine(&BlankEnvelope.e_macro, A_TEMP,
1164 setoption(j, "T", false, true, &BlankEnvelope);
1169 setoption(j, optarg, false, true, &BlankEnvelope);
1173 setoption('f', "T", false, true, &BlankEnvelope);
1211 if (macvalue(macid("{daemon_flags}"), &BlankEnvelope) == NULL)
1212 macdefine(&BlankEnvelope.e_macro, A_PERM,
1220 if (macvalue(macid("{daemon_flags}"), &BlankEnvelope) == NULL)
1221 macdefine(&BlankEnvelope.e_macro, A_PERM,
1234 vendor_pre_defaults(&BlankEnvelope);
1237 safecf, &BlankEnvelope);
1241 vendor_post_defaults(&BlankEnvelope);
1390 macdefine(&BlankEnvelope.e_macro, A_TEMP, '_', authinfo);
1393 if (BlankEnvelope.e_errormode != EM_PRINT)
1397 expand("\201m", jbuf, sizeof(jbuf), &BlankEnvelope);
1412 expand(PidFile, pidpath, sizeof(pidpath), &BlankEnvelope);
1420 xputs(sm_debug_file(), macvalue('w', &BlankEnvelope));
1422 xputs(sm_debug_file(), macvalue('j', &BlankEnvelope));
1424 xputs(sm_debug_file(), macvalue('m', &BlankEnvelope));
1426 xputs(sm_debug_file(), macvalue('k', &BlankEnvelope));
1437 auth_warning(&BlankEnvelope, "Processed by %s with -C %s",
1440 auth_warning(&BlankEnvelope, "Processed from queue %s",
1448 i = check_bodytype(BlankEnvelope.e_bodytype);
1451 usrerr("Illegal body type %s", BlankEnvelope.e_bodytype);
1452 BlankEnvelope.e_bodytype = NULL;
1629 BlankEnvelope.e_flags |= EF_METOO;
1641 BlankEnvelope.e_errormode = EM_PRINT;
1646 BlankEnvelope.e_errormode = EM_PRINT;
1662 vendor_daemon_setup(&BlankEnvelope);
1676 BlankEnvelope.e_errormode = EM_PRINT;
1718 setoption('c', "F", true, false, &BlankEnvelope);
1721 setoption('d', "", true, false, &BlankEnvelope);
1747 (p = macvalue('e', &BlankEnvelope)) != NULL)
1755 (p = macvalue('l', &BlankEnvelope)) != NULL)
1763 expand("\201j", jbuf, sizeof(jbuf), &BlankEnvelope);
1971 (void) dropenvelope(&BlankEnvelope, true, false);
1994 (void) dropenvelope(&BlankEnvelope, true, false);
2043 macdefine(&BlankEnvelope.e_macro, A_PERM,
2045 BlankEnvelope.e_envid = NULL;
2046 macdefine(&BlankEnvelope.e_macro, A_PERM,
2048 BlankEnvelope.e_flags &= ~(EF_RET_PARAM|EF_NO_BODY_RETN);
2049 macdefine(&BlankEnvelope.e_macro, A_PERM,
2072 CurEnv = newenvelope(&MainEnvelope, &BlankEnvelope,
2074 MainEnvelope.e_flags = BlankEnvelope.e_flags;
2377 macdefine(&BlankEnvelope.e_macro, A_TEMP,
2564 ** Set _ macro in BlankEnvelope before calling newenvelope().
2569 macdefine(&BlankEnvelope.e_macro, A_TEMP, '_', authinfo);
2606 macdefine(&BlankEnvelope.e_macro, A_TEMP,
2610 macdefine(&BlankEnvelope.e_macro, A_PERM,
2612 macdefine(&BlankEnvelope.e_macro, A_PERM,
2614 macdefine(&BlankEnvelope.e_macro, A_TEMP,
2636 macdefine(&BlankEnvelope.e_macro, A_TEMP,
2646 CurEnv = &BlankEnvelope;
2649 &BlankEnvelope),
2650 &BlankEnvelope);
2651 if (bitset(EF_DISCARD, BlankEnvelope.e_flags))