Postfix3.3.1
マクロ定義 | 関数
bounce_log.c ファイル
#include <sys_defs.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h>
#include <stdlib.h>
#include <msg.h>
#include <mymalloc.h>
#include <vstream.h>
#include <vstring.h>
#include <vstring_vstream.h>
#include <stringops.h>
#include <mail_params.h>
#include <mail_proto.h>
#include <mail_queue.h>
#include <dsn_mask.h>
#include <bounce_log.h>

[ソースコード]

マクロ定義

#define STR(x)   vstring_str(x)
 
#define STREQ(x, y)   (strcmp((x),(y)) == 0)
 
#define START   0 /* still searching */
 
#define FOUND   1 /* in logfile entry */
 
#define BUF_NODATA(buf)   (STR(buf)[0] == 0)
 
#define BUF_ASSIGN(buf, text)   vstring_strcpy((buf), (text))
 

関数

BOUNCE_LOGbounce_log_open (const char *queue_name, const char *queue_id, int flags, mode_t mode)
 
BOUNCE_LOGbounce_log_read (BOUNCE_LOG *bp, RCPT_BUF *rcpt_buf, DSN_BUF *dsn_buf)
 
int bounce_log_close (BOUNCE_LOG *bp)
 

マクロ定義詳解

#define BUF_ASSIGN (   buf,
  text 
)    vstring_strcpy((buf), (text))
#define BUF_NODATA (   buf)    (STR(buf)[0] == 0)
#define FOUND   1 /* in logfile entry */
#define START   0 /* still searching */
#define STR (   x)    vstring_str(x)

bounce_log.c110 行目に定義があります。

#define STREQ (   x,
 
)    (strcmp((x),(y)) == 0)

関数詳解

int bounce_log_close ( BOUNCE_LOG bp)

bounce_log.c305 行目に定義があります。

BOUNCE_LOG* bounce_log_open ( const char *  queue_name,
const char *  queue_id,
int  flags,
mode_t  mode 
)

bounce_log.c114 行目に定義があります。

BOUNCE_LOG* bounce_log_read ( BOUNCE_LOG bp,
RCPT_BUF rcpt_buf,
DSN_BUF dsn_buf 
)

bounce_log.c147 行目に定義があります。