Postfix3.3.1
データ構造 | マクロ定義 | 関数
bounce_template.c ファイル
#include <sys_defs.h>
#include <string.h>
#include <ctype.h>
#include <msg.h>
#include <mac_expand.h>
#include <split_at.h>
#include <stringops.h>
#include <mymalloc.h>
#include <midna_domain.h>
#include <mail_params.h>
#include <mail_proto.h>
#include <mail_conf.h>
#include <is_header.h>
#include <bounce_template.h>

[ソースコード]

データ構造

struct  BOUNCE_TIME_DIVISOR
 
struct  BOUNCE_TIME_PARAMETER
 
struct  BOUNCE_STR_PARAMETER
 

マクロ定義

#define STRING_AND_LEN(x)   (x), (sizeof(x) - 1)
 
#define STR(x)   vstring_str(x)
 
#define CLEANUP_AND_RETURN()
 
#define GETLINE(line, buf)   (((line) = (buf)) != 0 ? ((buf) = split_at((buf), '\n'), (line)) : 0)
 
#define NON_ASCII(p)   ((p) && *(p) && !allascii((p)))
 

関数

BOUNCE_TEMPLATEbounce_template_create (const BOUNCE_TEMPLATE *prototype)
 
void bounce_template_free (BOUNCE_TEMPLATE *tp)
 
void bounce_template_load (BOUNCE_TEMPLATE *tp, const char *origin, const char *buffer)
 
void bounce_template_headers (BOUNCE_XP_PRN_FN out_fn, VSTREAM *fp, BOUNCE_TEMPLATE *tp, const char *rcpt, int postmaster_copy)
 
void bounce_template_expand (BOUNCE_XP_PUT_FN out_fn, VSTREAM *fp, BOUNCE_TEMPLATE *tp)
 
void bounce_template_dump (VSTREAM *fp, BOUNCE_TEMPLATE *tp)
 

マクロ定義詳解

#define CLEANUP_AND_RETURN ( )
値:
do { \
bounce_template_reset(tp); \
return; \
} while (0)
#define GETLINE (   line,
  buf 
)    (((line) = (buf)) != 0 ? ((buf) = split_at((buf), '\n'), (line)) : 0)
#define NON_ASCII (   p)    ((p) && *(p) && !allascii((p)))
#define STR (   x)    vstring_str(x)

bounce_template.c222 行目に定義があります。

#define STRING_AND_LEN (   x)    (x), (sizeof(x) - 1)

bounce_template.c177 行目に定義があります。

関数詳解

BOUNCE_TEMPLATE* bounce_template_create ( const BOUNCE_TEMPLATE prototype)

bounce_template.c226 行目に定義があります。

void bounce_template_dump ( VSTREAM fp,
BOUNCE_TEMPLATE tp 
)

bounce_template.c524 行目に定義があります。

void bounce_template_expand ( BOUNCE_XP_PUT_FN  out_fn,
VSTREAM fp,
BOUNCE_TEMPLATE tp 
)

bounce_template.c498 行目に定義があります。

void bounce_template_free ( BOUNCE_TEMPLATE tp)

bounce_template.c237 行目に定義があります。

void bounce_template_headers ( BOUNCE_XP_PRN_FN  out_fn,
VSTREAM fp,
BOUNCE_TEMPLATE tp,
const char *  rcpt,
int  postmaster_copy 
)

bounce_template.c482 行目に定義があります。

void bounce_template_load ( BOUNCE_TEMPLATE tp,
const char *  origin,
const char *  buffer 
)

bounce_template.c257 行目に定義があります。