smtp_client_args_exists_and_fetch
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”.
- args
-
The args structure to query.
- extension
-
The extension name to query.
- value
-
Where to place the pointer to the value of the extension.
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.
It is legal to call this function in any thread.