| 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: spfquery.h File Reference</title> |
| 4 |
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css"> |
| 5 |
|
|
</head><body> |
| 6 |
|
|
<!-- Generated by Doxygen 1.3.7 --> |
| 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>spfquery.h File Reference</h1><code>#include <stdio.h></code><br> |
| 10 |
|
|
<code>#include <stdlib.h></code><br> |
| 11 |
|
|
<code>#include <string.h></code><br> |
| 12 |
|
|
<code>#include "<a class="el" href="spf_8h-source.html">../../src/libspf/spf.h</a>"</code><br> |
| 13 |
|
|
|
| 14 |
|
|
<p> |
| 15 |
|
|
Include dependency graph for spfquery.h:<p><center><img src="spfquery_8h__incl.png" border="0" usemap="#spfquery.h_map" alt="Include dependency graph"></center> |
| 16 |
|
|
<map name="spfquery.h_map"> |
| 17 |
|
|
<area href="spf_8h.html" shape="rect" coords="233,86,351,105" alt=""> |
| 18 |
|
|
</map> |
| 19 |
|
|
|
| 20 |
|
|
<p> |
| 21 |
|
|
This graph shows which files directly or indirectly include this file:<p><center><img src="spfquery_8h__dep__incl.png" border="0" usemap="#spfquery.hdep_map" alt="Included by dependency graph"></center> |
| 22 |
|
|
<map name="spfquery.hdep_map"> |
| 23 |
|
|
<area href="spfquery_8c.html" shape="rect" coords="7,17,76,36" alt=""> |
| 24 |
|
|
</map> |
| 25 |
|
|
|
| 26 |
|
|
<p> |
| 27 |
|
|
<a href="spfquery_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0> |
| 28 |
|
|
<tr><td></td></tr> |
| 29 |
|
|
<tr><td colspan=2><br><h2>Defines</h2></td></tr> |
| 30 |
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="spfquery_8h.html#a0">_SPF_QUERY_H</a> 1</td></tr> |
| 31 |
|
|
|
| 32 |
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="spfquery_8h.html#a1">SPFQUERY_VERSION</a> "0.1" /* version */</td></tr> |
| 33 |
|
|
|
| 34 |
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="spfquery_8h.html#a2">HELO_HOST</a> "nobody" /* default HELO host if none */</td></tr> |
| 35 |
|
|
|
| 36 |
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top>#define </td><td class="memItemRight" valign=bottom><a class="el" href="spfquery_8h.html#a3">HOSTNAME</a> "libspf.org" /* hostname */</td></tr> |
| 37 |
|
|
|
| 38 |
|
|
<tr><td colspan=2><br><h2>Functions</h2></td></tr> |
| 39 |
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top>int </td><td class="memItemRight" valign=bottom><a class="el" href="spfquery_8h.html#a4">main</a> (int argc, char *argv[])</td></tr> |
| 40 |
|
|
|
| 41 |
|
|
<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="spfquery_8h.html#a5">SPF_usage</a> ()</td></tr> |
| 42 |
|
|
|
| 43 |
|
|
</table> |
| 44 |
|
|
<hr><h2>Define Documentation</h2> |
| 45 |
|
|
<a class="anchor" name="a0" doxytag="spfquery.h::_SPF_QUERY_H" ></a><p> |
| 46 |
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| 47 |
|
|
<tr> |
| 48 |
|
|
<td class="mdRow"> |
| 49 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
| 50 |
|
|
<tr> |
| 51 |
|
|
<td class="md" nowrap valign="top"> #define _SPF_QUERY_H 1 </td> |
| 52 |
|
|
</tr> |
| 53 |
|
|
</table> |
| 54 |
|
|
</td> |
| 55 |
|
|
</tr> |
| 56 |
|
|
</table> |
| 57 |
|
|
<table cellspacing=5 cellpadding=0 border=0> |
| 58 |
|
|
<tr> |
| 59 |
|
|
<td> |
| 60 |
|
|
|
| 61 |
|
|
</td> |
| 62 |
|
|
<td> |
| 63 |
|
|
|
| 64 |
|
|
<p> |
| 65 |
|
|
|
| 66 |
|
|
<p> |
| 67 |
|
|
Definition at line <a class="el" href="spfquery_8h-source.html#l00045">45</a> of file <a class="el" href="spfquery_8h-source.html">spfquery.h</a>. </td> |
| 68 |
|
|
</tr> |
| 69 |
|
|
</table> |
| 70 |
|
|
<a class="anchor" name="a2" doxytag="spfquery.h::HELO_HOST" ></a><p> |
| 71 |
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| 72 |
|
|
<tr> |
| 73 |
|
|
<td class="mdRow"> |
| 74 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
| 75 |
|
|
<tr> |
| 76 |
|
|
<td class="md" nowrap valign="top"> #define HELO_HOST "nobody" /* default HELO host if none */ </td> |
| 77 |
|
|
</tr> |
| 78 |
|
|
</table> |
| 79 |
|
|
</td> |
| 80 |
|
|
</tr> |
| 81 |
|
|
</table> |
| 82 |
|
|
<table cellspacing=5 cellpadding=0 border=0> |
| 83 |
|
|
<tr> |
| 84 |
|
|
<td> |
| 85 |
|
|
|
| 86 |
|
|
</td> |
| 87 |
|
|
<td> |
| 88 |
|
|
|
| 89 |
|
|
<p> |
| 90 |
|
|
|
| 91 |
|
|
<p> |
| 92 |
|
|
Definition at line <a class="el" href="spfquery_8h-source.html#l00055">55</a> of file <a class="el" href="spfquery_8h-source.html">spfquery.h</a>. |
| 93 |
|
|
<p> |
| 94 |
|
|
Referenced by <a class="el" href="spfquery_8c-source.html#l00058">main()</a>. </td> |
| 95 |
|
|
</tr> |
| 96 |
|
|
</table> |
| 97 |
|
|
<a class="anchor" name="a3" doxytag="spfquery.h::HOSTNAME" ></a><p> |
| 98 |
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| 99 |
|
|
<tr> |
| 100 |
|
|
<td class="mdRow"> |
| 101 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
| 102 |
|
|
<tr> |
| 103 |
|
|
<td class="md" nowrap valign="top"> #define HOSTNAME "libspf.org" /* hostname */ </td> |
| 104 |
|
|
</tr> |
| 105 |
|
|
</table> |
| 106 |
|
|
</td> |
| 107 |
|
|
</tr> |
| 108 |
|
|
</table> |
| 109 |
|
|
<table cellspacing=5 cellpadding=0 border=0> |
| 110 |
|
|
<tr> |
| 111 |
|
|
<td> |
| 112 |
|
|
|
| 113 |
|
|
</td> |
| 114 |
|
|
<td> |
| 115 |
|
|
|
| 116 |
|
|
<p> |
| 117 |
|
|
|
| 118 |
|
|
<p> |
| 119 |
|
|
Definition at line <a class="el" href="spfquery_8h-source.html#l00056">56</a> of file <a class="el" href="spfquery_8h-source.html">spfquery.h</a>. </td> |
| 120 |
|
|
</tr> |
| 121 |
|
|
</table> |
| 122 |
|
|
<a class="anchor" name="a1" doxytag="spfquery.h::SPFQUERY_VERSION" ></a><p> |
| 123 |
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| 124 |
|
|
<tr> |
| 125 |
|
|
<td class="mdRow"> |
| 126 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
| 127 |
|
|
<tr> |
| 128 |
|
|
<td class="md" nowrap valign="top"> #define SPFQUERY_VERSION "0.1" /* version */ </td> |
| 129 |
|
|
</tr> |
| 130 |
|
|
</table> |
| 131 |
|
|
</td> |
| 132 |
|
|
</tr> |
| 133 |
|
|
</table> |
| 134 |
|
|
<table cellspacing=5 cellpadding=0 border=0> |
| 135 |
|
|
<tr> |
| 136 |
|
|
<td> |
| 137 |
|
|
|
| 138 |
|
|
</td> |
| 139 |
|
|
<td> |
| 140 |
|
|
|
| 141 |
|
|
<p> |
| 142 |
|
|
|
| 143 |
|
|
<p> |
| 144 |
|
|
Definition at line <a class="el" href="spfquery_8h-source.html#l00054">54</a> of file <a class="el" href="spfquery_8h-source.html">spfquery.h</a>. |
| 145 |
|
|
<p> |
| 146 |
|
|
Referenced by <a class="el" href="spfquery_8c-source.html#l00058">main()</a>. </td> |
| 147 |
|
|
</tr> |
| 148 |
|
|
</table> |
| 149 |
|
|
<hr><h2>Function Documentation</h2> |
| 150 |
|
|
<a class="anchor" name="a4" doxytag="spfquery.h::main" ></a><p> |
| 151 |
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| 152 |
|
|
<tr> |
| 153 |
|
|
<td class="mdRow"> |
| 154 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
| 155 |
|
|
<tr> |
| 156 |
|
|
<td class="md" nowrap valign="top"> int main </td> |
| 157 |
|
|
<td class="md" valign="top">( </td> |
| 158 |
|
|
<td class="md" nowrap valign="top">int </td> |
| 159 |
|
|
<td class="mdname" nowrap> <em>argc</em>, </td> |
| 160 |
|
|
</tr> |
| 161 |
|
|
<tr> |
| 162 |
|
|
<td class="md" nowrap align="right"></td> |
| 163 |
|
|
<td></td> |
| 164 |
|
|
<td class="md" nowrap>char * </td> |
| 165 |
|
|
<td class="mdname" nowrap> <em>argv</em>[]</td> |
| 166 |
|
|
</tr> |
| 167 |
|
|
<tr> |
| 168 |
|
|
<td></td> |
| 169 |
|
|
<td class="md">) </td> |
| 170 |
|
|
<td class="md" colspan="2"></td> |
| 171 |
|
|
</tr> |
| 172 |
|
|
</table> |
| 173 |
|
|
</td> |
| 174 |
|
|
</tr> |
| 175 |
|
|
</table> |
| 176 |
|
|
<table cellspacing=5 cellpadding=0 border=0> |
| 177 |
|
|
<tr> |
| 178 |
|
|
<td> |
| 179 |
|
|
|
| 180 |
|
|
</td> |
| 181 |
|
|
<td> |
| 182 |
|
|
|
| 183 |
|
|
<p> |
| 184 |
|
|
|
| 185 |
|
|
<p> |
| 186 |
|
|
Definition at line <a class="el" href="spfquery_8c-source.html#l00058">58</a> of file <a class="el" href="spfquery_8c-source.html">spfquery.c</a>. |
| 187 |
|
|
<p> |
| 188 |
|
|
References <a class="el" href="main_8c-source.html#l00050">confg</a>, <a class="el" href="spf_8h-source.html#l00394">peer_info_s::error</a>, <a class="el" href="spf_8h-source.html#l00375">peer_info_s::explain</a>, <a class="el" href="spf_8h.html#a92a53">FALSE</a>, <a class="el" href="spfquery_8h-source.html#l00055">HELO_HOST</a>, <a class="el" href="spf_8h-source.html#l00272">spf_config_s::level</a>, <a class="el" href="spf_8h-source.html#l00362">peer_info_s::RES</a>, <a class="el" href="spf_8h-source.html#l00364">peer_info_s::rs</a>, <a class="el" href="main_8c-source.html#l00206">SPF_close()</a>, <a class="el" href="main_8c-source.html#l00068">SPF_init()</a>, <a class="el" href="main_8c-source.html#l00252">SPF_policy_main()</a>, <a class="el" href="main_8c-source.html#l01096">SPF_smtp_from()</a>, <a class="el" href="main_8c-source.html#l01062">SPF_smtp_helo()</a>, <a class="el" href="spfquery_8c-source.html#l00178">SPF_usage()</a>, <a class="el" href="spfquery_8h-source.html#l00054">SPFQUERY_VERSION</a>, and <a class="el" href="spf_8h-source.html#l00127">u_int8_t</a>. |
| 189 |
|
|
<p> |
| 190 |
|
|
Here is the call graph for this function:<p><center><img src="spfquery_8h_a4_cgraph.png" border="0" usemap="#spfquery_8h_a4_cgraph_map" alt=""></center> |
| 191 |
|
|
<map name="spfquery_8h_a4_cgraph_map"> |
| 192 |
|
|
<area href="spf_8h.html#a83" shape="rect" coords="125,5,200,24" alt=""> |
| 193 |
|
|
<area href="spf_8h.html#a82" shape="rect" coords="307,53,368,72" alt=""> |
| 194 |
|
|
<area href="spf_8h.html#a84" shape="rect" coords="107,99,219,117" alt=""> |
| 195 |
|
|
<area href="spf_8h.html#a88" shape="rect" coords="111,141,215,160" alt=""> |
| 196 |
|
|
<area href="spf_8h.html#a89" shape="rect" coords="111,184,215,203" alt=""> |
| 197 |
|
|
<area href="spfquery_8c.html#a1" shape="rect" coords="124,227,201,245" alt=""> |
| 198 |
|
|
<area href="util_8h.html#a40" shape="rect" coords="455,76,572,95" alt=""> |
| 199 |
|
|
<area href="spf_8h.html#a85" shape="rect" coords="269,97,405,116" alt=""> |
| 200 |
|
|
</map> |
| 201 |
|
|
</td> |
| 202 |
|
|
</tr> |
| 203 |
|
|
</table> |
| 204 |
|
|
<a class="anchor" name="a5" doxytag="spfquery.h::SPF_usage" ></a><p> |
| 205 |
|
|
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> |
| 206 |
|
|
<tr> |
| 207 |
|
|
<td class="mdRow"> |
| 208 |
|
|
<table cellpadding="0" cellspacing="0" border="0"> |
| 209 |
|
|
<tr> |
| 210 |
|
|
<td class="md" nowrap valign="top"> void SPF_usage </td> |
| 211 |
|
|
<td class="md" valign="top">( </td> |
| 212 |
|
|
<td class="mdname1" valign="top" nowrap> </td> |
| 213 |
|
|
<td class="md" valign="top"> ) </td> |
| 214 |
|
|
<td class="md" nowrap></td> |
| 215 |
|
|
</tr> |
| 216 |
|
|
</table> |
| 217 |
|
|
</td> |
| 218 |
|
|
</tr> |
| 219 |
|
|
</table> |
| 220 |
|
|
<table cellspacing=5 cellpadding=0 border=0> |
| 221 |
|
|
<tr> |
| 222 |
|
|
<td> |
| 223 |
|
|
|
| 224 |
|
|
</td> |
| 225 |
|
|
<td> |
| 226 |
|
|
|
| 227 |
|
|
<p> |
| 228 |
|
|
|
| 229 |
|
|
<p> |
| 230 |
|
|
Definition at line <a class="el" href="spfquery_8c-source.html#l00178">178</a> of file <a class="el" href="spfquery_8c-source.html">spfquery.c</a>. |
| 231 |
|
|
<p> |
| 232 |
|
|
Referenced by <a class="el" href="spfquery_8c-source.html#l00058">main()</a>. </td> |
| 233 |
|
|
</tr> |
| 234 |
|
|
</table> |
| 235 |
|
|
<hr size="1"><address style="align: right;"><small>Generated on Sun Aug 8 11:36:52 2004 for libspf v1.0 by |
| 236 |
|
|
<a href="http://www.doxygen.org/index.html"> |
| 237 |
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.7 </small></address> |
| 238 |
|
|
</body> |
| 239 |
|
|
</html> |