Skip to main content

Name

sieve_set_hash_item — Set the specified hash item

Synopsis

#include "sieve/ecsieve.h"

| int **sieve_set_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

Set the specified hash item.

Parameters

hash

A pointer to the ec_hash_table of the SIEVETOKEN value of the specified SIEVEARG.

key

The key to the hash item you wish to set.

arg

The value of the specified key.

Return Value

On success this function returns 1; on failure, 0.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?