xref: /freebsd/contrib/sendmail/libmilter/docs/smfi_setdbg.html (revision 7aa383846770374466b1dcb2cefd71bde9acf463)
1<HTML>
2<HEAD><TITLE>smfi_setdbg</TITLE></HEAD>
3<BODY>
4<!--
5$Id: smfi_setdbg.html,v 1.3 2006/12/21 18:30:35 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
38<!----------- Arguments ---------->
39<TR><TH valign="top" align=left>ARGUMENTS</TH><TD>
40    <TABLE border="1" cellspacing=0>
41    <TR bgcolor="#dddddd"><TH>Argument</TH><TH>Description</TH></TR>
42    <TR valign="top"><TD>level</TD>
43	<TD>The new debugging level
44	</TD></TR>
45    </TABLE>
46</TD></TR>
47
48<!----------- Return values ---------->
49<TR>
50<TH valign="top" align=left>RETURN VALUES</TH>
51
52<TD>smfi_setdbg returns MI_SUCCESS by default.
53</TD>
54</TR>
55
56</TABLE>
57
58<HR size="1">
59<FONT size="-1">
60Copyright (c) 2003 Sendmail, Inc. and its suppliers.
61All rights reserved.
62<BR>
63By using this file, you agree to the terms and conditions set
64forth in the LICENSE.
65</FONT>
66</BODY>
67</HTML>
68