| 1 |
root |
1.1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
| 2 |
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> |
| 3 |
|
|
<title>libSPF v1.0: main.c File Reference</title> |
| 4 |
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css"> |
| 5 |
|
|
</head><body> |
| 6 |
|
|
<!-- Generated by Doxygen 1.3.8 --> |
| 7 |
|
|
<div class="qindex"> <form class="search" action="search.php" method="get"> |
| 8 |
|
|
<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> |
| 9 |
|
|
<h1>main.c File Reference</h1><code>#include "../../config.h"</code><br> |
| 10 |
|
|
<code>#include "<a class="el" href="main_8h-source.html">main.h</a>"</code><br> |
| 11 |
|
|
<code>#include "<a class="el" href="util_8h-source.html">util.h</a>"</code><br> |
| 12 |
|
|
<code>#include "<a class="el" href="dns_8h-source.html">dns.h</a>"</code><br> |
| 13 |
|
|
<code>#include "<a class="el" href="macro_8h-source.html">macro.h</a>"</code><br> |
| 14 |
|
|
|
| 15 |
|
|
<p> |
| 16 |
|
|
Include dependency graph for main.c:<p><center><img src="main_8c__incl.png" border="0" usemap="#main.c_map" alt="Include dependency graph"></center> |
| 17 |
|
|
<map name="main.c_map"> |
| 18 |
|
|
<area href="main_8h.html" shape="rect" coords="57,86,108,105" alt=""> |
| 19 |
|
|
<area href="util_8h.html" shape="rect" coords="115,155,152,174" alt=""> |
| 20 |
|
|
<area href="dns_8h.html" shape="rect" coords="176,155,219,174" alt=""> |
| 21 |
|
|
<area href="macro_8h.html" shape="rect" coords="233,86,292,105" alt=""> |
| 22 |
|
|
</map> |
| 23 |
|
|
|
| 24 |
|
|
<p> |
| 25 |
|
|
<a href="main_8c-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> |
| 26 |
|
|
<tr><td></td></tr> |
| 27 |
|
|
<tr><td colspan=2><br><h2>Functions</h2></td></tr> |
| 28 |
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="spf_8h.html#a35">SPF_BOOL</a> </td><td class="memItemRight" valign=bottom><a class="el" href="main_8c.html#a2">_SPF_clear_holdbufs</a> (<a class="el" href="structpeer__info__s.html">peer_info_t</a> *)</td></tr> |
| 29 |
|
|
|
| 30 |
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structpeer__info__s.html">peer_info_t</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="main_8c.html#a3">SPF_init</a> (const char *local, const char *rip, const char *expl, const char *tf, const char *guess, u_int32_t use_trust, u_int32_t use_guess)</td></tr> |
| 31 |
|
|
|
| 32 |
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structpeer__info__s.html">peer_info_t</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="main_8c.html#a4">SPF_close</a> (<a class="el" href="structpeer__info__s.html">peer_info_t</a> *p)</td></tr> |
| 33 |
|
|
|
| 34 |
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="spf_8h.html#a36">SPF_RESULT</a> </td><td class="memItemRight" valign=bottom><a class="el" href="main_8c.html#a5">SPF_policy_main</a> (<a class="el" href="structpeer__info__s.html">peer_info_t</a> *p)</td></tr> |
| 35 |
|
|
|
| 36 |
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="spf_8h.html#a36">SPF_RESULT</a> </td><td class="memItemRight" valign=bottom><a class="el" href="main_8c.html#a6">SPF_policy_main_rec</a> (<a class="el" href="structpeer__info__s.html">peer_info_t</a> *p)</td></tr> |
| 37 |
|
|
|
| 38 |
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="spf_8h.html#a35">SPF_BOOL</a> </td><td class="memItemRight" valign=bottom><a class="el" href="main_8c.html#a7">SPF_parse_policy</a> (<a class="el" href="structpeer__info__s.html">peer_info_t</a> *p, const char *policy)</td></tr> |
| 39 |
|
|
|
| 40 |
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top>char * </td><td class="memItemRight" valign=bottom><a class="el" href="main_8c.html#a8">SPF_result</a> (<a class="el" href="structpeer__info__s.html">peer_info_t</a> *p)</td></tr> |
| 41 |
|
|
|
| 42 |
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top>char * </td><td class="memItemRight" valign=bottom><a class="el" href="main_8c.html#a9">SPF_get_explain</a> (<a class="el" href="structpeer__info__s.html">peer_info_t</a> *p)</td></tr> |
| 43 |
|
|
|
| 44 |
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top>char * </td><td class="memItemRight" valign=bottom><a class="el" href="main_8c.html#a10">SPF_build_header</a> (<a class="el" href="structpeer__info__s.html">peer_info_t</a> *p)</td></tr> |
| 45 |
|
|
|
| 46 |
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="spf_8h.html#a35">SPF_BOOL</a> </td><td class="memItemRight" valign=bottom><a class="el" href="main_8c.html#a11">SPF_smtp_helo</a> (<a class="el" href="structpeer__info__s.html">peer_info_t</a> *p, const char *s)</td></tr> |
| 47 |
|
|
|
| 48 |
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="spf_8h.html#a35">SPF_BOOL</a> </td><td class="memItemRight" valign=bottom><a class="el" href="main_8c.html#a12">SPF_smtp_from</a> (<a class="el" href="structpeer__info__s.html">peer_info_t</a> *p, const char *s)</td></tr> |
| 49 |
|
|
|
| 50 |
|
|
<tr><td colspan=2><br><h2>Variables</h2></td></tr> |
| 51 |
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="structspf__config__s.html">spf_config_t</a> </td><td class="memItemRight" valign=bottom><a class="el" href="main_8c.html#a0">confg</a></td></tr> |
| 52 |
|
|
|
| 53 |
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="main_8c.html#a1">h_errno</a></td></tr> |
| 54 |
|
|
|
| 55 |
|
|
</table> |
| 56 |
|
|
<hr><h2>Function Documentation</h2> |
| 57 |
|
|
<a class="anchor" name="a2" doxytag="main.c::_SPF_clear_holdbufs" ></a><p> |
| 58 |
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| 59 |
|
|
<tr> |
| 60 |
|
|
<td class="mdRow"> |
| 61 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
| 62 |
|
|
<tr> |
| 63 |
|
|
<td class="md" nowrap valign="top"> <a class="el" href="spf_8h.html#a35">SPF_BOOL</a> _SPF_clear_holdbufs </td> |
| 64 |
|
|
<td class="md" valign="top">( </td> |
| 65 |
|
|
<td class="md" nowrap valign="top"><a class="el" href="structpeer__info__s.html">peer_info_t</a> * </td> |
| 66 |
|
|
<td class="mdname1" valign="top" nowrap> </td> |
| 67 |
|
|
<td class="md" valign="top"> ) </td> |
| 68 |
|
|
<td class="md" nowrap><code> [static]</code></td> |
| 69 |
|
|
</tr> |
| 70 |
|
|
</table> |
| 71 |
|
|
</td> |
| 72 |
|
|
</tr> |
| 73 |
|
|
</table> |
| 74 |
|
|
<table cellspacing=5 cellpadding=0 border=0> |
| 75 |
|
|
<tr> |
| 76 |
|
|
<td> |
| 77 |
|
|
|
| 78 |
|
|
</td> |
| 79 |
|
|
<td> |
| 80 |
|
|
|
| 81 |
|
|
<p> |
| 82 |
|
|
Definition at line <a class="el" href="main_8c-source.html#l01564">1564</a> of file <a class="el" href="main_8c-source.html">main.c</a>. |
| 83 |
|
|
<p> |
| 84 |
|
|
References <a class="el" href="spf_8h-source.html#l00373">peer_info_s::cname_buf</a>, <a class="el" href="spf_8h-source.html#l00374">peer_info_s::include_buf</a>, <a class="el" href="spf_8h.html#a46">peer_info_t</a>, <a class="el" href="spf_8h-source.html#l00375">peer_info_s::redirect_buf</a>, <a class="el" href="spf_8h.html#a35">SPF_BOOL</a>, <a class="el" href="spf_8h.html#a87a49">SPF_FALSE</a>, <a class="el" href="spf_8h.html#a87a50">SPF_TRUE</a>, <a class="el" href="util_8h-source.html#l00154">xepprintf</a>, and <a class="el" href="util_8h-source.html#l00127">xfree</a>. |
| 85 |
|
|
<p> |
| 86 |
|
|
Referenced by <a class="el" href="main_8c-source.html#l00399">SPF_policy_main()</a>. </td> |
| 87 |
|
|
</tr> |
| 88 |
|
|
</table> |
| 89 |
|
|
<a class="anchor" name="a10" doxytag="main.c::SPF_build_header" ></a><p> |
| 90 |
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| 91 |
|
|
<tr> |
| 92 |
|
|
<td class="mdRow"> |
| 93 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
| 94 |
|
|
<tr> |
| 95 |
|
|
<td class="md" nowrap valign="top"> char* SPF_build_header </td> |
| 96 |
|
|
<td class="md" valign="top">( </td> |
| 97 |
|
|
<td class="md" nowrap valign="top"><a class="el" href="structpeer__info__s.html">peer_info_t</a> * </td> |
| 98 |
|
|
<td class="mdname1" valign="top" nowrap> <em>p</em> </td> |
| 99 |
|
|
<td class="md" valign="top"> ) </td> |
| 100 |
|
|
<td class="md" nowrap></td> |
| 101 |
|
|
</tr> |
| 102 |
|
|
</table> |
| 103 |
|
|
</td> |
| 104 |
|
|
</tr> |
| 105 |
|
|
</table> |
| 106 |
|
|
<table cellspacing=5 cellpadding=0 border=0> |
| 107 |
|
|
<tr> |
| 108 |
|
|
<td> |
| 109 |
|
|
|
| 110 |
|
|
</td> |
| 111 |
|
|
<td> |
| 112 |
|
|
|
| 113 |
|
|
<p> |
| 114 |
|
|
Definition at line <a class="el" href="main_8c-source.html#l01342">1342</a> of file <a class="el" href="main_8c-source.html">main.c</a>. |
| 115 |
|
|
<p> |
| 116 |
|
|
References <a class="el" href="spf_8h-source.html#l00349">peer_info_s::current_domain</a>, <a class="el" href="spf_8h-source.html#l00359">peer_info_s::error</a>, <a class="el" href="spf_8h-source.html#l00344">peer_info_s::from</a>, <a class="el" href="spf_8h-source.html#l00358">peer_info_s::last_m</a>, <a class="el" href="spf_8h-source.html#l00350">peer_info_s::mta_hname</a>, <a class="el" href="spf_8h.html#a46">peer_info_t</a>, <a class="el" href="spf_8h-source.html#l00351">peer_info_s::r_ip</a>, <a class="el" href="spf_8h-source.html#l00332">peer_info_s::RES</a>, <a class="el" href="spf_8h.html#a88a55">SPF_ERROR</a>, <a class="el" href="spf_8h.html#a88a54">SPF_H_FAIL</a>, <a class="el" href="spf_8h-source.html#l00091">SPF_MAX_HEADER</a>, <a class="el" href="spf_8h.html#a88a56">SPF_NEUTRAL</a>, <a class="el" href="spf_8h.html#a88a52">SPF_NONE</a>, <a class="el" href="spf_8h.html#a88a51">SPF_PASS</a>, <a class="el" href="spf_8h-source.html#l00361">peer_info_s::spf_result</a>, <a class="el" href="spf_8h.html#a88a53">SPF_S_FAIL</a>, <a class="el" href="spf_8h.html#a88a57">SPF_UNKNOWN</a>, <a class="el" href="spf_8h.html#a88a58">SPF_UNMECH</a>, <a class="el" href="util_8h-source.html#l00125">xmalloc</a>, and <a class="el" href="util_8h-source.html#l00142">xvprintf</a>. </td> |
| 117 |
|
|
</tr> |
| 118 |
|
|
</table> |
| 119 |
|
|
<a class="anchor" name="a4" doxytag="main.c::SPF_close" ></a><p> |
| 120 |
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| 121 |
|
|
<tr> |
| 122 |
|
|
<td class="mdRow"> |
| 123 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
| 124 |
|
|
<tr> |
| 125 |
|
|
<td class="md" nowrap valign="top"> <a class="el" href="structpeer__info__s.html">peer_info_t</a>* SPF_close </td> |
| 126 |
|
|
<td class="md" valign="top">( </td> |
| 127 |
|
|
<td class="md" nowrap valign="top"><a class="el" href="structpeer__info__s.html">peer_info_t</a> * </td> |
| 128 |
|
|
<td class="mdname1" valign="top" nowrap> <em>p</em> </td> |
| 129 |
|
|
<td class="md" valign="top"> ) </td> |
| 130 |
|
|
<td class="md" nowrap></td> |
| 131 |
|
|
</tr> |
| 132 |
|
|
</table> |
| 133 |
|
|
</td> |
| 134 |
|
|
</tr> |
| 135 |
|
|
</table> |
| 136 |
|
|
<table cellspacing=5 cellpadding=0 border=0> |
| 137 |
|
|
<tr> |
| 138 |
|
|
<td> |
| 139 |
|
|
|
| 140 |
|
|
</td> |
| 141 |
|
|
<td> |
| 142 |
|
|
|
| 143 |
|
|
<p> |
| 144 |
|
|
Definition at line <a class="el" href="main_8c-source.html#l00313">313</a> of file <a class="el" href="main_8c-source.html">main.c</a>. |
| 145 |
|
|
<p> |
| 146 |
|
|
References <a class="el" href="spf_8h-source.html#l00353">peer_info_s::cur_eaddr</a>, <a class="el" href="spf_8h-source.html#l00349">peer_info_s::current_domain</a>, <a class="el" href="spf_8h-source.html#l00345">peer_info_s::explain</a>, <a class="el" href="spf_8h-source.html#l00344">peer_info_s::from</a>, <a class="el" href="spf_8h-source.html#l00346">peer_info_s::guess</a>, <a class="el" href="spf_8h-source.html#l00342">peer_info_s::helo</a>, <a class="el" href="spf_8h-source.html#l00350">peer_info_s::mta_hname</a>, <a class="el" href="spf_8h.html#a46">peer_info_t</a>, <a class="el" href="spf_8h-source.html#l00348">peer_info_s::ptr_mhost</a>, <a class="el" href="spf_8h-source.html#l00351">peer_info_s::r_ip</a>, <a class="el" href="spf_8h-source.html#l00352">peer_info_s::r_vhname</a>, <a class="el" href="spf_8h-source.html#l00347">peer_info_s::trusted</a>, <a class="el" href="util_8h-source.html#l00154">xepprintf</a>, and <a class="el" href="util_8h-source.html#l00127">xfree</a>. |
| 147 |
|
|
<p> |
| 148 |
|
|
Referenced by <a class="el" href="main_8c-source.html#l00081">SPF_init()</a>. </td> |
| 149 |
|
|
</tr> |
| 150 |
|
|
</table> |
| 151 |
|
|
<a class="anchor" name="a9" doxytag="main.c::SPF_get_explain" ></a><p> |
| 152 |
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| 153 |
|
|
<tr> |
| 154 |
|
|
<td class="mdRow"> |
| 155 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
| 156 |
|
|
<tr> |
| 157 |
|
|
<td class="md" nowrap valign="top"> char* SPF_get_explain </td> |
| 158 |
|
|
<td class="md" valign="top">( </td> |
| 159 |
|
|
<td class="md" nowrap valign="top"><a class="el" href="structpeer__info__s.html">peer_info_t</a> * </td> |
| 160 |
|
|
<td class="mdname1" valign="top" nowrap> <em>p</em> </td> |
| 161 |
|
|
<td class="md" valign="top"> ) </td> |
| 162 |
|
|
<td class="md" nowrap></td> |
| 163 |
|
|
</tr> |
| 164 |
|
|
</table> |
| 165 |
|
|
</td> |
| 166 |
|
|
</tr> |
| 167 |
|
|
</table> |
| 168 |
|
|
<table cellspacing=5 cellpadding=0 border=0> |
| 169 |
|
|
<tr> |
| 170 |
|
|
<td> |
| 171 |
|
|
|
| 172 |
|
|
</td> |
| 173 |
|
|
<td> |
| 174 |
|
|
|
| 175 |
|
|
<p> |
| 176 |
|
|
Definition at line <a class="el" href="main_8c-source.html#l01310">1310</a> of file <a class="el" href="main_8c-source.html">main.c</a>. |
| 177 |
|
|
<p> |
| 178 |
|
|
References <a class="el" href="spf_8h-source.html#l00345">peer_info_s::explain</a>, <a class="el" href="macro_8c-source.html#l00071">MACRO_expand()</a>, <a class="el" href="spf_8h.html#a46">peer_info_t</a>, <a class="el" href="spf_8h-source.html#l00106">SPF_EXPLAIN</a>, and <a class="el" href="util_8h-source.html#l00138">xprintf</a>. |
| 179 |
|
|
<p> |
| 180 |
|
|
Here is the call graph for this function:<p><center><img src="main_8c_a9_cgraph.png" border="0" usemap="#main_8c_a9_cgraph_map" alt=""></center> |
| 181 |
|
|
<map name="main_8c_a9_cgraph_map"> |
| 182 |
|
|
<area href="macro_8h.html#a1" shape="rect" coords="183,91,297,109" alt=""> |
| 183 |
|
|
<area href="macro_8h.html#a4" shape="rect" coords="348,48,460,67" alt=""> |
| 184 |
|
|
<area href="macro_8h.html#a2" shape="rect" coords="347,91,461,109" alt=""> |
| 185 |
|
|
<area href="util_8h.html#a35" shape="rect" coords="364,133,444,152" alt=""> |
| 186 |
|
|
<area href="dns_8h.html#a13" shape="rect" coords="512,48,685,67" alt=""> |
| 187 |
|
|
<area href="macro_8h.html#a3" shape="rect" coords="540,133,657,152" alt=""> |
| 188 |
|
|
<area href="util_8h.html#a50" shape="rect" coords="764,5,865,24" alt=""> |
| 189 |
|
|
<area href="util_8h.html#a54" shape="rect" coords="736,48,893,67" alt=""> |
| 190 |
|
|
<area href="util_8h.html#a38" shape="rect" coords="756,91,873,109" alt=""> |
| 191 |
|
|
<area href="util_8h.html#a39" shape="rect" coords="755,133,875,152" alt=""> |
| 192 |
|
|
<area href="util_8h.html#a56" shape="rect" coords="769,176,860,195" alt=""> |
| 193 |
|
|
<area href="util_8h.html#a37" shape="rect" coords="767,219,863,237" alt=""> |
| 194 |
|
|
</map> |
| 195 |
|
|
</td> |
| 196 |
|
|
</tr> |
| 197 |
|
|
</table> |
| 198 |
|
|
<a class="anchor" name="a3" doxytag="main.c::SPF_init" ></a><p> |
| 199 |
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| 200 |
|
|
<tr> |
| 201 |
|
|
<td class="mdRow"> |
| 202 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
| 203 |
|
|
<tr> |
| 204 |
|
|
<td class="md" nowrap valign="top"> <a class="el" href="structpeer__info__s.html">peer_info_t</a>* SPF_init </td> |
| 205 |
|
|
<td class="md" valign="top">( </td> |
| 206 |
|
|
<td class="md" nowrap valign="top">const char * </td> |
| 207 |
|
|
<td class="mdname" nowrap> <em>local</em>, </td> |
| 208 |
|
|
</tr> |
| 209 |
|
|
<tr> |
| 210 |
|
|
<td class="md" nowrap align="right"></td> |
| 211 |
|
|
<td></td> |
| 212 |
|
|
<td class="md" nowrap>const char * </td> |
| 213 |
|
|
<td class="mdname" nowrap> <em>rip</em>, </td> |
| 214 |
|
|
</tr> |
| 215 |
|
|
<tr> |
| 216 |
|
|
<td class="md" nowrap align="right"></td> |
| 217 |
|
|
<td></td> |
| 218 |
|
|
<td class="md" nowrap>const char * </td> |
| 219 |
|
|
<td class="mdname" nowrap> <em>expl</em>, </td> |
| 220 |
|
|
</tr> |
| 221 |
|
|
<tr> |
| 222 |
|
|
<td class="md" nowrap align="right"></td> |
| 223 |
|
|
<td></td> |
| 224 |
|
|
<td class="md" nowrap>const char * </td> |
| 225 |
|
|
<td class="mdname" nowrap> <em>tf</em>, </td> |
| 226 |
|
|
</tr> |
| 227 |
|
|
<tr> |
| 228 |
|
|
<td class="md" nowrap align="right"></td> |
| 229 |
|
|
<td></td> |
| 230 |
|
|
<td class="md" nowrap>const char * </td> |
| 231 |
|
|
<td class="mdname" nowrap> <em>guess</em>, </td> |
| 232 |
|
|
</tr> |
| 233 |
|
|
<tr> |
| 234 |
|
|
<td class="md" nowrap align="right"></td> |
| 235 |
|
|
<td></td> |
| 236 |
|
|
<td class="md" nowrap>u_int32_t </td> |
| 237 |
|
|
<td class="mdname" nowrap> <em>use_trust</em>, </td> |
| 238 |
|
|
</tr> |
| 239 |
|
|
<tr> |
| 240 |
|
|
<td class="md" nowrap align="right"></td> |
| 241 |
|
|
<td></td> |
| 242 |
|
|
<td class="md" nowrap>u_int32_t </td> |
| 243 |
|
|
<td class="mdname" nowrap> <em>use_guess</em></td> |
| 244 |
|
|
</tr> |
| 245 |
|
|
<tr> |
| 246 |
|
|
<td></td> |
| 247 |
|
|
<td class="md">) </td> |
| 248 |
|
|
<td class="md" colspan="2"></td> |
| 249 |
|
|
</tr> |
| 250 |
|
|
</table> |
| 251 |
|
|
</td> |
| 252 |
|
|
</tr> |
| 253 |
|
|
</table> |
| 254 |
|
|
<table cellspacing=5 cellpadding=0 border=0> |
| 255 |
|
|
<tr> |
| 256 |
|
|
<td> |
| 257 |
|
|
|
| 258 |
|
|
</td> |
| 259 |
|
|
<td> |
| 260 |
|
|
|
| 261 |
|
|
<p> |
| 262 |
|
|
Definition at line <a class="el" href="main_8c-source.html#l00081">81</a> of file <a class="el" href="main_8c-source.html">main.c</a>. |
| 263 |
|
|
<p> |
| 264 |
|
|
References <a class="el" href="spf_8h-source.html#l00363">peer_info_s::addr</a>, <a class="el" href="spf_8h-source.html#l00330">peer_info_s::ALL</a>, <a class="el" href="spf_8h-source.html#l00353">peer_info_s::cur_eaddr</a>, <a class="el" href="spf_8h-source.html#l00349">peer_info_s::current_domain</a>, <a class="el" href="spf_8h-source.html#l00343">peer_info_s::ehlo</a>, <a class="el" href="spf_8h-source.html#l00345">peer_info_s::explain</a>, <a class="el" href="spf_8h-source.html#l00344">peer_info_s::from</a>, <a class="el" href="spf_8h-source.html#l00346">peer_info_s::guess</a>, <a class="el" href="main_8h-source.html#l00114">HDR_ERROR</a>, <a class="el" href="main_8h-source.html#l00110">HDR_H_FAIL</a>, <a class="el" href="main_8h-source.html#l00117">HDR_NEUTRAL</a>, <a class="el" href="main_8h-source.html#l00102">HDR_NONE</a>, <a class="el" href="main_8h-source.html#l00098">HDR_PASS</a>, <a class="el" href="main_8h-source.html#l00105">HDR_S_FAIL</a>, <a class="el" href="main_8h-source.html#l00120">HDR_UNKNOWN</a>, <a class="el" href="main_8h-source.html#l00124">HDR_UNMECH</a>, <a class="el" href="spf_8h-source.html#l00342">peer_info_s::helo</a>, <a class="el" href="spf_8h-source.html#l00100">HR_ERROR</a>, <a class="el" href="spf_8h-source.html#l00099">HR_H_FAIL</a>, <a class="el" href="spf_8h-source.html#l00101">HR_NEUTRAL</a>, <a class="el" href="spf_8h-source.html#l00097">HR_NONE</a>, <a class="el" href="spf_8h-source.html#l00096">HR_PASS</a>, <a class="el" href="spf_8h-source.html#l00098">HR_S_FAIL</a>, <a class="el" href="spf_8h-source.html#l00102">HR_UNKNOWN</a>, <a class="el" href="spf_8h-source.html#l00103">HR_UNMECH</a>, <a class="el" href="spf_8h-source.html#l00355">peer_info_s::ip_ver</a>, <a class="el" href="spf_8h-source.html#l00350">peer_info_s::mta_hname</a>, <a class="el" href="spf_8h-source.html#l00340">peer_info_s::p</a>, <a class="el" href="spf_8h.html#a46">peer_info_t</a>, <a class="el" href="spf_8h-source.html#l00348">peer_info_s::ptr_mhost</a>, <a class="el" href="spf_8h-source.html#l00351">peer_info_s::r_ip</a>, <a class="el" href="spf_8h-source.html#l00352">peer_info_s::r_vhname</a>, <a class="el" href="util_8h-source.html#l00108">SIZEOF</a>, <a class="el" href="main_8c-source.html#l00313">SPF_close()</a>, <a class="el" href="spf_8h.html#a88a55">SPF_ERROR</a>, <a class="el" href="spf_8h.html#a87a49">SPF_FALSE</a>, <a class="el" href="spf_8h-source.html#l00110">SPF_GUESS</a>, <a class="el" href="spf_8h.html#a88a54">SPF_H_FAIL</a>, <a class="el" href="util_8h-source.html#l00095">SPF_MAX_DATETIME</a>, <a class="el" href="spf_8h-source.html#l00079">SPF_MAX_IP_ADDR</a>, <a class="el" href="spf_8h-source.html#l00075">SPF_MAX_LOCAL_PART</a>, <a class="el" href="spf_8h.html#a88a56">SPF_NEUTRAL</a>, <a class="el" href="spf_8h.html#a88a52">SPF_NONE</a>, <a class="el" href="spf_8h.html#a88a51">SPF_PASS</a>, <a class="el" href="spf_8h-source.html#l00361">peer_info_s::spf_result</a>, <a class="el" href="spf_8h-source.html#l00371">peer_info_s::spf_rlevel</a>, <a class="el" href="spf_8h.html#a88a53">SPF_S_FAIL</a>, <a class="el" href="spf_8h.html#a87a50">SPF_TRUE</a>, <a class="el" href="spf_8h-source.html#l00113">SPF_TRUSTED</a>, <a class="el" href="spf_8h.html#a88a57">SPF_UNKNOWN</a>, <a class="el" href="spf_8h.html#a88a58">SPF_UNMECH</a>, <a class="el" href="spf_8h-source.html#l00338">peer_info_s::spf_ver</a>, <a class="el" href="spf_8h-source.html#l00347">peer_info_s::trusted</a>, <a class="el" href="spf_8h-source.html#l00336">peer_info_s::use_guess</a>, <a class="el" href="spf_8h-source.html#l00335">peer_info_s::use_trust</a>, <a class="el" href="spf_8h-source.html#l00357">peer_info_s::utc_time</a>, <a class="el" href="util_8c-source.html#l01309">UTIL_assoc_prefix()</a>, <a class="el" href="util_8h-source.html#l00154">xepprintf</a>, <a class="el" href="util_8h-source.html#l00127">xfree</a>, <a class="el" href="util_8h-source.html#l00125">xmalloc</a>, <a class="el" href="util_8h-source.html#l00138">xprintf</a>, <a class="el" href="util_8h-source.html#l00129">xstrndup</a>, and <a class="el" href="util_8h-source.html#l00142">xvprintf</a>. |
| 265 |
|
|
<p> |
| 266 |
|
|
Here is the call graph for this function:<p><center><img src="main_8c_a3_cgraph.png" border="0" usemap="#main_8c_a3_cgraph_map" alt=""></center> |
| 267 |
|
|
<map name="main_8c_a3_cgraph_map"> |
| 268 |
|
|
<area href="spf_8h.html#a78" shape="rect" coords="152,5,229,24" alt=""> |
| 269 |
|
|
<area href="util_8h.html#a47" shape="rect" coords="131,48,251,66" alt=""> |
| 270 |
|
|
<area href="util_8h.html#a35" shape="rect" coords="300,48,380,66" alt=""> |
| 271 |
|
|
</map> |
| 272 |
|
|
</td> |
| 273 |
|
|
</tr> |
| 274 |
|
|
</table> |
| 275 |
|
|
<a class="anchor" name="a7" doxytag="main.c::SPF_parse_policy" ></a><p> |
| 276 |
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| 277 |
|
|
<tr> |
| 278 |
|
|
<td class="mdRow"> |
| 279 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
| 280 |
|
|
<tr> |
| 281 |
|
|
<td class="md" nowrap valign="top"> <a class="el" href="spf_8h.html#a35">SPF_BOOL</a> SPF_parse_policy </td> |
| 282 |
|
|
<td class="md" valign="top">( </td> |
| 283 |
|
|
<td class="md" nowrap valign="top"><a class="el" href="structpeer__info__s.html">peer_info_t</a> * </td> |
| 284 |
|
|
<td class="mdname" nowrap> <em>p</em>, </td> |
| 285 |
|
|
</tr> |
| 286 |
|
|
<tr> |
| 287 |
|
|
<td class="md" nowrap align="right"></td> |
| 288 |
|
|
<td></td> |
| 289 |
|
|
<td class="md" nowrap>const char * </td> |
| 290 |
|
|
<td class="mdname" nowrap> <em>policy</em></td> |
| 291 |
|
|
</tr> |
| 292 |
|
|
<tr> |
| 293 |
|
|
<td></td> |
| 294 |
|
|
<td class="md">) </td> |
| 295 |
|
|
<td class="md" colspan="2"></td> |
| 296 |
|
|
</tr> |
| 297 |
|
|
</table> |
| 298 |
|
|
</td> |
| 299 |
|
|
</tr> |
| 300 |
|
|
</table> |
| 301 |
|
|
<table cellspacing=5 cellpadding=0 border=0> |
| 302 |
|
|
<tr> |
| 303 |
|
|
<td> |
| 304 |
|
|
|
| 305 |
|
|
</td> |
| 306 |
|
|
<td> |
| 307 |
|
|
|
| 308 |
|
|
<p> |
| 309 |
|
|
Definition at line <a class="el" href="main_8c-source.html#l00721">721</a> of file <a class="el" href="main_8c-source.html">main.c</a>. |
| 310 |
|
|
<p> |
| 311 |
|
|
References <a class="el" href="spf_8h.html#a90a67">A</a>, <a class="el" href="spf_8h-source.html#l00233">policy_addr_s::addr</a>, <a class="el" href="spf_8h-source.html#l00363">peer_info_s::addr</a>, <a class="el" href="spf_8h.html#a90a65">ALL</a>, <a class="el" href="spf_8h-source.html#l00330">peer_info_s::ALL</a>, <a class="el" href="spf_8h-source.html#l00349">peer_info_s::current_domain</a>, <a class="el" href="spf_8h.html#a90a75">DEFAULT</a>, <a class="el" href="dns_8c-source.html#l00217">DNS_query()</a>, <a class="el" href="spf_8h-source.html#l00359">peer_info_s::error</a>, <a class="el" href="spf_8h.html#a90a72">EXISTS</a>, <a class="el" href="spf_8h.html#a90a74">EXPLAIN</a>, <a class="el" href="spf_8h-source.html#l00345">peer_info_s::explain</a>, <a class="el" href="spf_8h.html#a90a66">INCLUDE</a>, <a class="el" href="spf_8h-source.html#l00374">peer_info_s::include_buf</a>, <a class="el" href="spf_8h.html#a90a70">IP4</a>, <a class="el" href="spf_8h.html#a90a71">IP6</a>, <a class="el" href="spf_8h-source.html#l00358">peer_info_s::last_m</a>, <a class="el" href="macro_8c-source.html#l00071">MACRO_expand()</a>, <a class="el" href="spf_8h.html#a90a68">MX</a>, <a class="el" href="spf_8h.html#a90a63">NO_POLICY</a>, <a class="el" href="spf_8h.html#a46">peer_info_t</a>, <a class="el" href="spf_8h.html#a40">policy_addr_t</a>, <a class="el" href="spf_8h.html#a90a69">PTR</a>, <a class="el" href="spf_8h-source.html#l00351">peer_info_s::r_ip</a>, <a class="el" href="spf_8h.html#a90a73">REDIRECT</a>, <a class="el" href="spf_8h-source.html#l00375">peer_info_s::redirect_buf</a>, <a class="el" href="spf_8h-source.html#l00332">peer_info_s::RES</a>, <a class="el" href="spf_8h-source.html#l00333">peer_info_s::RES_P</a>, <a class="el" href="spf_8h.html#a35">SPF_BOOL</a>, <a class="el" href="spf_8h.html#a87a49">SPF_FALSE</a>, <a class="el" href="spf_8h.html#a88a54">SPF_H_FAIL</a>, <a class="el" href="spf_8h-source.html#l00085">SPF_MAX_ERROR</a>, <a class="el" href="spf_8h-source.html#l00090">SPF_MAX_MECHANISM</a>, <a class="el" href="main_8h-source.html#l00079">SPF_MAX_RECURSE</a>, <a class="el" href="spf_8h-source.html#l00072">SPF_MAX_STR</a>, <a class="el" href="spf_8h.html#a38">SPF_MECHANISM</a>, <a class="el" href="spf_8h.html#a88a56">SPF_NEUTRAL</a>, <a class="el" href="spf_8h.html#a88a52">SPF_NONE</a>, <a class="el" href="spf_8h.html#a88a51">SPF_PASS</a>, <a class="el" href="spf_8h.html#a36">SPF_RESULT</a>, <a class="el" href="spf_8h-source.html#l00361">peer_info_s::spf_result</a>, <a class="el" href="spf_8h-source.html#l00371">peer_info_s::spf_rlevel</a>, <a class="el" href="spf_8h.html#a88a53">SPF_S_FAIL</a>, <a class="el" href="spf_8h.html#a87a50">SPF_TRUE</a>, <a class="el" href="spf_8h.html#a88a57">SPF_UNKNOWN</a>, <a class="el" href="spf_8h.html#a88a58">SPF_UNMECH</a>, <a class="el" href="spf_8h-source.html#l00338">peer_info_s::spf_ver</a>, <a class="el" href="spf_8h-source.html#l00057">SPF_VERSION</a>, <a class="el" href="spf_8h.html#a90a76">UNMECH</a>, <a class="el" href="util_8c-source.html#l00980">UTIL_a_cmp()</a>, <a class="el" href="util_8c-source.html#l01309">UTIL_assoc_prefix()</a>, <a class="el" href="util_8c-source.html#l01961">UTIL_cidr_cmp()</a>, <a class="el" href="util_8c-source.html#l01694">UTIL_expand_ip()</a>, <a class="el" href="util_8c-source.html#l01555">UTIL_get_mech_prefix()</a>, <a class="el" href="util_8c-source.html#l01198">UTIL_get_policy_mech()</a>, <a class="el" href="util_8c-source.html#l00564">UTIL_index()</a>, <a class="el" href="util_8c-source.html#l00869">UTIL_is_macro()</a>, <a class="el" href="util_8c-source.html#l00832">UTIL_is_spf_result()</a>, <a class="el" href="util_8c-source.html#l00914">UTIL_mx_cmp()</a>, <a class="el" href="util_8c-source.html#l01135">UTIL_ptr_cmp()</a>, <a class="el" href="spf_8h.html#a90a64">VERSION</a>, <a class="el" href="util_8h-source.html#l00154">xepprintf</a>, <a class="el" href="util_8h-source.html#l00127">xfree</a>, <a class="el" href="util_8h-source.html#l00146">xpprintf</a>, <a class="el" href="util_8h-source.html#l00138">xprintf</a>, <a class="el" href="util_8h-source.html#l00129">xstrndup</a>, and <a class="el" href="util_8h-source.html#l00142">xvprintf</a>. |
| 312 |
|
|
<p> |
| 313 |
|
|
Referenced by <a class="el" href="main_8c-source.html#l00570">SPF_policy_main_rec()</a>. |
| 314 |
|
|
<p> |
| 315 |
|
|
Here is the call graph for this function:<p><center><img src="main_8c_a7_cgraph.png" border="0" usemap="#main_8c_a7_cgraph_map" alt=""></center> |
| 316 |
|
|
<map name="main_8c_a7_cgraph_map"> |
| 317 |
|
|
<area href="dns_8h.html#a8" shape="rect" coords="404,357,484,375" alt=""> |
| 318 |
|
|
<area href="util_8h.html#a47" shape="rect" coords="563,310,683,329" alt=""> |
| 319 |
|
|
<area href="util_8h.html#a35" shape="rect" coords="745,141,825,159" alt=""> |
| 320 |
|
|
<area href="macro_8h.html#a1" shape="rect" coords="565,69,680,87" alt=""> |
| 321 |
|
|
<area href="util_8h.html#a43" shape="rect" coords="221,170,309,189" alt=""> |
| 322 |
|
|
<area href="util_8h.html#a52" shape="rect" coords="393,263,495,282" alt=""> |
| 323 |
|
|
<area href="util_8h.html#a48" shape="rect" coords="389,119,499,138" alt=""> |
| 324 |
|
|
<area href="util_8h.html#a46" shape="rect" coords="549,467,696,486" alt=""> |
| 325 |
|
|
<area href="util_8h.html#a45" shape="rect" coords="191,399,340,418" alt=""> |
| 326 |
|
|
<area href="util_8h.html#a41" shape="rect" coords="215,442,316,461" alt=""> |
| 327 |
|
|
<area href="util_8h.html#a40" shape="rect" coords="205,485,325,503" alt=""> |
| 328 |
|
|
<area href="util_8h.html#a42" shape="rect" coords="217,263,313,282" alt=""> |
| 329 |
|
|
<area href="util_8h.html#a44" shape="rect" coords="219,357,312,375" alt=""> |
| 330 |
|
|
</map> |
| 331 |
|
|
</td> |
| 332 |
|
|
</tr> |
| 333 |
|
|
</table> |
| 334 |
|
|
<a class="anchor" name="a5" doxytag="main.c::SPF_policy_main" ></a><p> |
| 335 |
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| 336 |
|
|
<tr> |
| 337 |
|
|
<td class="mdRow"> |
| 338 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
| 339 |
|
|
<tr> |
| 340 |
|
|
<td class="md" nowrap valign="top"> <a class="el" href="spf_8h.html#a36">SPF_RESULT</a> SPF_policy_main </td> |
| 341 |
|
|
<td class="md" valign="top">( </td> |
| 342 |
|
|
<td class="md" nowrap valign="top"><a class="el" href="structpeer__info__s.html">peer_info_t</a> * </td> |
| 343 |
|
|
<td class="mdname1" valign="top" nowrap> <em>p</em> </td> |
| 344 |
|
|
<td class="md" valign="top"> ) </td> |
| 345 |
|
|
<td class="md" nowrap></td> |
| 346 |
|
|
</tr> |
| 347 |
|
|
</table> |
| 348 |
|
|
</td> |
| 349 |
|
|
</tr> |
| 350 |
|
|
</table> |
| 351 |
|
|
<table cellspacing=5 cellpadding=0 border=0> |
| 352 |
|
|
<tr> |
| 353 |
|
|
<td> |
| 354 |
|
|
|
| 355 |
|
|
</td> |
| 356 |
|
|
<td> |
| 357 |
|
|
|
| 358 |
|
|
<p> |
| 359 |
|
|
Definition at line <a class="el" href="main_8c-source.html#l00399">399</a> of file <a class="el" href="main_8c-source.html">main.c</a>. |
| 360 |
|
|
<p> |
| 361 |
|
|
References <a class="el" href="main_8c-source.html#l01564">_SPF_clear_holdbufs()</a>, <a class="el" href="spf_8h-source.html#l00373">peer_info_s::cname_buf</a>, <a class="el" href="spf_8h-source.html#l00349">peer_info_s::current_domain</a>, <a class="el" href="spf_8h-source.html#l00374">peer_info_s::include_buf</a>, <a class="el" href="spf_8h.html#a46">peer_info_t</a>, <a class="el" href="spf_8h-source.html#l00375">peer_info_s::redirect_buf</a>, <a class="el" href="main_8h-source.html#l00079">SPF_MAX_RECURSE</a>, <a class="el" href="spf_8h.html#a88a52">SPF_NONE</a>, <a class="el" href="spf_8h.html#a88a51">SPF_PASS</a>, <a class="el" href="main_8c-source.html#l00570">SPF_policy_main_rec()</a>, <a class="el" href="spf_8h.html#a36">SPF_RESULT</a>, <a class="el" href="spf_8h-source.html#l00371">peer_info_s::spf_rlevel</a>, <a class="el" href="spf_8h.html#a88a57">SPF_UNKNOWN</a>, <a class="el" href="util_8c-source.html#l01309">UTIL_assoc_prefix()</a>, <a class="el" href="util_8h-source.html#l00154">xepprintf</a>, <a class="el" href="util_8h-source.html#l00146">xpprintf</a>, and <a class="el" href="util_8h-source.html#l00142">xvprintf</a>. |
| 362 |
|
|
<p> |
| 363 |
|
|
Here is the call graph for this function:<p><center><img src="main_8c_a5_cgraph.png" border="0" usemap="#main_8c_a5_cgraph_map" alt=""></center> |
| 364 |
|
|
<map name="main_8c_a5_cgraph_map"> |
| 365 |
|
|
<area href="main_8c.html#a2" shape="rect" coords="185,56,327,74" alt=""> |
| 366 |
|
|
<area href="spf_8h.html#a80" shape="rect" coords="184,98,328,117" alt=""> |
| 367 |
|
|
<area href="util_8h.html#a47" shape="rect" coords="683,124,803,142" alt=""> |
| 368 |
|
|
<area href="dns_8h.html#a8" shape="rect" coords="552,52,632,70" alt=""> |
| 369 |
|
|
<area href="spf_8h.html#a81" shape="rect" coords="379,98,501,117" alt=""> |
| 370 |
|
|
<area href="util_8h.html#a31" shape="rect" coords="388,5,492,24" alt=""> |
| 371 |
|
|
</map> |
| 372 |
|
|
</td> |
| 373 |
|
|
</tr> |
| 374 |
|
|
</table> |
| 375 |
|
|
<a class="anchor" name="a6" doxytag="main.c::SPF_policy_main_rec" ></a><p> |
| 376 |
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| 377 |
|
|
<tr> |
| 378 |
|
|
<td class="mdRow"> |
| 379 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
| 380 |
|
|
<tr> |
| 381 |
|
|
<td class="md" nowrap valign="top"> <a class="el" href="spf_8h.html#a36">SPF_RESULT</a> SPF_policy_main_rec </td> |
| 382 |
|
|
<td class="md" valign="top">( </td> |
| 383 |
|
|
<td class="md" nowrap valign="top"><a class="el" href="structpeer__info__s.html">peer_info_t</a> * </td> |
| 384 |
|
|
<td class="mdname1" valign="top" nowrap> <em>p</em> </td> |
| 385 |
|
|
<td class="md" valign="top"> ) </td> |
| 386 |
|
|
<td class="md" nowrap></td> |
| 387 |
|
|
</tr> |
| 388 |
|
|
</table> |
| 389 |
|
|
</td> |
| 390 |
|
|
</tr> |
| 391 |
|
|
</table> |
| 392 |
|
|
<table cellspacing=5 cellpadding=0 border=0> |
| 393 |
|
|
<tr> |
| 394 |
|
|
<td> |
| 395 |
|
|
|
| 396 |
|
|
</td> |
| 397 |
|
|
<td> |
| 398 |
|
|
|
| 399 |
|
|
<p> |
| 400 |
|
|
Definition at line <a class="el" href="main_8c-source.html#l00570">570</a> of file <a class="el" href="main_8c-source.html">main.c</a>. |
| 401 |
|
|
<p> |
| 402 |
|
|
References <a class="el" href="spf_8h-source.html#l00363">peer_info_s::addr</a>, <a class="el" href="spf_8h-source.html#l00373">peer_info_s::cname_buf</a>, <a class="el" href="spf_8h-source.html#l00349">peer_info_s::current_domain</a>, <a class="el" href="dns_8c-source.html#l00217">DNS_query()</a>, <a class="el" href="spf_8h-source.html#l00346">peer_info_s::guess</a>, <a class="el" href="spf_8h-source.html#l00374">peer_info_s::include_buf</a>, <a class="el" href="spf_8h-source.html#l00358">peer_info_s::last_m</a>, <a class="el" href="spf_8h.html#a46">peer_info_t</a>, <a class="el" href="spf_8h-source.html#l00375">peer_info_s::redirect_buf</a>, <a class="el" href="spf_8h-source.html#l00332">peer_info_s::RES</a>, <a class="el" href="spf_8h-source.html#l00341">peer_info_s::rs</a>, <a class="el" href="spf_8h.html#a88a55">SPF_ERROR</a>, <a class="el" href="spf_8h.html#a88a56">SPF_NEUTRAL</a>, <a class="el" href="main_8c-source.html#l00721">SPF_parse_policy()</a>, <a class="el" href="spf_8h.html#a88a51">SPF_PASS</a>, <a class="el" href="spf_8h.html#a36">SPF_RESULT</a>, <a class="el" href="spf_8h.html#a87a50">SPF_TRUE</a>, <a class="el" href="spf_8h-source.html#l00347">peer_info_s::trusted</a>, <a class="el" href="spf_8h-source.html#l00336">peer_info_s::use_guess</a>, <a class="el" href="spf_8h-source.html#l00335">peer_info_s::use_trust</a>, <a class="el" href="util_8c-source.html#l01309">UTIL_assoc_prefix()</a>, <a class="el" href="util_8c-source.html#l00326">UTIL_log_result()</a>, <a class="el" href="util_8h-source.html#l00154">xepprintf</a>, <a class="el" href="util_8h-source.html#l00127">xfree</a>, <a class="el" href="util_8h-source.html#l00146">xpprintf</a>, <a class="el" href="util_8h-source.html#l00138">xprintf</a>, and <a class="el" href="util_8h-source.html#l00142">xvprintf</a>. |
| 403 |
|
|
<p> |
| 404 |
|
|
Referenced by <a class="el" href="main_8c-source.html#l00399">SPF_policy_main()</a>. |
| 405 |
|
|
<p> |
| 406 |
|
|
Here is the call graph for this function:<p><center><img src="main_8c_a6_cgraph.png" border="0" usemap="#main_8c_a6_cgraph_map" alt=""></center> |
| 407 |
|
|
<map name="main_8c_a6_cgraph_map"> |
| 408 |
|
|
<area href="dns_8h.html#a8" shape="rect" coords="387,59,467,78" alt=""> |
| 409 |
|
|
<area href="util_8h.html#a47" shape="rect" coords="517,59,637,78" alt=""> |
| 410 |
|
|
<area href="spf_8h.html#a81" shape="rect" coords="213,106,336,125" alt=""> |
| 411 |
|
|
<area href="util_8h.html#a31" shape="rect" coords="223,149,327,167" alt=""> |
| 412 |
|
|
</map> |
| 413 |
|
|
</td> |
| 414 |
|
|
</tr> |
| 415 |
|
|
</table> |
| 416 |
|
|
<a class="anchor" name="a8" doxytag="main.c::SPF_result" ></a><p> |
| 417 |
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| 418 |
|
|
<tr> |
| 419 |
|
|
<td class="mdRow"> |
| 420 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
| 421 |
|
|
<tr> |
| 422 |
|
|
<td class="md" nowrap valign="top"> char* SPF_result </td> |
| 423 |
|
|
<td class="md" valign="top">( </td> |
| 424 |
|
|
<td class="md" nowrap valign="top"><a class="el" href="structpeer__info__s.html">peer_info_t</a> * </td> |
| 425 |
|
|
<td class="mdname1" valign="top" nowrap> <em>p</em> </td> |
| 426 |
|
|
<td class="md" valign="top"> ) </td> |
| 427 |
|
|
<td class="md" nowrap></td> |
| 428 |
|
|
</tr> |
| 429 |
|
|
</table> |
| 430 |
|
|
</td> |
| 431 |
|
|
</tr> |
| 432 |
|
|
</table> |
| 433 |
|
|
<table cellspacing=5 cellpadding=0 border=0> |
| 434 |
|
|
<tr> |
| 435 |
|
|
<td> |
| 436 |
|
|
|
| 437 |
|
|
</td> |
| 438 |
|
|
<td> |
| 439 |
|
|
|
| 440 |
|
|
<p> |
| 441 |
|
|
Definition at line <a class="el" href="main_8c-source.html#l01249">1249</a> of file <a class="el" href="main_8c-source.html">main.c</a>. |
| 442 |
|
|
<p> |
| 443 |
|
|
References <a class="el" href="spf_8h-source.html#l00344">peer_info_s::from</a>, <a class="el" href="spf_8h.html#a46">peer_info_t</a>, <a class="el" href="spf_8h-source.html#l00351">peer_info_s::r_ip</a>, <a class="el" href="spf_8h-source.html#l00332">peer_info_s::RES</a>, <a class="el" href="main_8h-source.html#l00089">RES_ERROR</a>, <a class="el" href="main_8h-source.html#l00087">RES_H_FAIL</a>, <a class="el" href="main_8h-source.html#l00091">RES_NEUTRAL</a>, <a class="el" href="main_8h-source.html#l00083">RES_NONE</a>, <a class="el" href="main_8h-source.html#l00082">RES_PASS</a>, <a class="el" href="main_8h-source.html#l00085">RES_S_FAIL</a>, <a class="el" href="main_8h-source.html#l00093">RES_UNKNOWN</a>, <a class="el" href="main_8h-source.html#l00094">RES_UNMECH</a>, <a class="el" href="spf_8h.html#a88a55">SPF_ERROR</a>, <a class="el" href="spf_8h.html#a88a54">SPF_H_FAIL</a>, <a class="el" href="spf_8h-source.html#l00091">SPF_MAX_HEADER</a>, <a class="el" href="spf_8h-source.html#l00092">SPF_MAX_SMTP_RES</a>, <a class="el" href="spf_8h.html#a88a56">SPF_NEUTRAL</a>, <a class="el" href="spf_8h.html#a88a52">SPF_NONE</a>, <a class="el" href="spf_8h.html#a88a51">SPF_PASS</a>, <a class="el" href="spf_8h.html#a88a53">SPF_S_FAIL</a>, <a class="el" href="spf_8h.html#a88a57">SPF_UNKNOWN</a>, <a class="el" href="spf_8h.html#a88a58">SPF_UNMECH</a>, <a class="el" href="util_8h-source.html#l00125">xmalloc</a>, and <a class="el" href="util_8h-source.html#l00138">xprintf</a>. </td> |
| 444 |
|
|
</tr> |
| 445 |
|
|
</table> |
| 446 |
|
|
<a class="anchor" name="a12" doxytag="main.c::SPF_smtp_from" ></a><p> |
| 447 |
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| 448 |
|
|
<tr> |
| 449 |
|
|
<td class="mdRow"> |
| 450 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
| 451 |
|
|
<tr> |
| 452 |
|
|
<td class="md" nowrap valign="top"> <a class="el" href="spf_8h.html#a35">SPF_BOOL</a> SPF_smtp_from </td> |
| 453 |
|
|
<td class="md" valign="top">( </td> |
| 454 |
|
|
<td class="md" nowrap valign="top"><a class="el" href="structpeer__info__s.html">peer_info_t</a> * </td> |
| 455 |
|
|
<td class="mdname" nowrap> <em>p</em>, </td> |
| 456 |
|
|
</tr> |
| 457 |
|
|
<tr> |
| 458 |
|
|
<td class="md" nowrap align="right"></td> |
| 459 |
|
|
<td></td> |
| 460 |
|
|
<td class="md" nowrap>const char * </td> |
| 461 |
|
|
<td class="mdname" nowrap> <em>s</em></td> |
| 462 |
|
|
</tr> |
| 463 |
|
|
<tr> |
| 464 |
|
|
<td></td> |
| 465 |
|
|
<td class="md">) </td> |
| 466 |
|
|
<td class="md" colspan="2"></td> |
| 467 |
|
|
</tr> |
| 468 |
|
|
</table> |
| 469 |
|
|
</td> |
| 470 |
|
|
</tr> |
| 471 |
|
|
</table> |
| 472 |
|
|
<table cellspacing=5 cellpadding=0 border=0> |
| 473 |
|
|
<tr> |
| 474 |
|
|
<td> |
| 475 |
|
|
|
| 476 |
|
|
</td> |
| 477 |
|
|
<td> |
| 478 |
|
|
|
| 479 |
|
|
<p> |
| 480 |
|
|
Definition at line <a class="el" href="main_8c-source.html#l01456">1456</a> of file <a class="el" href="main_8c-source.html">main.c</a>. |
| 481 |
|
|
<p> |
| 482 |
|
|
References <a class="el" href="spf_8h-source.html#l00349">peer_info_s::current_domain</a>, <a class="el" href="spf_8h-source.html#l00344">peer_info_s::from</a>, <a class="el" href="spf_8h-source.html#l00342">peer_info_s::helo</a>, <a class="el" href="spf_8h-source.html#l00356">peer_info_s::local_part</a>, <a class="el" href="spf_8h.html#a46">peer_info_t</a>, <a class="el" href="spf_8h.html#a35">SPF_BOOL</a>, <a class="el" href="spf_8h.html#a87a49">SPF_FALSE</a>, <a class="el" href="spf_8h-source.html#l00081">SPF_MAX_ENV_HELO</a>, <a class="el" href="spf_8h-source.html#l00075">SPF_MAX_LOCAL_PART</a>, <a class="el" href="spf_8h-source.html#l00072">SPF_MAX_STR</a>, <a class="el" href="spf_8h.html#a87a50">SPF_TRUE</a>, <a class="el" href="util_8h-source.html#l00127">xfree</a>, <a class="el" href="util_8h-source.html#l00138">xprintf</a>, <a class="el" href="util_8h-source.html#l00129">xstrndup</a>, and <a class="el" href="util_8h-source.html#l00142">xvprintf</a>. </td> |
| 483 |
|
|
</tr> |
| 484 |
|
|
</table> |
| 485 |
|
|
<a class="anchor" name="a11" doxytag="main.c::SPF_smtp_helo" ></a><p> |
| 486 |
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| 487 |
|
|
<tr> |
| 488 |
|
|
<td class="mdRow"> |
| 489 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
| 490 |
|
|
<tr> |
| 491 |
|
|
<td class="md" nowrap valign="top"> <a class="el" href="spf_8h.html#a35">SPF_BOOL</a> SPF_smtp_helo </td> |
| 492 |
|
|
<td class="md" valign="top">( </td> |
| 493 |
|
|
<td class="md" nowrap valign="top"><a class="el" href="structpeer__info__s.html">peer_info_t</a> * </td> |
| 494 |
|
|
<td class="mdname" nowrap> <em>p</em>, </td> |
| 495 |
|
|
</tr> |
| 496 |
|
|
<tr> |
| 497 |
|
|
<td class="md" nowrap align="right"></td> |
| 498 |
|
|
<td></td> |
| 499 |
|
|
<td class="md" nowrap>const char * </td> |
| 500 |
|
|
<td class="mdname" nowrap> <em>s</em></td> |
| 501 |
|
|
</tr> |
| 502 |
|
|
<tr> |
| 503 |
|
|
<td></td> |
| 504 |
|
|
<td class="md">) </td> |
| 505 |
|
|
<td class="md" colspan="2"></td> |
| 506 |
|
|
</tr> |
| 507 |
|
|
</table> |
| 508 |
|
|
</td> |
| 509 |
|
|
</tr> |
| 510 |
|
|
</table> |
| 511 |
|
|
<table cellspacing=5 cellpadding=0 border=0> |
| 512 |
|
|
<tr> |
| 513 |
|
|
<td> |
| 514 |
|
|
|
| 515 |
|
|
</td> |
| 516 |
|
|
<td> |
| 517 |
|
|
|
| 518 |
|
|
<p> |
| 519 |
|
|
Definition at line <a class="el" href="main_8c-source.html#l01423">1423</a> of file <a class="el" href="main_8c-source.html">main.c</a>. |
| 520 |
|
|
<p> |
| 521 |
|
|
References <a class="el" href="spf_8h-source.html#l00343">peer_info_s::ehlo</a>, <a class="el" href="spf_8h-source.html#l00342">peer_info_s::helo</a>, <a class="el" href="spf_8h.html#a46">peer_info_t</a>, <a class="el" href="spf_8h.html#a35">SPF_BOOL</a>, <a class="el" href="util_8h-source.html#l00127">xfree</a>, <a class="el" href="util_8h-source.html#l00138">xprintf</a>, and <a class="el" href="util_8h-source.html#l00128">xstrdup</a>. </td> |
| 522 |
|
|
</tr> |
| 523 |
|
|
</table> |
| 524 |
|
|
<hr><h2>Variable Documentation</h2> |
| 525 |
|
|
<a class="anchor" name="a0" doxytag="main.c::confg" ></a><p> |
| 526 |
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| 527 |
|
|
<tr> |
| 528 |
|
|
<td class="mdRow"> |
| 529 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
| 530 |
|
|
<tr> |
| 531 |
|
|
<td class="md" nowrap valign="top"> <a class="el" href="structspf__config__s.html">spf_config_t</a> <a class="el" href="spf_8h.html#a47">confg</a> </td> |
| 532 |
|
|
</tr> |
| 533 |
|
|
</table> |
| 534 |
|
|
</td> |
| 535 |
|
|
</tr> |
| 536 |
|
|
</table> |
| 537 |
|
|
<table cellspacing=5 cellpadding=0 border=0> |
| 538 |
|
|
<tr> |
| 539 |
|
|
<td> |
| 540 |
|
|
|
| 541 |
|
|
</td> |
| 542 |
|
|
<td> |
| 543 |
|
|
|
| 544 |
|
|
<p> |
| 545 |
|
|
Definition at line <a class="el" href="main_8c-source.html#l00057">57</a> of file <a class="el" href="main_8c-source.html">main.c</a>. |
| 546 |
|
|
<p> |
| 547 |
|
|
Referenced by <a class="el" href="util_8c-source.html#l00097">_pprintf_dbg()</a>, and <a class="el" href="util_8c-source.html#l00154">_printf_dbg()</a>. </td> |
| 548 |
|
|
</tr> |
| 549 |
|
|
</table> |
| 550 |
|
|
<a class="anchor" name="a1" doxytag="main.c::h_errno" ></a><p> |
| 551 |
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| 552 |
|
|
<tr> |
| 553 |
|
|
<td class="mdRow"> |
| 554 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
| 555 |
|
|
<tr> |
| 556 |
|
|
<td class="md" nowrap valign="top"> int <a class="el" href="main_8c.html#a1">h_errno</a> </td> |
| 557 |
|
|
</tr> |
| 558 |
|
|
</table> |
| 559 |
|
|
</td> |
| 560 |
|
|
</tr> |
| 561 |
|
|
</table> |
| 562 |
|
|
<table cellspacing=5 cellpadding=0 border=0> |
| 563 |
|
|
<tr> |
| 564 |
|
|
<td> |
| 565 |
|
|
|
| 566 |
|
|
</td> |
| 567 |
|
|
<td> |
| 568 |
|
|
|
| 569 |
|
|
<p> |
| 570 |
|
|
Definition at line <a class="el" href="main_8c-source.html#l00059">59</a> of file <a class="el" href="main_8c-source.html">main.c</a>. |
| 571 |
|
|
<p> |
| 572 |
|
|
Referenced by <a class="el" href="dns_8c-source.html#l00866">DNS_cname_answer()</a>, <a class="el" href="dns_8c-source.html#l00611">DNS_mx_answer()</a>, <a class="el" href="dns_8c-source.html#l00716">DNS_ptr_answer()</a>, <a class="el" href="dns_8c-source.html#l00217">DNS_query()</a>, and <a class="el" href="dns_8c-source.html#l00419">DNS_txt_answer()</a>. </td> |
| 573 |
|
|
</tr> |
| 574 |
|
|
</table> |
| 575 |
|
|
<hr size="1"><address style="align: right;"><small>Generated on Thu Sep 16 18:10:49 2004 for libSPF v1.0 by |
| 576 |
|
|
<a href="http://www.doxygen.org/index.html"> |
| 577 |
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address> |
| 578 |
|
|
</body> |
| 579 |
|
|
</html> |