Postfix3.3.1
データ構造 | マクロ定義 | 型定義 | 関数
bounce_template.h ファイル
#include <vstream.h>

[ソースコード]

データ構造

struct  BOUNCE_TEMPLATE
 
struct  BOUNCE_TEMPLATES
 

マクロ定義

#define BOUNCE_TMPL_FLAG_NEW_BUFFER   (1<<0)
 
#define BOUNCE_TMPL_CLASS_FAILURE   "failure"
 
#define BOUNCE_TMPL_CLASS_DELAY   "delay"
 
#define BOUNCE_TMPL_CLASS_SUCCESS   "success"
 
#define BOUNCE_TMPL_CLASS_VERIFY   "verify"
 
#define IS_FAILURE_TEMPLATE(t)   ((t)->class[0] == BOUNCE_TMPL_CLASS_FAILURE[0])
 
#define IS_DELAY_TEMPLATE(t)   ((t)->class[0] == BOUNCE_TMPL_CLASS_DELAY[0])
 
#define IS_SUCCESS_TEMPLATE(t)   ((t)->class[0] == BOUNCE_TMPL_CLASS_SUCCESS[0])
 
#define IS_VERIFY_TEMPLATE(t)   ((t)->class[0] == BOUNCE_TMPL_CLASS_verify[0])
 
#define bounce_template_encoding(t)   ((t)->mime_encoding)
 
#define bounce_template_charset(t)   ((t)->mime_charset)
 
#define POSTMASTER_COPY   1 /* postmaster copy */
 
#define NO_POSTMASTER_COPY   0 /* not postmaster copy */
 

型定義

typedef struct BOUNCE_TEMPLATE BOUNCE_TEMPLATE
 
typedef int PRINTFPTRLIKE(2, 3) (*BOUNCE_XP_PRN_FN) (VSTREAM *
 
typedef int const char typedef int(* BOUNCE_XP_PUT_FN) (VSTREAM *, const char *)
 

関数

BOUNCE_TEMPLATE * bounce_template_create (const BOUNCE_TEMPLATE *)
 
void bounce_template_free (BOUNCE_TEMPLATE *)
 
void bounce_template_load (BOUNCE_TEMPLATE *, const char *, const char *)
 
void bounce_template_headers (BOUNCE_XP_PRN_FN, VSTREAM *, BOUNCE_TEMPLATE *, const char *, int)
 
void bounce_template_expand (BOUNCE_XP_PUT_FN, VSTREAM *, BOUNCE_TEMPLATE *)
 
void bounce_template_dump (VSTREAM *, BOUNCE_TEMPLATE *)
 
BOUNCE_TEMPLATES * bounce_templates_create (void)
 
void bounce_templates_free (BOUNCE_TEMPLATES *)
 
void bounce_templates_load (VSTREAM *, BOUNCE_TEMPLATES *)
 
void bounce_templates_expand (VSTREAM *, BOUNCE_TEMPLATES *)
 
void bounce_templates_dump (VSTREAM *, BOUNCE_TEMPLATES *)
 

マクロ定義詳解

#define bounce_template_charset (   t)    ((t)->mime_charset)

bounce_template.h の 51 行目に定義があります。

#define bounce_template_encoding (   t)    ((t)->mime_encoding)

bounce_template.h の 50 行目に定義があります。

#define BOUNCE_TMPL_CLASS_DELAY   "delay"

bounce_template.h の 41 行目に定義があります。

#define BOUNCE_TMPL_CLASS_FAILURE   "failure"

bounce_template.h の 40 行目に定義があります。

#define BOUNCE_TMPL_CLASS_SUCCESS   "success"

bounce_template.h の 42 行目に定義があります。

#define BOUNCE_TMPL_CLASS_VERIFY   "verify"

bounce_template.h の 43 行目に定義があります。

#define BOUNCE_TMPL_FLAG_NEW_BUFFER   (1<<0)

bounce_template.h の 38 行目に定義があります。

#define IS_DELAY_TEMPLATE (   t)    ((t)->class[0] == BOUNCE_TMPL_CLASS_DELAY[0])

bounce_template.h の 46 行目に定義があります。

#define IS_FAILURE_TEMPLATE (   t)    ((t)->class[0] == BOUNCE_TMPL_CLASS_FAILURE[0])

bounce_template.h の 45 行目に定義があります。

#define IS_SUCCESS_TEMPLATE (   t)    ((t)->class[0] == BOUNCE_TMPL_CLASS_SUCCESS[0])

bounce_template.h の 47 行目に定義があります。

#define IS_VERIFY_TEMPLATE (   t)    ((t)->class[0] == BOUNCE_TMPL_CLASS_verify[0])

bounce_template.h の 48 行目に定義があります。

#define NO_POSTMASTER_COPY   0 /* not postmaster copy */

bounce_template.h の 64 行目に定義があります。

#define POSTMASTER_COPY   1 /* postmaster copy */

bounce_template.h の 63 行目に定義があります。

型定義詳解

typedef int const char typedef int(* BOUNCE_XP_PUT_FN) (VSTREAM *, const char *)

bounce_template.h の 54 行目に定義があります。

typedef int const char typedef int PRINTFPTRLIKE(3, 4)(*SMTPD_PROXY_REC_FPRINTF_FN)(VSTREAM *

bounce_template.h の 53 行目に定義があります。

関数詳解

BOUNCE_TEMPLATE* bounce_template_create ( const BOUNCE_TEMPLATE *  )

bounce_template.c の 226 行目に定義があります。

void bounce_template_dump ( VSTREAM *  ,
BOUNCE_TEMPLATE *   
)

bounce_template.c の 524 行目に定義があります。

void bounce_template_expand ( BOUNCE_XP_PUT_FN  ,
VSTREAM *  ,
BOUNCE_TEMPLATE *   
)

bounce_template.c の 498 行目に定義があります。

void bounce_template_free ( BOUNCE_TEMPLATE *  )

bounce_template.c の 237 行目に定義があります。

void bounce_template_headers ( BOUNCE_XP_PRN_FN  ,
VSTREAM *  ,
BOUNCE_TEMPLATE *  ,
const char *  ,
int   
)

bounce_template.c の 482 行目に定義があります。

void bounce_template_load ( BOUNCE_TEMPLATE *  ,
const char *  ,
const char *   
)

bounce_template.c の 257 行目に定義があります。

BOUNCE_TEMPLATES* bounce_templates_create ( void  )

bounce_templates.c の 221 行目に定義があります。

void bounce_templates_dump ( VSTREAM *  ,
BOUNCE_TEMPLATES *   
)

bounce_templates.c の 368 行目に定義があります。

void bounce_templates_expand ( VSTREAM *  ,
BOUNCE_TEMPLATES *   
)

bounce_templates.c の 341 行目に定義があります。

void bounce_templates_free ( BOUNCE_TEMPLATES *  )

bounce_templates.c の 235 行目に定義があります。

void bounce_templates_load ( VSTREAM *  ,
BOUNCE_TEMPLATES *   
)

bounce_templates.c の 246 行目に定義があります。