Postfix3.3.1
マクロ定義 | 関数
cleanup_message.c ファイル
#include <sys_defs.h>
#include <ctype.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
#include <msg.h>
#include <vstring.h>
#include <vstream.h>
#include <argv.h>
#include <split_at.h>
#include <mymalloc.h>
#include <stringops.h>
#include <nvtable.h>
#include <record.h>
#include <rec_type.h>
#include <cleanup_user.h>
#include <tok822.h>
#include <lex_822.h>
#include <header_opts.h>
#include <quote_822_local.h>
#include <mail_params.h>
#include <mail_date.h>
#include <mail_addr.h>
#include <is_header.h>
#include <ext_prop.h>
#include <mail_proto.h>
#include <mime_state.h>
#include <dsn_util.h>
#include <conv_time.h>
#include "cleanup.h"

[ソースコード]

マクロ定義

#define CLEANUP_ACT_CTXT_HEADER   "header"
 
#define CLEANUP_ACT_CTXT_BODY   "body"
 
#define CLEANUP_ACT_CTXT_ANY   "content"
 
#define STREQUAL(x, y, l)   (strncasecmp((x), (y), (l)) == 0 && (y)[l] == 0)
 
#define CLEANUP_ACT_DROP   0
 
#define CHECK(class, maps, var_name)   (header_class == class && (map_class = var_name, checks = maps) != 0)
 
#define VISIBLE_RCPT
 
#define TEXT_LEN   (len < 100 ? (int) len : 100)
 
#define KLUDGE_HEADER_LIMIT   60000
 

関数

void cleanup_message (CLEANUP_STATE *state, int type, const char *buf, ssize_t len)
 

マクロ定義詳解

#define CHECK (   class,
  maps,
  var_name 
)    (header_class == class && (map_class = var_name, checks = maps) != 0)
#define CLEANUP_ACT_CTXT_ANY   "content"

cleanup_message.c280 行目に定義があります。

#define CLEANUP_ACT_CTXT_BODY   "body"

cleanup_message.c279 行目に定義があります。

#define CLEANUP_ACT_CTXT_HEADER   "header"

cleanup_message.c278 行目に定義があります。

#define CLEANUP_ACT_DROP   0
#define KLUDGE_HEADER_LIMIT   60000
#define STREQUAL (   x,
  y,
 
)    (strncasecmp((x), (y), (l)) == 0 && (y)[l] == 0)
#define TEXT_LEN   (len < 100 ? (int) len : 100)
#define VISIBLE_RCPT
値:
((1 << HDR_TO) | (1 << HDR_RESENT_TO) \
| (1 << HDR_CC) | (1 << HDR_RESENT_CC))
#define HDR_TO
Definition: header_opts.h:51
#define HDR_CC
Definition: header_opts.h:29
#define HDR_RESENT_TO
Definition: header_opts.h:47
#define HDR_RESENT_CC
Definition: header_opts.h:41

関数詳解

void cleanup_message ( CLEANUP_STATE state,
int  type,
const char *  buf,
ssize_t  len 
)

cleanup_message.c1033 行目に定義があります。