Postfix3.3.1
|
#include <sys_defs.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <stdlib.h>
#include <unistd.h>
#include <time.h>
#include <fcntl.h>
#include <string.h>
#include <stdio.h>
#include <msg.h>
#include <vstream.h>
#include <vstring.h>
#include <msg_vstream.h>
#include <vstring_vstream.h>
#include <stringops.h>
#include <warn_stat.h>
#include <clean_env.h>
#include <record.h>
#include <rec_type.h>
#include <mail_queue.h>
#include <mail_conf.h>
#include <mail_params.h>
#include <mail_version.h>
#include <mail_proto.h>
#include <is_header.h>
#include <lex_822.h>
#include <mail_parm_split.h>
マクロ定義 | |
#define | PC_FLAG_SEARCH_QUEUE (1<<0) /* search queue */ |
#define | PC_FLAG_PRINT_OFFSET (1<<1) /* print record offsets */ |
#define | PC_FLAG_PRINT_ENV (1<<2) /* print envelope records */ |
#define | PC_FLAG_PRINT_HEADER (1<<3) /* print header records */ |
#define | PC_FLAG_PRINT_BODY (1<<4) /* print body records */ |
#define | PC_FLAG_PRINT_RTYPE_DEC (1<<5) /* print decimal record type */ |
#define | PC_FLAG_PRINT_RTYPE_SYM (1<<6) /* print symbolic record type */ |
#define | PC_MASK_PRINT_TEXT (PC_FLAG_PRINT_HEADER | PC_FLAG_PRINT_BODY) |
#define | PC_MASK_PRINT_ALL (PC_FLAG_PRINT_ENV | PC_MASK_PRINT_TEXT) |
#define | PC_STATE_ENV 0 /* initial or extracted envelope */ |
#define | PC_STATE_HEADER 1 /* primary header */ |
#define | PC_STATE_BODY 2 /* other */ |
#define | STR vstring_str |
#define | LEN VSTRING_LEN |
#define | TEXT_RECORD(rec_type) (rec_type == REC_TYPE_CONT || rec_type == REC_TYPE_NORM) |
#define | PRINT_MARKER(flags, fp, offset, type, text) |
#define | PRINT_RECORD(flags, offset, type, value) |
関数 | |
int | main (int argc, char **argv) |
変数 | |
MAIL_VERSION_STAMP_DECLARE | |
#define LEN VSTRING_LEN |
#define PC_MASK_PRINT_ALL (PC_FLAG_PRINT_ENV | PC_MASK_PRINT_TEXT) |
#define PC_MASK_PRINT_TEXT (PC_FLAG_PRINT_HEADER | PC_FLAG_PRINT_BODY) |
#define PRINT_MARKER | ( | flags, | |
fp, | |||
offset, | |||
type, | |||
text | |||
) |
#define PRINT_RECORD | ( | flags, | |
offset, | |||
type, | |||
value | |||
) |
#define STR vstring_str |
#define TEXT_RECORD | ( | rec_type | ) | (rec_type == REC_TYPE_CONT || rec_type == REC_TYPE_NORM) |