Merge from vendor branch GCC:
[dragonfly.git] / contrib / sendmail-8.13.4 / libmilter / docs / smfi_setbacklog.html
1 <html>
2 <head><title>smfi_setbacklog</title></head>
3 <body>
4 <!--
5 $Id: smfi_setbacklog.html,v 1.3 2003/03/05 19:57:54 ca Exp $
6 -->
7 <h1>smfi_setbacklog</h1>
8
9 <table border="0" cellspacing=4 cellpadding=4>
10 <!---------- Synopsis ----------->
11 <tr><th valign="top" align=left width=150>SYNOPSIS</th><td>
12 <pre>
13 #include &lt;libmilter/mfapi.h&gt;
14 int smfi_setbacklog(
15         int obacklog
16 );
17 </pre>
18 Set the filter's listen backlog value.
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>smfi_setbacklog should only be called before <a href="smfi_main.html">smfi_main</a>.</td>
27 </tr>
28 <tr align="left" valign=top>
29 <th width="80">Effects</th>
30 <td>Sets the incoming socket backlog used by listen().  If smfi_setbacklog is not called, the operating system default is used.</td>
31 </tr>
32 </table>
33
34 <!----------- Arguments ---------->
35 <tr><th valign="top" align=left>ARGUMENTS</th><td>
36     <table border="1" cellspacing=0>
37     <tr bgcolor="#dddddd"><th>Argument</th><th>Description</th></tr>
38     <tr valign="top"><td>obacklog</td>
39         <td>The number of incoming connections to allow in the listen queue.
40         </td></tr>
41     </table>
42 </td></tr>
43
44 <!----------- Return values ---------->
45 <tr>
46 <th valign="top" align=left>RETURN VALUES</th> 
47
48 <td>smfi_setbacklog returns MI_FAILURE if obacklog is less than or equal
49 to zero.</td>
50 </tr>
51
52 </table>
53
54 <hr size="1">
55 <font size="-1">
56 Copyright (c) 2002-2003 Sendmail, Inc. and its suppliers.
57 All rights reserved.
58 <br>
59 By using this file, you agree to the terms and conditions set
60 forth in the LICENSE.
61 </font>
62 </body>
63 </html>