logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nng_tls_config_free - deallocate a TLS configuration object

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.

Errors

       None.

Name

       nng_tls_config_free - deallocate a TLS configuration object

Return Values

       None.

See Also

nng_tls_config_alloc(3tls), nng(7)

                                                   2025-04-20                          NNG_TLS_CONFIG_FREE(3tls)

Synopsis

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

           void nng_tls_config_free(nng_tls_config *cfg);

See Also