Skip to main content

Name

smtp_get_state — Fetch a particular SMTP client state

Synopsis

#include "smtp.h"

| smtp_state * **smtp_get_state** ( | state); |   |

int <var class="pdparam">state</var>;

Description

Fetchs a particular SMTP client state passing the state ID.

Parameters

state

The SMTP connection state ID.

Return Values

An smtp_state pointer to the requested SMTP state, NULL if the state was not found. For a description of this structure see “smtp_state”.

Threading

It is only legal to call this function in the Scheduler thread.

See Also

Was this page helpful?