ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/libspf/docs/API/doxygen/html/macro_8c.html
Revision: 1.1
Committed: Tue Nov 13 00:51:26 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

# User Rev Content
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: macro.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&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.c File Reference</h1><code>#include "<a class="el" href="spf_8h-source.html">spf.h</a>"</code><br>
10     <code>#include "<a class="el" href="dns_8h-source.html">dns.h</a>"</code><br>
11     <code>#include "<a class="el" href="macro_8h-source.html">macro.h</a>"</code><br>
12     <code>#include "<a class="el" href="util_8h-source.html">util.h</a>"</code><br>
13    
14     <p>
15     Include dependency graph for macro.c:<p><center><img src="macro_8c__incl.png" border="0" usemap="#macro.c_map" alt="Include dependency graph"></center>
16     <map name="macro.c_map">
17     <area href="spf_8h.html" shape="rect" coords="35,17,72,36" alt="">
18     <area href="macro_8h.html" shape="rect" coords="57,86,116,105" alt="">
19     <area href="dns_8h.html" shape="rect" coords="140,86,183,105" alt="">
20     <area href="util_8h.html" shape="rect" coords="207,86,244,105" alt="">
21     </map>
22    
23     <p>
24     <a href="macro_8c-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
25     <tr><td></td></tr>
26     <tr><td colspan=2><br><h2>Functions</h2></td></tr>
27     <tr><td class="memItemLeft" nowrap align=right valign=top>char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="macro_8c.html#a0">MACRO_expand</a> (<a class="el" href="structpeer__info__s.html">peer_info_t</a> *p, const char *s)</td></tr>
28    
29     <tr><td class="memItemLeft" nowrap align=right valign=top>char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="macro_8c.html#a1">MACRO_process</a> (<a class="el" href="structpeer__info__s.html">peer_info_t</a> *p, char *macro, const size_t size)</td></tr>
30    
31     <tr><td class="memItemLeft" nowrap align=right valign=top>char *&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="macro_8c.html#a2">MACRO_eatmore</a> (char *macro, char *s)</td></tr>
32    
33     <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_8c.html#a3">MACRO_addbuf</a> (<a class="el" href="structstrbuf__s.html">strbuf_t</a> *master, char *s, size_t size)</td></tr>
34    
35     </table>
36     <hr><h2>Function Documentation</h2>
37     <a class="anchor" name="a3" doxytag="macro.c::MACRO_addbuf" ></a><p>
38     <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
39     <tr>
40     <td class="mdRow">
41     <table cellpadding="0" cellspacing="0" border="0">
42     <tr>
43     <td class="md" nowrap valign="top"> <a class="el" href="spf_8h.html#a35">SPF_BOOL</a> MACRO_addbuf </td>
44     <td class="md" valign="top">(&nbsp;</td>
45     <td class="md" nowrap valign="top"><a class="el" href="structstrbuf__s.html">strbuf_t</a> *&nbsp;</td>
46     <td class="mdname" nowrap> <em>master</em>, </td>
47     </tr>
48     <tr>
49     <td class="md" nowrap align="right"></td>
50     <td></td>
51     <td class="md" nowrap>char *&nbsp;</td>
52     <td class="mdname" nowrap> <em>s</em>, </td>
53     </tr>
54     <tr>
55     <td class="md" nowrap align="right"></td>
56     <td></td>
57     <td class="md" nowrap>size_t&nbsp;</td>
58     <td class="mdname" nowrap> <em>size</em></td>
59     </tr>
60     <tr>
61     <td></td>
62     <td class="md">)&nbsp;</td>
63     <td class="md" colspan="2"></td>
64     </tr>
65     </table>
66     </td>
67     </tr>
68     </table>
69     <table cellspacing=5 cellpadding=0 border=0>
70     <tr>
71     <td>
72     &nbsp;
73     </td>
74     <td>
75    
76     <p>
77     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>.
78     <p>
79     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>.
80     <p>
81     Referenced by <a class="el" href="macro_8c-source.html#l00071">MACRO_expand()</a>. </td>
82     </tr>
83     </table>
84     <a class="anchor" name="a2" doxytag="macro.c::MACRO_eatmore" ></a><p>
85     <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
86     <tr>
87     <td class="mdRow">
88     <table cellpadding="0" cellspacing="0" border="0">
89     <tr>
90     <td class="md" nowrap valign="top"> char* MACRO_eatmore </td>
91     <td class="md" valign="top">(&nbsp;</td>
92     <td class="md" nowrap valign="top">char *&nbsp;</td>
93     <td class="mdname" nowrap> <em>macro</em>, </td>
94     </tr>
95     <tr>
96     <td class="md" nowrap align="right"></td>
97     <td></td>
98     <td class="md" nowrap>char *&nbsp;</td>
99     <td class="mdname" nowrap> <em>s</em></td>
100     </tr>
101     <tr>
102     <td></td>
103     <td class="md">)&nbsp;</td>
104     <td class="md" colspan="2"></td>
105     </tr>
106     </table>
107     </td>
108     </tr>
109     </table>
110     <table cellspacing=5 cellpadding=0 border=0>
111     <tr>
112     <td>
113     &nbsp;
114     </td>
115     <td>
116    
117     <p>
118     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>.
119     <p>
120     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>.
121     <p>
122     Referenced by <a class="el" href="macro_8c-source.html#l00301">MACRO_process()</a>.
123     <p>
124     Here is the call graph for this function:<p><center><img src="macro_8c_a2_cgraph.png" border="0" usemap="#macro_8c_a2_cgraph_map" alt=""></center>
125     <map name="macro_8c_a2_cgraph_map">
126     <area href="util_8h.html#a38" shape="rect" coords="185,5,303,23" alt="">
127     <area href="util_8h.html#a39" shape="rect" coords="184,47,304,66" alt="">
128     <area href="util_8h.html#a56" shape="rect" coords="199,90,289,109" alt="">
129     <area href="util_8h.html#a37" shape="rect" coords="196,133,292,151" alt="">
130     <area href="util_8h.html#a57" shape="rect" coords="355,90,453,109" alt="">
131     </map>
132     </td>
133     </tr>
134     </table>
135     <a class="anchor" name="a0" doxytag="macro.c::MACRO_expand" ></a><p>
136     <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
137     <tr>
138     <td class="mdRow">
139     <table cellpadding="0" cellspacing="0" border="0">
140     <tr>
141     <td class="md" nowrap valign="top"> char* MACRO_expand </td>
142     <td class="md" valign="top">(&nbsp;</td>
143     <td class="md" nowrap valign="top"><a class="el" href="structpeer__info__s.html">peer_info_t</a> *&nbsp;</td>
144     <td class="mdname" nowrap> <em>p</em>, </td>
145     </tr>
146     <tr>
147     <td class="md" nowrap align="right"></td>
148     <td></td>
149     <td class="md" nowrap>const char *&nbsp;</td>
150     <td class="mdname" nowrap> <em>s</em></td>
151     </tr>
152     <tr>
153     <td></td>
154     <td class="md">)&nbsp;</td>
155     <td class="md" colspan="2"></td>
156     </tr>
157     </table>
158     </td>
159     </tr>
160     </table>
161     <table cellspacing=5 cellpadding=0 border=0>
162     <tr>
163     <td>
164     &nbsp;
165     </td>
166     <td>
167    
168     <p>
169     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>.
170     <p>
171     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>.
172     <p>
173     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>.
174     <p>
175     Here is the call graph for this function:<p><center><img src="macro_8c_a0_cgraph.png" border="0" usemap="#macro_8c_a0_cgraph_map" alt=""></center>
176     <map name="macro_8c_a0_cgraph_map">
177     <area href="macro_8h.html#a4" shape="rect" coords="183,48,295,67" alt="">
178     <area href="macro_8h.html#a2" shape="rect" coords="181,91,296,109" alt="">
179     <area href="util_8h.html#a35" shape="rect" coords="199,133,279,152" alt="">
180     <area href="dns_8h.html#a13" shape="rect" coords="347,48,520,67" alt="">
181     <area href="macro_8h.html#a3" shape="rect" coords="375,133,492,152" alt="">
182     <area href="util_8h.html#a50" shape="rect" coords="599,5,700,24" alt="">
183     <area href="util_8h.html#a54" shape="rect" coords="571,48,728,67" alt="">
184     <area href="util_8h.html#a38" shape="rect" coords="591,91,708,109" alt="">
185     <area href="util_8h.html#a39" shape="rect" coords="589,133,709,152" alt="">
186     <area href="util_8h.html#a56" shape="rect" coords="604,176,695,195" alt="">
187     <area href="util_8h.html#a37" shape="rect" coords="601,219,697,237" alt="">
188     </map>
189     </td>
190     </tr>
191     </table>
192     <a class="anchor" name="a1" doxytag="macro.c::MACRO_process" ></a><p>
193     <table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
194     <tr>
195     <td class="mdRow">
196     <table cellpadding="0" cellspacing="0" border="0">
197     <tr>
198     <td class="md" nowrap valign="top"> char* MACRO_process </td>
199     <td class="md" valign="top">(&nbsp;</td>
200     <td class="md" nowrap valign="top"><a class="el" href="structpeer__info__s.html">peer_info_t</a> *&nbsp;</td>
201     <td class="mdname" nowrap> <em>p</em>, </td>
202     </tr>
203     <tr>
204     <td class="md" nowrap align="right"></td>
205     <td></td>
206     <td class="md" nowrap>char *&nbsp;</td>
207     <td class="mdname" nowrap> <em>macro</em>, </td>
208     </tr>
209     <tr>
210     <td class="md" nowrap align="right"></td>
211     <td></td>
212     <td class="md" nowrap>const size_t&nbsp;</td>
213     <td class="mdname" nowrap> <em>size</em></td>
214     </tr>
215     <tr>
216     <td></td>
217     <td class="md">)&nbsp;</td>
218     <td class="md" colspan="2"></td>
219     </tr>
220     </table>
221     </td>
222     </tr>
223     </table>
224     <table cellspacing=5 cellpadding=0 border=0>
225     <tr>
226     <td>
227     &nbsp;
228     </td>
229     <td>
230    
231     <p>
232     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>.
233     <p>
234     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>.
235     <p>
236     Referenced by <a class="el" href="macro_8c-source.html#l00071">MACRO_expand()</a>.
237     <p>
238     Here is the call graph for this function:<p><center><img src="macro_8c_a1_cgraph.png" border="0" usemap="#macro_8c_a1_cgraph_map" alt=""></center>
239     <map name="macro_8c_a1_cgraph_map">
240     <area href="dns_8h.html#a13" shape="rect" coords="184,48,357,67" alt="">
241     <area href="macro_8h.html#a3" shape="rect" coords="212,133,329,152" alt="">
242     <area href="util_8h.html#a50" shape="rect" coords="436,5,537,24" alt="">
243     <area href="util_8h.html#a54" shape="rect" coords="408,48,565,67" alt="">
244     <area href="util_8h.html#a47" shape="rect" coords="616,27,736,45" alt="">
245     <area href="util_8h.html#a52" shape="rect" coords="625,69,727,88" alt="">
246     <area href="util_8h.html#a35" shape="rect" coords="785,27,865,45" alt="">
247     <area href="util_8h.html#a38" shape="rect" coords="428,91,545,109" alt="">
248     <area href="util_8h.html#a39" shape="rect" coords="427,133,547,152" alt="">
249     <area href="util_8h.html#a56" shape="rect" coords="441,176,532,195" alt="">
250     <area href="util_8h.html#a37" shape="rect" coords="439,219,535,237" alt="">
251     <area href="util_8h.html#a57" shape="rect" coords="627,176,725,195" alt="">
252     </map>
253     </td>
254     </tr>
255     </table>
256     <hr size="1"><address style="align: right;"><small>Generated on Thu Sep 16 18:10:47 2004 for libSPF v1.0 by
257     <a href="http://www.doxygen.org/index.html">
258     <img src="doxygen.png" alt="doxygen" align="middle" border=0 ></a> 1.3.8 </small></address>
259     </body>
260     </html>