1 #ifndef _BOUNCE_TEMPLATE_H_INCLUDED_
2 #define _BOUNCE_TEMPLATE_H_INCLUDED_
38 #define BOUNCE_TMPL_FLAG_NEW_BUFFER (1<<0)
40 #define BOUNCE_TMPL_CLASS_FAILURE "failure"
41 #define BOUNCE_TMPL_CLASS_DELAY "delay"
42 #define BOUNCE_TMPL_CLASS_SUCCESS "success"
43 #define BOUNCE_TMPL_CLASS_VERIFY "verify"
45 #define IS_FAILURE_TEMPLATE(t) ((t)->class[0] == BOUNCE_TMPL_CLASS_FAILURE[0])
46 #define IS_DELAY_TEMPLATE(t) ((t)->class[0] == BOUNCE_TMPL_CLASS_DELAY[0])
47 #define IS_SUCCESS_TEMPLATE(t) ((t)->class[0] == BOUNCE_TMPL_CLASS_SUCCESS[0])
48 #define IS_VERIFY_TEMPLATE(t) ((t)->class[0] == BOUNCE_TMPL_CLASS_verify[0])
50 #define bounce_template_encoding(t) ((t)->mime_encoding)
51 #define bounce_template_charset(t) ((t)->mime_charset)
63 #define POSTMASTER_COPY 1
64 #define NO_POSTMASTER_COPY 0
void bounce_templates_free(BOUNCE_TEMPLATES *)
const char * mime_charset
int PRINTFPTRLIKE(2, 3)(*BOUNCE_XP_PRN_FN)(VSTREAM *
void bounce_template_free(BOUNCE_TEMPLATE *)
const struct BOUNCE_TEMPLATE * prototype
void bounce_templates_expand(VSTREAM *, BOUNCE_TEMPLATES *)
const char ** message_text
BOUNCE_TEMPLATE * success
void bounce_template_expand(BOUNCE_XP_PUT_FN, VSTREAM *, BOUNCE_TEMPLATE *)
BOUNCE_TEMPLATES * bounce_templates_create(void)
const char * mime_encoding
struct BOUNCE_TEMPLATE BOUNCE_TEMPLATE
void bounce_template_headers(BOUNCE_XP_PRN_FN, VSTREAM *, BOUNCE_TEMPLATE *, const char *, int)
BOUNCE_TEMPLATE * failure
void bounce_templates_dump(VSTREAM *, BOUNCE_TEMPLATES *)
void bounce_templates_load(VSTREAM *, BOUNCE_TEMPLATES *)
int const char typedef int(* BOUNCE_XP_PUT_FN)(VSTREAM *, const char *)
BOUNCE_TEMPLATE * bounce_template_create(const BOUNCE_TEMPLATE *)
void bounce_template_dump(VSTREAM *, BOUNCE_TEMPLATE *)
void bounce_template_load(BOUNCE_TEMPLATE *, const char *, const char *)
const char * postmaster_subject