validate_context_delete

March 26, 2020 Contributors

Name

validate_context_delete — Remove the specified key from either the message context or connection context

Synopsis

#include "validate.h"

| void **validate_context_delete** ( | vctx, |   |
|   | which, |   |
|   | key); |   |

validate_context * <var class="pdparam">vctx</var>;
int <var class="pdparam">which</var>;
const char * <var class="pdparam">key</var>;

Description

Remove the key/value pair specified by key from either the message context or connection context.

Parameters

vctx

The validation context. For documentation of this data structure see “validate_context”.

which

An integer, typically VCTX_MESS or VCTX_CONN, which determines which dictionary to consult: the connection context or the message context dictionary.

key

The key indicating the key/value pair to remove.

Return Values

This function returns void.

Threading

It is legal to call this function in any thread.

See Also

validate_context_exists_and_get, validate_context_exists, validate_context_get, validate_context_set, validate_context_init, and validate_context_destroy.