Postfix3.3.1
|
#include <sys_defs.h>
#include <ctype.h>
#include <string.h>
#include <msg.h>
#include <mymalloc.h>
#include <mime_state.h>
#include <rec_type.h>
#include <is_header.h>
#include <cleanup_user.h>
#include <dsn_util.h>
#include <header_body_checks.h>
マクロ定義 | |
#define | HBC_HEADER_INDEX(class) ((class) - MIME_HDR_FIRST) |
#define | HBC_BODY_INDEX (0) |
#define | HBC_INIT(hbc, index, name, value) |
#define | HBC_CTXT_HEADER "header" |
#define | HBC_CTXT_BODY "body" |
#define | STR(x) vstring_str(x) |
#define | LEN(x) VSTRING_LEN(x) |
#define | STREQUAL(x, y, l) (strncasecmp((x), (y), (l)) == 0 && (y)[l] == 0) |
関数 | |
char * | hbc_header_checks (void *context, HBC_CHECKS *hbc, int header_class, const HEADER_OPTS *hdr_opts, VSTRING *header, off_t offset) |
char * | hbc_body_checks (void *context, HBC_CHECKS *hbc, const char *line, ssize_t len, off_t offset) |
HBC_CHECKS * | hbc_header_checks_create (const char *header_checks_name, const char *header_checks_value, const char *mime_header_checks_name, const char *mime_header_checks_value, const char *nested_header_checks_name, const char *nested_header_checks_value, HBC_CALL_BACKS *call_backs) |
HBC_CHECKS * | hbc_body_checks_create (const char *body_checks_name, const char *body_checks_value, HBC_CALL_BACKS *call_backs) |
void | _hbc_checks_free (HBC_CHECKS *hbc, ssize_t len) |
変数 | |
char | hbc_checks_error |
const char | hbc_checks_unknown |
#define HBC_BODY_INDEX (0) |
header_body_checks.c の 205 行目に定義があります。
#define HBC_CTXT_BODY "body" |
header_body_checks.c の 221 行目に定義があります。
#define HBC_CTXT_HEADER "header" |
header_body_checks.c の 220 行目に定義があります。
#define HBC_HEADER_INDEX | ( | class | ) | ((class) - MIME_HDR_FIRST) |
header_body_checks.c の 204 行目に定義があります。
#define HBC_INIT | ( | hbc, | |
index, | |||
name, | |||
value | |||
) |
header_body_checks.c の 207 行目に定義があります。
#define LEN | ( | x | ) | VSTRING_LEN(x) |
header_body_checks.c の 226 行目に定義があります。
#define STR | ( | x | ) | vstring_str(x) |
header_body_checks.c の 225 行目に定義があります。
#define STREQUAL | ( | x, | |
y, | |||
l | |||
) | (strncasecmp((x), (y), (l)) == 0 && (y)[l] == 0) |
void _hbc_checks_free | ( | HBC_CHECKS * | hbc, |
ssize_t | len | ||
) |
header_body_checks.c の 419 行目に定義があります。
char* hbc_body_checks | ( | void * | context, |
HBC_CHECKS * | hbc, | ||
const char * | line, | ||
ssize_t | len, | ||
off_t | offset | ||
) |
header_body_checks.c の 341 行目に定義があります。
HBC_CHECKS* hbc_body_checks_create | ( | const char * | body_checks_name, |
const char * | body_checks_value, | ||
HBC_CALL_BACKS * | call_backs | ||
) |
header_body_checks.c の 398 行目に定義があります。
char* hbc_header_checks | ( | void * | context, |
HBC_CHECKS * | hbc, | ||
int | header_class, | ||
const HEADER_OPTS * | hdr_opts, | ||
VSTRING * | header, | ||
off_t | offset | ||
) |
header_body_checks.c の 309 行目に定義があります。
HBC_CHECKS* hbc_header_checks_create | ( | const char * | header_checks_name, |
const char * | header_checks_value, | ||
const char * | mime_header_checks_name, | ||
const char * | mime_header_checks_value, | ||
const char * | nested_header_checks_name, | ||
const char * | nested_header_checks_value, | ||
HBC_CALL_BACKS * | call_backs | ||
) |
header_body_checks.c の 366 行目に定義があります。
char hbc_checks_error |
header_body_checks.c の 193 行目に定義があります。
const char hbc_checks_unknown |
header_body_checks.c の 194 行目に定義があります。