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