manpagez: man pages & more
info gnutls
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.1.2 Initialization

GnuTLS must be initialized before it can be used. The library is initialized by calling gnutls_global_init. The resources allocated by the initialization process can be released if the application no longer has a need to call GnuTLS functions, this is done by calling gnutls_global_deinit.

The extra functionality of the GnuTLS-extra library is available after calling gnutls_global_init_extra.

In order to take advantage of the internationalisation features in GnuTLS, such as translated error messages, the application must set the current locale using setlocale before initializing GnuTLS.


© manpagez.com 2000-2024
Individual documents may contain additional copyright information.