#include "macro.h"
#include "util.h"
Go to the source code of this file.
Functions | |
char * | MACRO_expand (peer_info_t *peer_info, const char *s) |
char * | MACRO_process (peer_info_t *peer_info, char *macro, const size_t size) |
char * | MACRO_eatmore (char *macro, char *s) |
SPF_BOOL | MACRO_addbuf (strbuf_t *master, char *s, size_t size) |
|
Definition at line 617 of file macro.c. References strbuf_s::elements, FALSE, strbuf_s::head, strbuf_node_s::len, strbuf_node_s::next, strbuf_node_s::s, SPF_BOOL, TRUE, xeprintf, xmalloc, and xvprintf. Referenced by MACRO_expand(). |
|
Definition at line 484 of file macro.c. References TRUE, UTIL_count_delim(), UTIL_is_spf_delim(), UTIL_reverse(), UTIL_split_strr(), xeprintf, xfree, xmalloc, xprintf, xstrndup, and xvprintf. Referenced by MACRO_process(). |
|
Definition at line 68 of file macro.c. References strbuf_s::elements, FALSE, strbuf_s::head, strbuf_node_s::len, MACRO_addbuf(), MACRO_process(), strbuf_node_s::s, strbuf_node_t, strbuf_t, UTIL_index(), xeprintf, xfree, xmalloc, xprintf, xstrndup, and xvprintf. Referenced by SPF_get_explain(), SPF_parse_policy(), and SPF_policy_main_rec(). |
|
Definition at line 295 of file macro.c. References peer_info_s::cur_dom, peer_info_s::cur_eaddr, peer_info_s::ehlo, FALSE, peer_info_s::helo, peer_info_s::ip_ver, peer_info_s::local_part, MACRO_eatmore(), peer_info_s::mta_hname, peer_info_s::r_ip, peer_info_s::r_vhname, peer_info_s::utc_time, UTC_TIME, UTIL_validate_ptr(), xeprintf, xfree, xmalloc, xprintf, xstrndup, and xvprintf. Referenced by MACRO_expand(). |