| /netbsd/src/external/ibm-public/postfix/dist/src/postcat/ |
| D | postcat.c | 178 int rec_type; in postcat() local 192 #define TEXT_RECORD(rec_type) \ in postcat() argument 193 (rec_type == REC_TYPE_CONT || rec_type == REC_TYPE_NORM) in postcat() 239 rec_type = rec_get_raw(fp, buffer, 0, rec_flags); in postcat() 240 if (rec_type == REC_TYPE_ERROR) in postcat() 242 if (rec_type == REC_TYPE_EOF) in postcat() 271 vstream_printf("%s: %s\n", rec_type_name(rec_type), (value)); \ in postcat() 275 if (TEXT_RECORD(rec_type)) { in postcat() 278 && prev_type != REC_TYPE_CONT && TEXT_RECORD(rec_type) in postcat() 293 } else if (rec_type == REC_TYPE_MESG) { in postcat() [all …]
|
| /netbsd/src/external/ibm-public/postfix/dist/src/postdrop/ |
| D | postdrop.c | 324 int rec_type; in main() local 501 rec_type = rec_get_raw(VSTREAM_IN, buf, var_line_limit, REC_FLAG_NONE); in main() 502 if (rec_type == REC_TYPE_EOF) { /* request canceled */ in main() 512 if (rec_type == REC_TYPE_ERROR) in main() 514 if (strchr(*expected, rec_type) == 0) in main() 515 msg_fatal("uid=%ld: unexpected record type: %d", (long) uid, rec_type); in main() 516 if (rec_type == **expected) in main() 519 if (rec_type == REC_TYPE_TIME) in main() 522 if (rec_type == REC_TYPE_FROM) { in main() 526 if (rec_type == REC_TYPE_RCPT) in main() [all …]
|
| /netbsd/src/external/ibm-public/postfix/dist/src/qmgr/ |
| D | qmgr_message.c | 266 int rec_type; in qmgr_message_oldstyle_scan() local 291 rec_type = rec_get(message->fp, buf, 0); in qmgr_message_oldstyle_scan() 292 if (rec_type <= 0) in qmgr_message_oldstyle_scan() 297 msg_info("old-style scan record %c %s", rec_type, start); in qmgr_message_oldstyle_scan() 298 if (rec_type == REC_TYPE_END) in qmgr_message_oldstyle_scan() 300 if (rec_type == REC_TYPE_DONE in qmgr_message_oldstyle_scan() 301 || rec_type == REC_TYPE_RCPT in qmgr_message_oldstyle_scan() 302 || rec_type == REC_TYPE_DRCP) { in qmgr_message_oldstyle_scan() 306 if (rec_type == REC_TYPE_MESG) { in qmgr_message_oldstyle_scan() 332 if (message->data_offset == 0 || rec_type != REC_TYPE_END) in qmgr_message_oldstyle_scan() [all …]
|
| /netbsd/src/external/ibm-public/postfix/dist/src/oqmgr/ |
| D | qmgr_message.c | 251 int rec_type; in qmgr_message_oldstyle_scan() local 275 rec_type = rec_get(message->fp, buf, 0); in qmgr_message_oldstyle_scan() 276 if (rec_type <= 0) in qmgr_message_oldstyle_scan() 281 msg_info("old-style scan record %c %s", rec_type, start); in qmgr_message_oldstyle_scan() 282 if (rec_type == REC_TYPE_END) in qmgr_message_oldstyle_scan() 284 if (rec_type == REC_TYPE_MESG) { in qmgr_message_oldstyle_scan() 310 if (message->data_offset == 0 || rec_type != REC_TYPE_END) in qmgr_message_oldstyle_scan() 319 int rec_type; in qmgr_message_read() local 392 rec_type = rec_get_raw(message->fp, buf, 0, REC_FLAG_NONE); in qmgr_message_read() 395 msg_info("record %c %s", rec_type, start); in qmgr_message_read() [all …]
|
| /netbsd/src/external/ibm-public/postfix/dist/src/smtpd/ |
| D | smtpd_proxy.c | 549 int rec_type; in smtpd_proxy_replay_send() local 600 switch (rec_type = rec_get(smtpd_proxy_replay_stream, replay_buf, in smtpd_proxy_replay_send() 608 if (smtpd_proxy_rec_put(proxy->service_stream, rec_type, in smtpd_proxy_replay_send() 648 msg_panic("%s: unexpected record type; %d", myname, rec_type); in smtpd_proxy_replay_send() 822 static int smtpd_proxy_save_rec_put(VSTREAM *stream, int rec_type, in smtpd_proxy_save_rec_put() argument 839 if (rec_type == REC_TYPE_NORM || rec_type == REC_TYPE_CONT) in smtpd_proxy_save_rec_put() 840 ret = rec_put(stream, rec_type, data, len); in smtpd_proxy_save_rec_put() 847 if (ret != rec_type) { in smtpd_proxy_save_rec_put() 851 return (rec_type); in smtpd_proxy_save_rec_put() 856 static int smtpd_proxy_rec_put(VSTREAM *stream, int rec_type, in smtpd_proxy_rec_put() argument [all …]
|
| /netbsd/src/external/ibm-public/postfix/dist/src/global/ |
| D | mime_state.c | 438 #define BODY_OUT(ptr, rec_type, text, len) do { \ argument 440 (ptr)->body_out((ptr)->app_context, (rec_type), \ 699 static void mime_state_downgrade(MIME_STATE *state, int rec_type, in mime_state_downgrade() argument 740 if (rec_type == REC_TYPE_NORM) { in mime_state_downgrade() 757 int mime_state_update(MIME_STATE *state, int rec_type, in mime_state_update() argument 760 int input_is_text = (rec_type == REC_TYPE_NORM in mime_state_update() 761 || rec_type == REC_TYPE_CONT); in mime_state_update() 766 #define SAVE_PREV_REC_TYPE_AND_RETURN_ERR_FLAGS(state, rec_type) do { \ in mime_state_update() argument 767 state->prev_rec_type = rec_type; \ in mime_state_update() 807 SAVE_PREV_REC_TYPE_AND_RETURN_ERR_FLAGS(state, rec_type); in mime_state_update() [all …]
|
| D | header_body_checks.c | 476 static void out_cb(void *context, int rec_type, const char *buf, in out_cb() argument 529 static void body_out(void *context, int rec_type, const char *buf, in body_out() argument 539 dp->recno, rec_type, (long) offset, buf); in body_out() 540 out_cb(dp, rec_type, STR(dp->buf), LEN(dp->buf), offset); in body_out() 543 dp->recno, rec_type, (long) offset, out); in body_out() 544 out_cb(dp, rec_type, STR(dp->buf), LEN(dp->buf), offset); in body_out() 575 int rec_type; in main() local 624 rec_type = rec_streamlf_get(VSTREAM_IN, buf, REC_LEN); in main() 626 err = mime_state_update(mime_state, rec_type, STR(buf), LEN(buf)); in main() 628 } while (rec_type > 0); in main()
|
| D | delivered_hdr.c | 221 int rec_type; in main() member 246 REC_PUT_LIT(mem_fp, tp->rec_type, tp->content); in main() 260 tp->rec_type, tp->content, in main()
|
| /netbsd/src/external/ibm-public/postfix/dist/src/local/ |
| D | forward.c | 278 int rec_type = 0; in forward_send() local 301 while (status == 0 && (rec_type = rec_get(attr.fp, buffer, 0)) > 0) { in forward_send() 302 if (rec_type != REC_TYPE_CONT && rec_type != REC_TYPE_NORM) in forward_send() 304 status = (REC_PUT_BUF(info->cleanup, rec_type, buffer) != rec_type); in forward_send() 306 if (status == 0 && rec_type != REC_TYPE_XTRA) { in forward_send() 308 info->queue_id, rec_type); in forward_send()
|
| /netbsd/src/external/ibm-public/postfix/dist/src/cleanup/ |
| D | cleanup_bounce.c | 104 int rec_type; in cleanup_bounce() local 149 if ((rec_type = rec_get(state->dst, buf, 0)) <= 0 in cleanup_bounce() 150 || rec_type == REC_TYPE_END) in cleanup_bounce() 153 if (rec_type == REC_TYPE_ATTR) { in cleanup_bounce() 160 rec_type = junk; in cleanup_bounce() 163 switch (rec_type) { in cleanup_bounce()
|
| D | cleanup_milter.c | 270 static void cleanup_milter_header_prepend(void *context, int rec_type, in cleanup_milter_header_prepend() argument 785 int rec_type = REC_TYPE_ERROR; in cleanup_find_header_start() local 870 #define GET_NEXT_TEXT_OR_PTR_RECORD(rec_type, state, buf, curr_offset, quit) \ in cleanup_find_header_start() argument 871 if ((rec_type = rec_get_raw(state->dst, buf, 0, REC_FLAG_NONE)) < 0) { \ in cleanup_find_header_start() 879 if (rec_type == REC_TYPE_DTXT) \ in cleanup_find_header_start() 881 if (rec_type != REC_TYPE_NORM && rec_type != REC_TYPE_CONT \ in cleanup_find_header_start() 882 && rec_type != REC_TYPE_PTR) \ in cleanup_find_header_start() 902 GET_NEXT_TEXT_OR_PTR_RECORD(rec_type, state, buf, curr_offset, in cleanup_find_header_start() 905 if (rec_type == REC_TYPE_PTR) { in cleanup_find_header_start() 939 last_type = rec_type; in cleanup_find_header_start() [all …]
|
| D | cleanup_body_edit.c | 155 int cleanup_body_edit_write(CLEANUP_STATE *state, int rec_type, in cleanup_body_edit_write() argument 212 CLEANUP_OUT_BUF(state, rec_type, buf); in cleanup_body_edit_write()
|
| D | Makefile.in | 747 cleanup.o: ../../include/rec_type.h 786 cleanup_addr.o: ../../include/rec_type.h 830 cleanup_api.o: ../../include/rec_type.h 863 cleanup_body_edit.o: ../../include/rec_type.h 905 cleanup_bounce.o: ../../include/rec_type.h 946 cleanup_envelope.o: ../../include/rec_type.h 984 cleanup_envelope_test.o: ../../include/rec_type.h 1023 cleanup_extracted.o: ../../include/rec_type.h 1055 cleanup_final.o: ../../include/rec_type.h 1242 cleanup_message.o: ../../include/rec_type.h [all …]
|
| /netbsd/src/external/ibm-public/postfix/dist/src/bounce/ |
| D | bounce_notify_util.c | 237 int rec_type; in bounce_mail_alloc() local 327 while ((rec_type = in bounce_mail_alloc() 333 if (rec_type == REC_TYPE_SIZE) { in bounce_mail_alloc() 347 else if (rec_type == REC_TYPE_TIME) { in bounce_mail_alloc() 356 else if (rec_type == REC_TYPE_FROM) { in bounce_mail_alloc() 367 else if (rec_type == REC_TYPE_MESG) { in bounce_mail_alloc() 380 else if (rec_type == REC_TYPE_ATTR && var_threaded_bounce) { in bounce_mail_alloc() 860 int rec_type = 0; in bounce_original() local 924 while (status == 0 && (rec_type = rec_get(bounce_info->orig_fp, bounce_info->buf, 0)) > 0) { in bounce_original() 925 if (rec_type != REC_TYPE_NORM && rec_type != REC_TYPE_CONT) in bounce_original() [all …]
|
| D | bounce_notify_util_tester.c | 54 int rec_type; in test_driver() local 100 while ((rec_type = rec_get(message_stream, rec_buf, 0)) > 0) { in test_driver() 101 switch (rec_type) { in test_driver() 109 msg_panic("unexpected message record type %d", rec_type); in test_driver()
|
| D | Makefile.in | 280 bounce_notify_service.o: ../../include/rec_type.h 323 bounce_notify_util.o: ../../include/rec_type.h 350 bounce_notify_util_tester.o: ../../include/rec_type.h 385 bounce_notify_verp.o: ../../include/rec_type.h 421 bounce_one_service.o: ../../include/rec_type.h 502 bounce_trace_service.o: ../../include/rec_type.h 535 bounce_warn_service.o: ../../include/rec_type.h
|
| /netbsd/src/external/ibm-public/postfix/dist/src/showq/ |
| D | showq.c | 170 int rec_type; in showq_report() local 207 while (!vstream_ferror(client) && (rec_type = rec_get(qfile, buf, 0)) > 0) { in showq_report() 210 msg_info("record %c %s", rec_type, printable(start, '?')); in showq_report() 211 switch (rec_type) { in showq_report() 294 if (rec_type == REC_TYPE_FROM in showq_report()
|
| D | Makefile.in | 74 showq.o: ../../include/rec_type.h
|
| /netbsd/src/external/ibm-public/postfix/dist/src/smtp/ |
| D | smtp_proto.c | 1238 static void smtp_text_out(void *context, int rec_type, in smtp_text_out() argument 1266 if (data_left > 0 || rec_type == REC_TYPE_CONT) { in smtp_text_out() 1283 if (rec_type == REC_TYPE_CONT) { in smtp_text_out() 1299 static void smtp_format_out(void *context, int rec_type, const char *fmt,...) in smtp_format_out() argument 1309 smtp_text_out(context, rec_type, vstring_str(vp), VSTRING_LEN(vp), 0); in smtp_format_out() 1483 static int smtp_out_raw_or_mime(SMTP_STATE *state, int rec_type, VSTRING *buf) in smtp_out_raw_or_mime() argument 1489 smtp_text_out((void *) state, rec_type, vstring_str(buf), in smtp_out_raw_or_mime() 1493 mime_state_update(session->mime_state, rec_type, in smtp_out_raw_or_mime() 1560 int rec_type; in smtp_loop() local 2401 while ((rec_type = rec_get(state->src, session->scratch, 0)) > 0) { in smtp_loop() [all …]
|
| /netbsd/src/external/ibm-public/postfix/dist/src/qmqpd/ |
| D | qmqpd.c | 453 int rec_type; in qmqpd_write_content() local 503 rec_type = REC_TYPE_NORM; in qmqpd_write_content() 505 rec_type = REC_TYPE_CONT; in qmqpd_write_content() 508 rec_fprintf(state->cleanup, rec_type, in qmqpd_write_content() 516 if (rec_put(state->cleanup, rec_type, start, len) < 0) { in qmqpd_write_content()
|
| /netbsd/src/sys/fs/hfs/ |
| D | libhfs.h | 342 int16_t rec_type; member 359 int16_t rec_type; member 378 int16_t rec_type; member
|
| D | hfs_vnops.c | 602 if (hp->h_rec.u.rec_type == HFS_REC_FILE) { in hfs_vop_getattr() 616 } else if (hp->h_rec.u.rec_type == HFS_REC_FLDR) { in hfs_vop_getattr() 628 hp->h_rec.u.rec_type)); in hfs_vop_getattr() 634 if (hp->h_rec.u.rec_type == HFS_REC_FILE) in hfs_vop_getattr()
|
| D | hfs.h | 84 int16_t rec_type; member
|
| /netbsd/src/external/ibm-public/postfix/dist/src/milter/ |
| D | milter8.c | 2419 static void milter8_body(void *ptr, int rec_type, in milter8_body() argument 2460 if (rec_type == REC_TYPE_NORM && todo == 0) { in milter8_body() 2463 rec_type = REC_TYPE_EOF; in milter8_body() 2487 if (rec_type == REC_TYPE_NORM && todo == 0) { in milter8_body() 2490 rec_type = REC_TYPE_EOF; in milter8_body() 2547 int rec_type; in milter8_message() local 2606 if ((rec_type = rec_get(qfile, buf, 0)) < 0) { in milter8_message() 2613 mime_errs = mime_state_update(mime_state, rec_type, in milter8_message() 2624 if (rec_type != REC_TYPE_NORM && rec_type != REC_TYPE_CONT) in milter8_message()
|
| D | Makefile.in | 82 milter.o: ../../include/rec_type.h 108 milter8.o: ../../include/rec_type.h
|