Postfix3.3.1
データ構造 | マクロ定義 | 関数 | 変数
pipe.c ファイル
#include <sys_defs.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <pwd.h>
#include <grp.h>
#include <fcntl.h>
#include <ctype.h>
#include <msg.h>
#include <vstream.h>
#include <vstring.h>
#include <argv.h>
#include <htable.h>
#include <dict.h>
#include <iostuff.h>
#include <mymalloc.h>
#include <mac_parse.h>
#include <set_eugid.h>
#include <split_at.h>
#include <stringops.h>
#include <recipient_list.h>
#include <deliver_request.h>
#include <mail_params.h>
#include <mail_version.h>
#include <mail_conf.h>
#include <bounce.h>
#include <defer.h>
#include <deliver_completed.h>
#include <sent.h>
#include <pipe_command.h>
#include <mail_copy.h>
#include <mail_addr.h>
#include <canon_addr.h>
#include <split_addr.h>
#include <off_cvt.h>
#include <quote_822_local.h>
#include <flush_clnt.h>
#include <dsn_util.h>
#include <dsn_buf.h>
#include <sys_exits.h>
#include <delivered_hdr.h>
#include <fold_addr.h>
#include <mail_parm_split.h>
#include <mail_server.h>

[ソースコード]

データ構造

struct  PIPE_PARAMS
 
struct  PIPE_ATTR
 
struct  PIPE_STATE
 

マクロ定義

#define PIPE_DICT_TABLE   "pipe_command" /* table name */
 
#define PIPE_DICT_NEXTHOP   "nexthop" /* key */
 
#define PIPE_DICT_RCPT   "recipient" /* key */
 
#define PIPE_DICT_ORIG_RCPT   "original_recipient" /* key */
 
#define PIPE_DICT_SENDER   "sender"/* key */
 
#define PIPE_DICT_USER   "user" /* key */
 
#define PIPE_DICT_EXTENSION   "extension" /* key */
 
#define PIPE_DICT_MAILBOX   "mailbox" /* key */
 
#define PIPE_DICT_DOMAIN   "domain"/* key */
 
#define PIPE_DICT_SIZE   "size" /* key */
 
#define PIPE_DICT_CLIENT_ADDR   "client_address" /* key */
 
#define PIPE_DICT_CLIENT_NAME   "client_hostname" /* key */
 
#define PIPE_DICT_CLIENT_PORT   "client_port" /* key */
 
#define PIPE_DICT_CLIENT_PROTO   "client_protocol" /* key */
 
#define PIPE_DICT_CLIENT_HELO   "client_helo" /* key */
 
#define PIPE_DICT_SASL_METHOD   "sasl_method" /* key */
 
#define PIPE_DICT_SASL_USERNAME   "sasl_username" /* key */
 
#define PIPE_DICT_SASL_SENDER   "sasl_sender" /* key */
 
#define PIPE_DICT_QUEUE_ID   "queue_id" /* key */
 
#define PIPE_FLAG_RCPT   (1<<0)
 
#define PIPE_FLAG_USER   (1<<1)
 
#define PIPE_FLAG_EXTENSION   (1<<2)
 
#define PIPE_FLAG_MAILBOX   (1<<3)
 
#define PIPE_FLAG_DOMAIN   (1<<4)
 
#define PIPE_FLAG_ORIG_RCPT   (1<<5)
 
#define PIPE_OPT_FOLD_BASE   (16)
 
#define PIPE_OPT_FOLD_USER   (FOLD_ADDR_USER << PIPE_OPT_FOLD_BASE)
 
#define PIPE_OPT_FOLD_HOST   (FOLD_ADDR_HOST << PIPE_OPT_FOLD_BASE)
 
#define PIPE_OPT_QUOTE_LOCAL   (1 << (PIPE_OPT_FOLD_BASE + 2))
 
#define PIPE_OPT_FINAL_DELIVERY   (1 << (PIPE_OPT_FOLD_BASE + 3))
 
#define PIPE_OPT_FOLD_ALL   (FOLD_ADDR_ALL << PIPE_OPT_FOLD_BASE)
 
#define PIPE_OPT_FOLD_FLAGS(f)   (((f) & PIPE_OPT_FOLD_ALL) >> PIPE_OPT_FOLD_BASE)
 
#define STR   vstring_str
 
#define NO   0
 
#define EARLY_RETURN(x)   { argv_free(result); vstring_free(buf); return (x); }
 
#define DELIVER_MSG_CLEANUP()
 

関数

int main (int argc, char **argv)
 

変数

int var_command_maxtime
 
char * var_pipe_dsn_filter
 
 MAIL_VERSION_STAMP_DECLARE
 

マクロ定義詳解

#define DELIVER_MSG_CLEANUP ( )
値:
{ \
dsb_free(why); \
if (expanded_argv) argv_free(expanded_argv); \
}
ARGV * argv_free(ARGV *argvp)
Definition: argv.c:136
void dsb_free(DSN_BUF *dsb)
Definition: dsn_buf.c:190
#define EARLY_RETURN (   x)    { argv_free(result); vstring_free(buf); return (x); }
#define NO   0
#define PIPE_DICT_CLIENT_ADDR   "client_address" /* key */

pipe.c531 行目に定義があります。

#define PIPE_DICT_CLIENT_HELO   "client_helo" /* key */

pipe.c535 行目に定義があります。

#define PIPE_DICT_CLIENT_NAME   "client_hostname" /* key */

pipe.c532 行目に定義があります。

#define PIPE_DICT_CLIENT_PORT   "client_port" /* key */

pipe.c533 行目に定義があります。

#define PIPE_DICT_CLIENT_PROTO   "client_protocol" /* key */

pipe.c534 行目に定義があります。

#define PIPE_DICT_DOMAIN   "domain"/* key */

pipe.c529 行目に定義があります。

#define PIPE_DICT_EXTENSION   "extension" /* key */

pipe.c527 行目に定義があります。

#define PIPE_DICT_MAILBOX   "mailbox" /* key */

pipe.c528 行目に定義があります。

#define PIPE_DICT_NEXTHOP   "nexthop" /* key */

pipe.c522 行目に定義があります。

#define PIPE_DICT_ORIG_RCPT   "original_recipient" /* key */

pipe.c524 行目に定義があります。

#define PIPE_DICT_QUEUE_ID   "queue_id" /* key */

pipe.c539 行目に定義があります。

#define PIPE_DICT_RCPT   "recipient" /* key */

pipe.c523 行目に定義があります。

#define PIPE_DICT_SASL_METHOD   "sasl_method" /* key */

pipe.c536 行目に定義があります。

#define PIPE_DICT_SASL_SENDER   "sasl_sender" /* key */

pipe.c538 行目に定義があります。

#define PIPE_DICT_SASL_USERNAME   "sasl_username" /* key */

pipe.c537 行目に定義があります。

#define PIPE_DICT_SENDER   "sender"/* key */

pipe.c525 行目に定義があります。

#define PIPE_DICT_SIZE   "size" /* key */

pipe.c530 行目に定義があります。

#define PIPE_DICT_TABLE   "pipe_command" /* table name */

pipe.c521 行目に定義があります。

#define PIPE_DICT_USER   "user" /* key */

pipe.c526 行目に定義があります。

#define PIPE_FLAG_DOMAIN   (1<<4)

pipe.c549 行目に定義があります。

#define PIPE_FLAG_EXTENSION   (1<<2)

pipe.c547 行目に定義があります。

#define PIPE_FLAG_MAILBOX   (1<<3)

pipe.c548 行目に定義があります。

#define PIPE_FLAG_ORIG_RCPT   (1<<5)

pipe.c550 行目に定義があります。

#define PIPE_FLAG_RCPT   (1<<0)

pipe.c545 行目に定義があります。

#define PIPE_FLAG_USER   (1<<1)

pipe.c546 行目に定義があります。

#define PIPE_OPT_FINAL_DELIVERY   (1 << (PIPE_OPT_FOLD_BASE + 3))

pipe.c560 行目に定義があります。

#define PIPE_OPT_FOLD_ALL   (FOLD_ADDR_ALL << PIPE_OPT_FOLD_BASE)

pipe.c562 行目に定義があります。

#define PIPE_OPT_FOLD_BASE   (16)

pipe.c556 行目に定義があります。

#define PIPE_OPT_FOLD_FLAGS (   f)    (((f) & PIPE_OPT_FOLD_ALL) >> PIPE_OPT_FOLD_BASE)

pipe.c563 行目に定義があります。

#define PIPE_OPT_FOLD_HOST   (FOLD_ADDR_HOST << PIPE_OPT_FOLD_BASE)

pipe.c558 行目に定義があります。

#define PIPE_OPT_FOLD_USER   (FOLD_ADDR_USER << PIPE_OPT_FOLD_BASE)

pipe.c557 行目に定義があります。

#define PIPE_OPT_QUOTE_LOCAL   (1 << (PIPE_OPT_FOLD_BASE + 2))

pipe.c559 行目に定義があります。

#define STR   vstring_str

pipe.c615 行目に定義があります。

関数詳解

int main ( int  argc,
char **  argv 
)

pipe.c1364 行目に定義があります。

変数詳解

MAIL_VERSION_STAMP_DECLARE

pipe.c1360 行目に定義があります。

int var_command_maxtime

pipe.c570 行目に定義があります。

char* var_pipe_dsn_filter

pipe.c575 行目に定義があります。