Postfix3.3.1
マクロ定義 | 関数 | 変数
qmgr_message.c ファイル
#include <sys_defs.h>
#include <sys/stat.h>
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <errno.h>
#include <unistd.h>
#include <string.h>
#include <ctype.h>
#include <msg.h>
#include <mymalloc.h>
#include <vstring.h>
#include <vstream.h>
#include <split_at.h>
#include <valid_hostname.h>
#include <argv.h>
#include <stringops.h>
#include <myflock.h>
#include <sane_time.h>
#include <dict.h>
#include <mail_queue.h>
#include <mail_params.h>
#include <canon_addr.h>
#include <record.h>
#include <rec_type.h>
#include <sent.h>
#include <deliver_completed.h>
#include <opened.h>
#include <verp_sender.h>
#include <mail_proto.h>
#include <qmgr_user.h>
#include <split_addr.h>
#include <dsn_mask.h>
#include <rec_attr_map.h>
#include <rewrite_clnt.h>
#include <resolve_clnt.h>
#include "qmgr.h"

[ソースコード]

マクロ定義

#define QMGR_REDIRECT(rp, tp, np)
 
#define STREQ(x, y)   (strcmp(x,y) == 0)
 
#define STR   vstring_str
 
#define LEN   VSTRING_LEN
 
#define FILTER_WITHOUT_NEXTHOP(filter, next)   (((next) = split_at((filter), ':')) == 0 || *(next) == 0)
 
#define RCPT_WITHOUT_DOMAIN(rcpt, next)   ((next = strrchr(rcpt, '@')) == 0 || *++(next) == 0)
 
#define LIMIT_OK(limit, count)   ((limit) == 0 || ((count) < (limit)))
 
#define QMGR_LOCK_MODE   (MYFLOCK_OP_EXCLUSIVE | MYFLOCK_OP_NOWAIT)
 

関数

void qmgr_message_update_warn (QMGR_MESSAGE *message)
 
void qmgr_message_kill_record (QMGR_MESSAGE *message, long offset)
 
void qmgr_message_free (QMGR_MESSAGE *message)
 
QMGR_MESSAGEqmgr_message_alloc (const char *queue_name, const char *queue_id, int qflags, mode_t mode)
 
QMGR_MESSAGEqmgr_message_realloc (QMGR_MESSAGE *message)
 

変数

int qmgr_message_count
 
int qmgr_recipient_count
 
int qmgr_vrfy_pend_count
 

マクロ定義詳解

#define FILTER_WITHOUT_NEXTHOP (   filter,
  next 
)    (((next) = split_at((filter), ':')) == 0 || *(next) == 0)
#define LEN   VSTRING_LEN
#define LIMIT_OK (   limit,
  count 
)    ((limit) == 0 || ((count) < (limit)))
#define QMGR_LOCK_MODE   (MYFLOCK_OP_EXCLUSIVE | MYFLOCK_OP_NOWAIT)
#define QMGR_REDIRECT (   rp,
  tp,
  np 
)
値:
do { \
(rp)->flags = 0; \
vstring_strcpy((rp)->transport, (tp)); \
vstring_strcpy((rp)->nexthop, (np)); \
} while (0)
VSTRING * vstring_strcpy(VSTRING *vp, const char *src)
Definition: vstring.c:431
#define RCPT_WITHOUT_DOMAIN (   rcpt,
  next 
)    ((next = strrchr(rcpt, '@')) == 0 || *++(next) == 0)
#define STR   vstring_str
#define STREQ (   x,
 
)    (strcmp(x,y) == 0)

関数詳解

QMGR_MESSAGE* qmgr_message_alloc ( const char *  queue_name,
const char *  queue_id,
int  qflags,
mode_t  mode 
)

qmgr_message.c1468 行目に定義があります。

void qmgr_message_free ( QMGR_MESSAGE message)

qmgr_message.c1413 行目に定義があります。

void qmgr_message_kill_record ( QMGR_MESSAGE message,
long  offset 
)

qmgr_message.c925 行目に定義があります。

QMGR_MESSAGE* qmgr_message_realloc ( QMGR_MESSAGE message)

qmgr_message.c1538 行目に定義があります。

void qmgr_message_update_warn ( QMGR_MESSAGE message)

qmgr_message.c907 行目に定義があります。

変数詳解

int qmgr_message_count

qmgr_message.c159 行目に定義があります。

int qmgr_recipient_count

qmgr_message.c160 行目に定義があります。

int qmgr_vrfy_pend_count

qmgr_message.c161 行目に定義があります。