xref: /freebsd/contrib/sendmail/libmilter/docs/smfi_setdbg.html (revision a90b9d0159070121c221b966469c3e36d912bf82)
1<HTML>
2<HEAD><TITLE>smfi_setdbg</TITLE></HEAD>
3<BODY>
4<!--
5$Id: smfi_setdbg.html,v 1.4 2013-11-22 20:51:39 ca Exp $
6-->
7<H1>smfi_setdbg</H1>
8
9<TABLE border="0" cellspacing=4 cellpadding=4>
10<!---------- Synopsis ----------->
11<TR><TH valign="top" align=left width=100>SYNOPSIS</TH><TD>
12<PRE>
13#include &lt;libmilter/mfapi.h&gt;
14int smfi_setdbg(
15	int level;
16);
17</PRE>
18Set the debugging (tracing) level for the milter library.
19</TD></TR>
20
21<!----------- Description ---------->
22<TR><TH valign="top" align=left>DESCRIPTION</TH><TD>
23<TABLE border="1" cellspacing=1 cellpadding=4>
24<TR align="left" valign=top>
25<TH width="80">Called When</TH>
26<TD>Called from any any routine at any time.</TD>
27</TR>
28<TR align="left" valign=top>
29<TH width="80">Effects</TH>
30<TD>smfi_setdbg sets the milter library's internal debugging level
31to a new level so that code details may be traced.
32A level of zero turns off debugging. The greater
33(more positive) the level the more detailed the debugging. Six is
34the current, highest, useful value.</TD>
35</TR>
36</TABLE>
37</TD></TR>
38
39<!----------- Arguments ---------->
40<TR><TH valign="top" align=left>ARGUMENTS</TH><TD>
41    <TABLE border="1" cellspacing=0>
42    <TR bgcolor="#dddddd"><TH>Argument</TH><TH>Description</TH></TR>
43    <TR valign="top"><TD>level</TD>
44	<TD>The new debugging level
45	</TD></TR>
46    </TABLE>
47</TD></TR>
48
49<!----------- Return values ---------->
50<TR>
51<TH valign="top" align=left>RETURN VALUES</TH>
52
53<TD>smfi_setdbg returns MI_SUCCESS by default.
54</TD>
55</TR>
56
57</TABLE>
58
59<HR size="1">
60<FONT size="-1">
61Copyright (c) 2003 Proofpoint, Inc. and its suppliers.
62All rights reserved.
63<BR>
64By using this file, you agree to the terms and conditions set
65forth in the LICENSE.
66</FONT>
67</BODY>
68</HTML>
69