Postfix3.3.1
マクロ定義 | 関数
match_list.c ファイル
#include <sys_defs.h>
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
#include <stdlib.h>
#include <stdarg.h>
#include <msg.h>
#include <mymalloc.h>
#include <vstring.h>
#include <vstream.h>
#include <vstring_vstream.h>
#include <stringops.h>
#include <argv.h>
#include <dict.h>
#include <match_list.h>

[ソースコード]

マクロ定義

#define MATCH_DICTIONARY(pattern)   ((pattern)[0] != '[' && strchr((pattern), ':') != 0)
 
#define OPEN_FLAGS   O_RDONLY
 
#define DICT_FLAGS   (DICT_FLAG_LOCK | DICT_FLAG_UTF8_REQUEST)
 
#define STR(x)   vstring_str(x)
 
#define DO_MATCH   1
 

関数

MATCH_LISTmatch_list_init (const char *pname, int flags, const char *patterns, int match_count,...)
 
int match_list_match (MATCH_LIST *list,...)
 
void match_list_free (MATCH_LIST *list)
 

マクロ定義詳解

#define DICT_FLAGS   (DICT_FLAG_LOCK | DICT_FLAG_UTF8_REQUEST)
#define DO_MATCH   1
#define MATCH_DICTIONARY (   pattern)    ((pattern)[0] != '[' && strchr((pattern), ':') != 0)

match_list.c112 行目に定義があります。

#define OPEN_FLAGS   O_RDONLY
#define STR (   x)    vstring_str(x)

関数詳解

void match_list_free ( MATCH_LIST list)

match_list.c272 行目に定義があります。

MATCH_LIST* match_list_init ( const char *  pname,
int  flags,
const char *  patterns,
int  match_count,
  ... 
)

match_list.c197 行目に定義があります。

int match_list_match ( MATCH_LIST list,
  ... 
)

match_list.c235 行目に定義があります。