ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libspf/docs/API/doxygen/html/macro_8h.html
Revision: 1.1
Committed: Tue Nov 13 00:51:28 2007 UTC (18 years, 10 months ago) by root
Content type: text/html
Branch: MAIN
CVS Tags: HEAD
Log Message:
initial import of libspf-1.0.0-p5 from freebsd ports

File Contents

# Content
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: macro.h 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&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
9 <h1>macro.h File Reference</h1><code>#include &lt;stdio.h&gt;</code><br>
10 <code>#include &lt;stdlib.h&gt;</code><br>
11 <code>#include &lt;string.h&gt;</code><br>
12 <code>#include &lt;ctype.h&gt;</code><br>
13 <code>#include "../../config.h"</code><br>
14 <code>#include "<a class="el" href="spf_8h-source.html">spf.h</a>"</code><br>
15
16 <p>
17 Include dependency graph for macro.h:<p><center><img src="macro_8h__incl.png" border="0" usemap="#macro.h_map" alt="Include dependency graph"></center>
18 <map name="macro.h_map">
19 <area href="spf_8h.html" shape="rect" coords="412,86,449,105" alt="">
20 </map>
21
22 <p>
23 This graph shows which files directly or indirectly include this file:<p><center><img src="macro_8h__dep__incl.png" border="0" usemap="#macro.hdep_map" alt="Included by dependency graph"></center>
24 <map name="macro.hdep_map">
25 <area href="macro_8c.html" shape="rect" coords="7,17,65,36" alt="">
26 <area href="main_8c.html" shape="rect" coords="89,17,140,36" alt="">
27 </map>
28
29 <p>
30 <a href="macro_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
31 <tr><td></td></tr>
32 <tr><td colspan=2><br><h2>Defines</h2></td></tr>
33 <tr><td class="memItemLeft" nowrap align=right valign=top>#define&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="macro_8h.html#a0">_MACRO_H</a>&nbsp;&nbsp;&nbsp;1</td></tr>
34
35 <tr><td colspan=2><br><h2>Functions</h2></td></tr>
36 <tr><td class="memItemLeft" nowrap align=right valign=top>__BEGIN_DECLS char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="macro_8h.html#a1">MACRO_expand</a> (<a class="el" href="structpeer__info__s.html">peer_info_t</a> *peer_info, const char *s)</td></tr>
37
38 <tr><td class="memItemLeft" nowrap align=right valign=top>char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="macro_8h.html#a2">MACRO_process</a> (<a class="el" href="structpeer__info__s.html">peer_info_t</a> *peer_info, char *macro, const size_t size)</td></tr>
39
40 <tr><td class="memItemLeft" nowrap align=right valign=top>char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="macro_8h.html#a3">MACRO_eatmore</a> (char *macro, char *s)</td></tr>
41
42 <tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="spf_8h.html#a35">SPF_BOOL</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="macro_8h.html#a4">MACRO_addbuf</a> (<a class="el" href="structstrbuf__s.html">strbuf_t</a> *master, char *s, const size_t size)</td></tr>
43
44 </table>
45 <hr><h2>Define Documentation</h2>
46 <a class="anchor" name="a0" doxytag="macro.h::_MACRO_H" ></a><p>
47 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
48 <tr>
49 <td class="mdRow">
50 <table cellpadding="0" cellspacing="0" border="0">
51 <tr>
52 <td class="md" nowrap valign="top"> #define _MACRO_H&nbsp;&nbsp;&nbsp;1 </td>
53 </tr>
54 </table>
55 </td>
56 </tr>
57 </table>
58 <table cellspacing=5 cellpadding=0 border=0>
59 <tr>
60 <td>
61 &nbsp;
62 </td>
63 <td>
64
65 <p>
66 Definition at line <a class="el" href="macro_8h-source.html#l00047">47</a> of file <a class="el" href="macro_8h-source.html">macro.h</a>. </td>
67 </tr>
68 </table>
69 <hr><h2>Function Documentation</h2>
70 <a class="anchor" name="a4" doxytag="macro.h::MACRO_addbuf" ></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"> <a class="el" href="spf_8h.html#a35">SPF_BOOL</a> MACRO_addbuf </td>
77 <td class="md" valign="top">(&nbsp;</td>
78 <td class="md" nowrap valign="top"><a class="el" href="structstrbuf__s.html">strbuf_t</a> *&nbsp;</td>
79 <td class="mdname" nowrap> <em>master</em>, </td>
80 </tr>
81 <tr>
82 <td class="md" nowrap align="right"></td>
83 <td></td>
84 <td class="md" nowrap>char *&nbsp;</td>
85 <td class="mdname" nowrap> <em>s</em>, </td>
86 </tr>
87 <tr>
88 <td class="md" nowrap align="right"></td>
89 <td></td>
90 <td class="md" nowrap>const size_t&nbsp;</td>
91 <td class="mdname" nowrap> <em>size</em></td>
92 </tr>
93 <tr>
94 <td></td>
95 <td class="md">)&nbsp;</td>
96 <td class="md" colspan="2"></td>
97 </tr>
98 </table>
99 </td>
100 </tr>
101 </table>
102 <table cellspacing=5 cellpadding=0 border=0>
103 <tr>
104 <td>
105 &nbsp;
106 </td>
107 <td>
108
109 <p>
110 Definition at line <a class="el" href="macro_8c-source.html#l00638">638</a> of file <a class="el" href="macro_8c-source.html">macro.c</a>.
111 <p>
112 References <a class="el" href="spf_8h-source.html#l00271">strbuf_s::elements</a>, <a class="el" href="spf_8h-source.html#l00270">strbuf_s::head</a>, <a class="el" href="spf_8h-source.html#l00256">strbuf_node_s::len</a>, <a class="el" href="spf_8h-source.html#l00258">strbuf_node_s::next</a>, <a class="el" href="spf_8h-source.html#l00257">strbuf_node_s::s</a>, <a class="el" href="util_8h-source.html#l00108">SIZEOF</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="spf_8h.html#a42">strbuf_node_t</a>, <a class="el" href="spf_8h.html#a43">strbuf_t</a>, <a class="el" href="util_8h-source.html#l00154">xepprintf</a>, <a class="el" href="util_8h-source.html#l00125">xmalloc</a>, and <a class="el" href="util_8h-source.html#l00142">xvprintf</a>.
113 <p>
114 Referenced by <a class="el" href="macro_8c-source.html#l00071">MACRO_expand()</a>. </td>
115 </tr>
116 </table>
117 <a class="anchor" name="a3" doxytag="macro.h::MACRO_eatmore" ></a><p>
118 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
119 <tr>
120 <td class="mdRow">
121 <table cellpadding="0" cellspacing="0" border="0">
122 <tr>
123 <td class="md" nowrap valign="top"> char* MACRO_eatmore </td>
124 <td class="md" valign="top">(&nbsp;</td>
125 <td class="md" nowrap valign="top">char *&nbsp;</td>
126 <td class="mdname" nowrap> <em>macro</em>, </td>
127 </tr>
128 <tr>
129 <td class="md" nowrap align="right"></td>
130 <td></td>
131 <td class="md" nowrap>char *&nbsp;</td>
132 <td class="mdname" nowrap> <em>s</em></td>
133 </tr>
134 <tr>
135 <td></td>
136 <td class="md">)&nbsp;</td>
137 <td class="md" colspan="2"></td>
138 </tr>
139 </table>
140 </td>
141 </tr>
142 </table>
143 <table cellspacing=5 cellpadding=0 border=0>
144 <tr>
145 <td>
146 &nbsp;
147 </td>
148 <td>
149
150 <p>
151 Definition at line <a class="el" href="macro_8c-source.html#l00505">505</a> of file <a class="el" href="macro_8c-source.html">macro.c</a>.
152 <p>
153 References <a class="el" href="spf_8h-source.html#l00071">SPF_MAX_MACRO</a>, <a class="el" href="spf_8h.html#a87a50">SPF_TRUE</a>, <a class="el" href="util_8c-source.html#l00751">UTIL_count_delim()</a>, <a class="el" href="util_8c-source.html#l00790">UTIL_is_spf_delim()</a>, <a class="el" href="util_8c-source.html#l02331">UTIL_reverse()</a>, <a class="el" href="util_8c-source.html#l00684">UTIL_split_strr()</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>.
154 <p>
155 Referenced by <a class="el" href="macro_8c-source.html#l00301">MACRO_process()</a>.
156 <p>
157 Here is the call graph for this function:<p><center><img src="macro_8h_a3_cgraph.png" border="0" usemap="#macro_8h_a3_cgraph_map" alt=""></center>
158 <map name="macro_8h_a3_cgraph_map">
159 <area href="util_8h.html#a38" shape="rect" coords="185,5,303,23" alt="">
160 <area href="util_8h.html#a39" shape="rect" coords="184,47,304,66" alt="">
161 <area href="util_8h.html#a56" shape="rect" coords="199,90,289,109" alt="">
162 <area href="util_8h.html#a37" shape="rect" coords="196,133,292,151" alt="">
163 <area href="util_8h.html#a57" shape="rect" coords="355,90,453,109" alt="">
164 </map>
165 </td>
166 </tr>
167 </table>
168 <a class="anchor" name="a1" doxytag="macro.h::MACRO_expand" ></a><p>
169 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
170 <tr>
171 <td class="mdRow">
172 <table cellpadding="0" cellspacing="0" border="0">
173 <tr>
174 <td class="md" nowrap valign="top"> __BEGIN_DECLS char* MACRO_expand </td>
175 <td class="md" valign="top">(&nbsp;</td>
176 <td class="md" nowrap valign="top"><a class="el" href="structpeer__info__s.html">peer_info_t</a> *&nbsp;</td>
177 <td class="mdname" nowrap> <em>peer_info</em>, </td>
178 </tr>
179 <tr>
180 <td class="md" nowrap align="right"></td>
181 <td></td>
182 <td class="md" nowrap>const char *&nbsp;</td>
183 <td class="mdname" nowrap> <em>s</em></td>
184 </tr>
185 <tr>
186 <td></td>
187 <td class="md">)&nbsp;</td>
188 <td class="md" colspan="2"></td>
189 </tr>
190 </table>
191 </td>
192 </tr>
193 </table>
194 <table cellspacing=5 cellpadding=0 border=0>
195 <tr>
196 <td>
197 &nbsp;
198 </td>
199 <td>
200
201 <p>
202 Definition at line <a class="el" href="macro_8c-source.html#l00071">71</a> of file <a class="el" href="macro_8c-source.html">macro.c</a>.
203 <p>
204 References <a class="el" href="spf_8h-source.html#l00271">strbuf_s::elements</a>, <a class="el" href="spf_8h-source.html#l00270">strbuf_s::head</a>, <a class="el" href="spf_8h-source.html#l00256">strbuf_node_s::len</a>, <a class="el" href="macro_8c-source.html#l00638">MACRO_addbuf()</a>, <a class="el" href="macro_8c-source.html#l00301">MACRO_process()</a>, <a class="el" href="spf_8h.html#a46">peer_info_t</a>, <a class="el" href="spf_8h-source.html#l00257">strbuf_node_s::s</a>, <a class="el" href="util_8h-source.html#l00108">SIZEOF</a>, <a class="el" href="spf_8h.html#a87a49">SPF_FALSE</a>, <a class="el" href="spf_8h.html#a42">strbuf_node_t</a>, <a class="el" href="spf_8h.html#a43">strbuf_t</a>, <a class="el" href="util_8c-source.html#l00564">UTIL_index()</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>.
205 <p>
206 Referenced by <a class="el" href="main_8c-source.html#l01310">SPF_get_explain()</a>, and <a class="el" href="main_8c-source.html#l00721">SPF_parse_policy()</a>.
207 <p>
208 Here is the call graph for this function:<p><center><img src="macro_8h_a1_cgraph.png" border="0" usemap="#macro_8h_a1_cgraph_map" alt=""></center>
209 <map name="macro_8h_a1_cgraph_map">
210 <area href="macro_8h.html#a4" shape="rect" coords="183,48,295,67" alt="">
211 <area href="macro_8h.html#a2" shape="rect" coords="181,91,296,109" alt="">
212 <area href="util_8h.html#a35" shape="rect" coords="199,133,279,152" alt="">
213 <area href="dns_8h.html#a13" shape="rect" coords="347,48,520,67" alt="">
214 <area href="macro_8h.html#a3" shape="rect" coords="375,133,492,152" alt="">
215 <area href="util_8h.html#a50" shape="rect" coords="599,5,700,24" alt="">
216 <area href="util_8h.html#a54" shape="rect" coords="571,48,728,67" alt="">
217 <area href="util_8h.html#a38" shape="rect" coords="591,91,708,109" alt="">
218 <area href="util_8h.html#a39" shape="rect" coords="589,133,709,152" alt="">
219 <area href="util_8h.html#a56" shape="rect" coords="604,176,695,195" alt="">
220 <area href="util_8h.html#a37" shape="rect" coords="601,219,697,237" alt="">
221 </map>
222 </td>
223 </tr>
224 </table>
225 <a class="anchor" name="a2" doxytag="macro.h::MACRO_process" ></a><p>
226 <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
227 <tr>
228 <td class="mdRow">
229 <table cellpadding="0" cellspacing="0" border="0">
230 <tr>
231 <td class="md" nowrap valign="top"> char* MACRO_process </td>
232 <td class="md" valign="top">(&nbsp;</td>
233 <td class="md" nowrap valign="top"><a class="el" href="structpeer__info__s.html">peer_info_t</a> *&nbsp;</td>
234 <td class="mdname" nowrap> <em>peer_info</em>, </td>
235 </tr>
236 <tr>
237 <td class="md" nowrap align="right"></td>
238 <td></td>
239 <td class="md" nowrap>char *&nbsp;</td>
240 <td class="mdname" nowrap> <em>macro</em>, </td>
241 </tr>
242 <tr>
243 <td class="md" nowrap align="right"></td>
244 <td></td>
245 <td class="md" nowrap>const size_t&nbsp;</td>
246 <td class="mdname" nowrap> <em>size</em></td>
247 </tr>
248 <tr>
249 <td></td>
250 <td class="md">)&nbsp;</td>
251 <td class="md" colspan="2"></td>
252 </tr>
253 </table>
254 </td>
255 </tr>
256 </table>
257 <table cellspacing=5 cellpadding=0 border=0>
258 <tr>
259 <td>
260 &nbsp;
261 </td>
262 <td>
263
264 <p>
265 Definition at line <a class="el" href="macro_8c-source.html#l00301">301</a> of file <a class="el" href="macro_8c-source.html">macro.c</a>.
266 <p>
267 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="dns_8c-source.html#l00975">DNS_check_client_reverse()</a>, <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-source.html#l00355">peer_info_s::ip_ver</a>, <a class="el" href="spf_8h-source.html#l00356">peer_info_s::local_part</a>, <a class="el" href="macro_8c-source.html#l00505">MACRO_eatmore()</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#l00352">peer_info_s::r_vhname</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#l00083">SPF_MAX_HNAME</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-source.html#l00072">SPF_MAX_STR</a>, <a class="el" href="spf_8h-source.html#l00078">SPF_MAX_UTC_TIME</a>, <a class="el" href="spf_8h-source.html#l00357">peer_info_s::utc_time</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>.
268 <p>
269 Referenced by <a class="el" href="macro_8c-source.html#l00071">MACRO_expand()</a>.
270 <p>
271 Here is the call graph for this function:<p><center><img src="macro_8h_a2_cgraph.png" border="0" usemap="#macro_8h_a2_cgraph_map" alt=""></center>
272 <map name="macro_8h_a2_cgraph_map">
273 <area href="dns_8h.html#a13" shape="rect" coords="184,48,357,67" alt="">
274 <area href="macro_8h.html#a3" shape="rect" coords="212,133,329,152" alt="">
275 <area href="util_8h.html#a50" shape="rect" coords="436,5,537,24" alt="">
276 <area href="util_8h.html#a54" shape="rect" coords="408,48,565,67" alt="">
277 <area href="util_8h.html#a47" shape="rect" coords="616,27,736,45" alt="">
278 <area href="util_8h.html#a52" shape="rect" coords="625,69,727,88" alt="">
279 <area href="util_8h.html#a35" shape="rect" coords="785,27,865,45" alt="">
280 <area href="util_8h.html#a38" shape="rect" coords="428,91,545,109" alt="">
281 <area href="util_8h.html#a39" shape="rect" coords="427,133,547,152" alt="">
282 <area href="util_8h.html#a56" shape="rect" coords="441,176,532,195" alt="">
283 <area href="util_8h.html#a37" shape="rect" coords="439,219,535,237" alt="">
284 <area href="util_8h.html#a57" shape="rect" coords="627,176,725,195" alt="">
285 </map>
286 </td>
287 </tr>
288 </table>
289 <hr size="1"><address style="align: right;"><small>Generated on Thu Sep 16 18:10:48 2004 for libSPF v1.0 by
290 <a href="http://www.doxygen.org/index.html">
291 <img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address>
292 </body>
293 </html>