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