opnsense-src/contrib/sendmail/libmilter/docs/smfi_setbacklog.html

65 lines
1.7 KiB
HTML
Raw Normal View History

2007-04-08 21:38:51 -04:00
<HTML>
<HEAD><TITLE>smfi_setbacklog</TITLE></HEAD>
<BODY>
2004-07-31 21:04:57 -04:00
<!--
2007-04-08 21:38:51 -04:00
$Id: smfi_setbacklog.html,v 1.6 2006/12/21 18:30:35 ca Exp $
2004-07-31 21:04:57 -04:00
-->
2007-04-08 21:38:51 -04:00
<H1>smfi_setbacklog</H1>
2002-04-09 23:05:00 -04:00
2007-04-08 21:38:51 -04:00
<TABLE border="0" cellspacing=4 cellpadding=4>
2002-04-09 23:05:00 -04:00
<!---------- Synopsis ----------->
2007-04-08 21:38:51 -04:00
<TR><TH valign="top" align=left width=100>SYNOPSIS</TH><TD>
<PRE>
2002-04-09 23:05:00 -04:00
#include &lt;libmilter/mfapi.h&gt;
int smfi_setbacklog(
int obacklog
);
2007-04-08 21:38:51 -04:00
</PRE>
Set the filter's <CODE>listen(2)</CODE> backlog value.
</TD></TR>
2002-04-09 23:05:00 -04:00
<!----------- Description ---------->
2007-04-08 21:38:51 -04:00
<TR><TH valign="top" align=left>DESCRIPTION</TH><TD>
<TABLE border="1" cellspacing=1 cellpadding=4>
<TR align="left" valign=top>
<TH width="80">Called When</TH>
<TD>smfi_setbacklog should only be called before <A href="smfi_main.html">smfi_main</A>.</TD>
</TR>
<TR align="left" valign=top>
<TH width="80">Effects</TH>
<TD>Sets the incoming socket backlog used by <CODE>listen(2)</CODE>.
If smfi_setbacklog is not called, the operating system default is used.</TD>
</TR>
</TABLE>
2002-04-09 23:05:00 -04:00
<!----------- Arguments ---------->
2007-04-08 21:38:51 -04:00
<TR><TH valign="top" align=left>ARGUMENTS</TH><TD>
<TABLE border="1" cellspacing=0>
<TR bgcolor="#dddddd"><TH>Argument</TH><TH>Description</TH></TR>
<TR valign="top"><TD>obacklog</TD>
<TD>The number of incoming connections to allow in the listen queue.
</TD></TR>
</TABLE>
</TD></TR>
2002-04-09 23:05:00 -04:00
<!----------- Return values ---------->
2007-04-08 21:38:51 -04:00
<TR>
<TH valign="top" align=left>RETURN VALUES</TH>
2002-04-09 23:05:00 -04:00
2007-04-08 21:38:51 -04:00
<TD>smfi_setbacklog returns MI_FAILURE if obacklog is less than or equal
to zero.</TD>
</TR>
2002-04-09 23:05:00 -04:00
2007-04-08 21:38:51 -04:00
</TABLE>
2002-04-09 23:05:00 -04:00
2007-04-08 21:38:51 -04:00
<HR size="1">
<FONT size="-1">
2003-03-29 14:12:53 -05:00
Copyright (c) 2002-2003 Sendmail, Inc. and its suppliers.
2002-04-09 23:05:00 -04:00
All rights reserved.
2007-04-08 21:38:51 -04:00
<BR>
2002-04-09 23:05:00 -04:00
By using this file, you agree to the terms and conditions set
2003-03-29 14:12:53 -05:00
forth in the LICENSE.
2007-04-08 21:38:51 -04:00
</FONT>
</BODY>
</HTML>