|
Postfix3.3.1
|
#include <sys_defs.h>#include <netinet/in.h>#include <arpa/inet.h>#include <string.h>#include <stdlib.h>#include <msg.h>#include <mymalloc.h>#include <split_at.h>#include <dict.h>#include <match_list.h>#include <stringops.h>#include <cidr_match.h>マクロ定義 | |
| #define | MATCH_DICTIONARY(pattern) ((pattern)[0] != '[' && strchr((pattern), ':') != 0) |
| #define | V4_ADDR_STRING_CHARS "01234567890." |
| #define | V6_ADDR_STRING_CHARS V4_ADDR_STRING_CHARS "abcdefABCDEF:" |
関数 | |
| int | match_string (MATCH_LIST *list, const char *string, const char *pattern) |
| int | match_hostname (MATCH_LIST *list, const char *name, const char *pattern) |
| int | match_hostaddr (MATCH_LIST *list, const char *addr, const char *pattern) |
| #define MATCH_DICTIONARY | ( | pattern | ) | ((pattern)[0] != '[' && strchr((pattern), ':') != 0) |
match_ops.c の 86 行目に定義があります。
| #define V4_ADDR_STRING_CHARS "01234567890." |
| #define V6_ADDR_STRING_CHARS V4_ADDR_STRING_CHARS "abcdefABCDEF:" |
| int match_hostaddr | ( | MATCH_LIST * | list, |
| const char * | addr, | ||
| const char * | pattern | ||
| ) |
match_ops.c の 221 行目に定義があります。
| int match_hostname | ( | MATCH_LIST * | list, |
| const char * | name, | ||
| const char * | pattern | ||
| ) |
match_ops.c の 151 行目に定義があります。
| int match_string | ( | MATCH_LIST * | list, |
| const char * | string, | ||
| const char * | pattern | ||
| ) |
match_ops.c の 113 行目に定義があります。
1.8.9.1