Postfix3.3.1
マクロ定義 | 関数
transport.c ファイル
#include <sys_defs.h>
#include <string.h>
#include <msg.h>
#include <stringops.h>
#include <mymalloc.h>
#include <vstring.h>
#include <split_at.h>
#include <dict.h>
#include <events.h>
#include <strip_addr.h>
#include <mail_params.h>
#include <mail_addr_find.h>
#include <match_parent_style.h>
#include <mail_proto.h>
#include "transport.h"

[ソースコード]

マクロ定義

#define STR(x)   vstring_str(x)
 
#define FOUND   1
 
#define NOTFOUND   0
 
#define WILDCARD   "*"
 
#define FULL   0
 
#define PARTIAL   DICT_FLAG_FIXED
 
#define STREQ(x, y)   (strcmp((x), (y)) == 0)
 
#define DISCARD_EXTENSION   ((char **) 0)
 
#define LOOKUP_STRATEGY
 

関数

TRANSPORT_INFOtransport_pre_init (const char *transport_maps_name, const char *transport_maps)
 
void transport_post_init (TRANSPORT_INFO *tp)
 
void transport_free (TRANSPORT_INFO *tp)
 
int transport_lookup (TRANSPORT_INFO *tp, const char *addr, const char *rcpt_domain, VSTRING *channel, VSTRING *nexthop)
 

マクロ定義詳解

#define DISCARD_EXTENSION   ((char **) 0)
#define FOUND   1
#define FULL   0
#define LOOKUP_STRATEGY
値:
(transport_match_parent_style == MATCH_FLAG_PARENT ? \
#define MA_FIND_NOEXT
#define MA_FIND_FULL
#define MATCH_FLAG_PARENT
Definition: match_list.h:39
#define MA_FIND_PDDMDS
#define MA_FIND_PDMS
#define MA_FIND_DOMAIN
#define NOTFOUND   0
#define PARTIAL   DICT_FLAG_FIXED
#define STR (   x)    vstring_str(x)

transport.c93 行目に定義があります。

#define STREQ (   x,
 
)    (strcmp((x), (y)) == 0)
#define WILDCARD   "*"

関数詳解

void transport_free ( TRANSPORT_INFO tp)

transport.c125 行目に定義があります。

int transport_lookup ( TRANSPORT_INFO tp,
const char *  addr,
const char *  rcpt_domain,
VSTRING channel,
VSTRING nexthop 
)

transport.c245 行目に定義があります。

void transport_post_init ( TRANSPORT_INFO tp)

transport.c117 行目に定義があります。

TRANSPORT_INFO* transport_pre_init ( const char *  transport_maps_name,
const char *  transport_maps 
)

transport.c99 行目に定義があります。