sieve_get_hash_item
Last updated March 2020
Name
sieve_get_hash_item — Get the specified hash item
Synopsis
#include "sieve/ecsieve.h"
| int **sieve_get_hash_item** (
| hash, | |
| | key, | |
| | arg)
; | |
SIEVEARGS * <var class="pdparam">hash</var>
;
const char * <var class="pdparam">key</var>
;
SIEVEARGS ** <var class="pdparam">arg</var>
;
Description
Get the specified hash item.
You must call sieve_arg_delref when you are done using the item.
- hash
-
A pointer to the ec_hash_table of the
SIEVETOKEN value
of the specifiedSIEVEARG
. - key
-
The key to the hash item you wish to return.
- arg
-
The value of the specified
key
.
On success this function returns 1
; on failure, 0
.
It is legal to call this function in any thread.
See Also
Was this page helpful?