nng_tls_config_free(3tls)

nng_tls_config_free3tls

Deallocate a tls configuration object

Usage

#include <nng/nng.h>
#include <nng/supplemental/tls/tls.h>
void nng_tls_config_free(nng_tls_config *cfg);

Overview

The nng_tls_config_free() decrements the reference count on the TLS configuration object pointed to by cfg, and if the resulting reference count is zero, then deallocates the configuration object.

Return values

None.

Errors

None.

From libnng-dev 1.10.1-2 in Debian 13 (Trixie). Parsed by carta from the page's man source.