Skip to main content

smtp_client_args_exists_and_fetch

Last updated March 2020

Name

smtp_client_args_exists_and_fetch — Check for the existence of and fetch an argument from an smtp_client_args structure

Synopsis

#include "smtp.h"

| int **smtp_client_args_exists_and_fetch** ( | args, |   | |   | extension, |   | |   | value); |   |

smtp_client_args * <var class="pdparam">args</var>; const char * <var class="pdparam">extension</var>; const char ** <var class="pdparam">value</var>;

Description

Check for the existence of and fetch an argument from an smtp_client_args structure. For a description of this struct see “smtp_client_args”.

Parameters

args

The args structure to query.

extension

The extension name to query.

value

Where to place the pointer to the value of the extension.

Return Values

On success, this function returns non-zero and stores the value of the extension (if any) in value. On failure, it returns zero and does nothing to value.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?