| SYNOPSIS |
#include <libmilter/mfapi.h>
int smfi_settimeout(
int otimeout
);
Set the filter's I/O timeout value.
|
| DESCRIPTION |
| Called When |
smfi_settimeout should only be called before smfi_main. |
| Effects |
Sets the number of seconds libmilter will wait
for an MTA communication (read or write) before timing out.
If smfi_settimeout is not called, a default timeout of 7210 seconds is used.
|
|
|---|
| ARGUMENTS |
| Argument | Description |
| otimeout |
The number of seconds to wait before timing out (> 0).
Zero means no wait, not "wait forever".
|
|
| RETURN VALUES |
smfi_settimeout always returns MI_SUCCESS. |