Postfix3.3.1
総合概要
データ構造
ファイル
ファイル一覧
大域各種
postfix-3.3.1
src
global
bounce_log.h
[詳解]
1
#ifndef _BOUNCE_LOG_H_INCLUDED_
2
#define _BOUNCE_LOG_H_INCLUDED_
3
4
/*++
5
/* NAME
6
/* bounce_log 3h
7
/* SUMMARY
8
/* bounce file reader
9
/* SYNOPSIS
10
/* #include <bounce_log.h>
11
/* DESCRIPTION
12
/* .nf
13
14
/*
15
* Utility library.
16
*/
17
#include <
vstream.h
>
18
#include <
vstring.h
>
19
20
/*
21
* Global library.
22
*/
23
#include <
recipient_list.h
>
24
#include <
rcpt_buf.h
>
25
#include <
dsn_buf.h
>
26
27
/*
28
* External interface.
29
*/
30
typedef
struct
{
31
VSTREAM
*
fp
;
/* open file */
32
VSTRING
*
buf
;
/* I/O buffer */
33
char
*
compat_status
;
/* old logfile compatibility */
34
char
*
compat_action
;
/* old logfile compatibility */
35
}
BOUNCE_LOG
;
36
37
extern
BOUNCE_LOG
*
bounce_log_open
(
const
char
*,
const
char
*,
int
, mode_t);
38
extern
BOUNCE_LOG
*
bounce_log_read
(
BOUNCE_LOG
*,
RCPT_BUF
*,
DSN_BUF
*);
39
extern
BOUNCE_LOG
*
bounce_log_delrcpt
(
BOUNCE_LOG
*);
40
extern
int
bounce_log_close
(
BOUNCE_LOG
*);
41
42
#define bounce_log_rewind(bp) vstream_fseek((bp)->fp, 0L, SEEK_SET)
43
44
/* LICENSE
45
/* .ad
46
/* .fi
47
/* The Secure Mailer license must be distributed with this software.
48
/* AUTHOR(S)
49
/* Wietse Venema
50
/* IBM T.J. Watson Research
51
/* P.O. Box 704
52
/* Yorktown Heights, NY 10598, USA
53
/*--*/
54
55
#endif
VSTREAM
Definition:
vstream.h:43
BOUNCE_LOG::fp
VSTREAM * fp
Definition:
bounce_log.h:31
recipient_list.h
bounce_log_read
BOUNCE_LOG * bounce_log_read(BOUNCE_LOG *, RCPT_BUF *, DSN_BUF *)
Definition:
bounce_log.c:147
BOUNCE_LOG::compat_status
char * compat_status
Definition:
bounce_log.h:33
bounce_log_open
BOUNCE_LOG * bounce_log_open(const char *, const char *, int, mode_t)
Definition:
bounce_log.c:114
bounce_log_close
int bounce_log_close(BOUNCE_LOG *)
Definition:
bounce_log.c:305
VSTRING
Definition:
vstring.h:29
vstring.h
DSN_BUF
Definition:
dsn_buf.h:27
BOUNCE_LOG::buf
VSTRING * buf
Definition:
bounce_log.h:32
BOUNCE_LOG
Definition:
bounce_log.h:30
rcpt_buf.h
vstream.h
bounce_log_delrcpt
BOUNCE_LOG * bounce_log_delrcpt(BOUNCE_LOG *)
BOUNCE_LOG::compat_action
char * compat_action
Definition:
bounce_log.h:34
RCPT_BUF
Definition:
rcpt_buf.h:29
dsn_buf.h
2018年11月10日(土) 18時59分35秒作成 - Postfix3.3.1 / 構成:
1.8.9.1