Lines Matching defs:BlankEnvelope
96 ENVELOPE BlankEnvelope; /* a "blank" envelope */
521 BlankEnvelope.e_puthdr = putheader;
522 BlankEnvelope.e_putbody = putbody;
523 BlankEnvelope.e_xfp = NULL;
524 STRUCTCOPY(NullAddress, BlankEnvelope.e_from);
525 CurEnv = &BlankEnvelope;
533 setdefaults(&BlankEnvelope);
534 initmacros(&BlankEnvelope);
707 init_vendor_macros(&BlankEnvelope);
710 macdefine(&BlankEnvelope.e_macro, A_PERM, 'v', Version);
720 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'w', jbuf);
721 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'j', jbuf);
726 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'm', &p[1]);
740 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'k', p);
807 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'b', arpadate((char *) NULL));
837 BlankEnvelope.e_bodytype = newstr(optarg);
883 BlankEnvelope.e_hopcount = (short) strtol(optarg, &ep,
886 BlankEnvelope.e_hopcount);
887 macdefine(&BlankEnvelope.e_macro, A_TEMP, 'c', buf);
908 macdefine(&BlankEnvelope.e_macro, A_TEMP,
933 &BlankEnvelope);
937 setoption(' ', optarg, false, true, &BlankEnvelope);
951 macdefine(&BlankEnvelope.e_macro,
960 macdefine(&BlankEnvelope.e_macro, A_HEAP,
1098 if (bitset(EF_RET_PARAM, BlankEnvelope.e_flags))
1104 BlankEnvelope.e_flags |= EF_RET_PARAM;
1106 BlankEnvelope.e_flags |= EF_NO_BODY_RETN;
1112 macdefine(&BlankEnvelope.e_macro, A_TEMP,
1130 BlankEnvelope.e_envid = newstr(optarg);
1131 macdefine(&BlankEnvelope.e_macro, A_TEMP,
1166 setoption(j, "T", false, true, &BlankEnvelope);
1171 setoption(j, optarg, false, true, &BlankEnvelope);
1175 setoption('f', "T", false, true, &BlankEnvelope);
1213 if (macvalue(macid("{daemon_flags}"), &BlankEnvelope) == NULL)
1214 macdefine(&BlankEnvelope.e_macro, A_PERM,
1222 if (macvalue(macid("{daemon_flags}"), &BlankEnvelope) == NULL)
1223 macdefine(&BlankEnvelope.e_macro, A_PERM,
1236 vendor_pre_defaults(&BlankEnvelope);
1239 safecf, &BlankEnvelope);
1243 vendor_post_defaults(&BlankEnvelope);
1392 macdefine(&BlankEnvelope.e_macro, A_TEMP, '_', authinfo);
1395 if (BlankEnvelope.e_errormode != EM_PRINT)
1399 expand("\201m", jbuf, sizeof(jbuf), &BlankEnvelope);
1414 expand(PidFile, pidpath, sizeof(pidpath), &BlankEnvelope);
1422 xputs(sm_debug_file(), macvalue('w', &BlankEnvelope));
1424 xputs(sm_debug_file(), macvalue('j', &BlankEnvelope));
1426 xputs(sm_debug_file(), macvalue('m', &BlankEnvelope));
1428 xputs(sm_debug_file(), macvalue('k', &BlankEnvelope));
1439 auth_warning(&BlankEnvelope, "Processed by %s with -C %s",
1442 auth_warning(&BlankEnvelope, "Processed from queue %s",
1450 i = check_bodytype(BlankEnvelope.e_bodytype);
1453 usrerr("Illegal body type %s", BlankEnvelope.e_bodytype);
1454 BlankEnvelope.e_bodytype = NULL;
1631 BlankEnvelope.e_flags |= EF_METOO;
1643 BlankEnvelope.e_errormode = EM_PRINT;
1648 BlankEnvelope.e_errormode = EM_PRINT;
1664 vendor_daemon_setup(&BlankEnvelope);
1678 BlankEnvelope.e_errormode = EM_PRINT;
1720 setoption('c', "F", true, false, &BlankEnvelope);
1723 setoption('d', "", true, false, &BlankEnvelope);
1749 (p = macvalue('e', &BlankEnvelope)) != NULL)
1757 (p = macvalue('l', &BlankEnvelope)) != NULL)
1765 expand("\201j", jbuf, sizeof(jbuf), &BlankEnvelope);
1973 (void) dropenvelope(&BlankEnvelope, true, false);
1996 (void) dropenvelope(&BlankEnvelope, true, false);
2045 macdefine(&BlankEnvelope.e_macro, A_PERM,
2047 BlankEnvelope.e_envid = NULL;
2048 macdefine(&BlankEnvelope.e_macro, A_PERM,
2050 BlankEnvelope.e_flags &= ~(EF_RET_PARAM|EF_NO_BODY_RETN);
2051 macdefine(&BlankEnvelope.e_macro, A_PERM,
2074 CurEnv = newenvelope(&MainEnvelope, &BlankEnvelope,
2076 MainEnvelope.e_flags = BlankEnvelope.e_flags;
2379 macdefine(&BlankEnvelope.e_macro, A_TEMP,
2566 ** Set _ macro in BlankEnvelope before calling newenvelope().
2571 macdefine(&BlankEnvelope.e_macro, A_TEMP, '_', authinfo);
2608 macdefine(&BlankEnvelope.e_macro, A_TEMP,
2612 macdefine(&BlankEnvelope.e_macro, A_PERM,
2614 macdefine(&BlankEnvelope.e_macro, A_PERM,
2616 macdefine(&BlankEnvelope.e_macro, A_TEMP,
2638 macdefine(&BlankEnvelope.e_macro, A_TEMP,
2648 CurEnv = &BlankEnvelope;
2651 &BlankEnvelope),
2652 &BlankEnvelope);
2653 if (bitset(EF_DISCARD, BlankEnvelope.e_flags))