This documentation is for the TIP (development tree) of NNG and may represent unreleased changes or functionality that is experimental, and is subject to change before release. The latest released version is v1.7.3. See the documentation for v1.7.3 for the most up-to-date information.

nng_tls_config_free(3tls)

NAME

nng_tls_config_free - deallocate a TLS configuration object

SYNOPSIS

#include <nng/nng.h>
#include <nng/supplemental/tls/tls.h>

void nng_tls_config_free(nng_tls_config *cfg);

DESCRIPTION

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.

SEE ALSO