|
Packit Service |
4684c1 |
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
|
|
Packit Service |
4684c1 |
.TH "gnutls_global_init" 3 "3.6.14" "gnutls" "gnutls"
|
|
Packit Service |
4684c1 |
.SH NAME
|
|
Packit Service |
4684c1 |
gnutls_global_init \- API function
|
|
Packit Service |
4684c1 |
.SH SYNOPSIS
|
|
Packit Service |
4684c1 |
.B #include <gnutls/gnutls.h>
|
|
Packit Service |
4684c1 |
.sp
|
|
Packit Service |
4684c1 |
.BI "int gnutls_global_init( " void ");"
|
|
Packit Service |
4684c1 |
.SH ARGUMENTS
|
|
Packit Service |
4684c1 |
.IP " void" 12
|
|
Packit Service |
4684c1 |
.SH "DESCRIPTION"
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
Since GnuTLS 3.3.0 this function is no longer necessary to be explicitly
|
|
Packit Service |
4684c1 |
called. To disable the implicit call (in a library constructor) of this
|
|
Packit Service |
4684c1 |
function set the environment variable \fBGNUTLS_NO_EXPLICIT_INIT\fP to 1.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function performs any required precalculations, detects
|
|
Packit Service |
4684c1 |
the supported CPU capabilities and initializes the underlying
|
|
Packit Service |
4684c1 |
cryptographic backend. In order to free any resources
|
|
Packit Service |
4684c1 |
taken by this call you should \fBgnutls_global_deinit()\fP
|
|
Packit Service |
4684c1 |
when gnutls usage is no longer needed.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function increments a global counter, so that
|
|
Packit Service |
4684c1 |
\fBgnutls_global_deinit()\fP only releases resources when it has been
|
|
Packit Service |
4684c1 |
called as many times as \fBgnutls_global_init()\fP. This is useful when
|
|
Packit Service |
4684c1 |
GnuTLS is used by more than one library in an application. This
|
|
Packit Service |
4684c1 |
function can be called many times, but will only do something the
|
|
Packit Service |
4684c1 |
first time. It is thread safe since GnuTLS 3.3.0.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
A subsequent call of this function if the initial has failed will
|
|
Packit Service |
4684c1 |
return the same error code.
|
|
Packit Service |
4684c1 |
.SH "RETURNS"
|
|
Packit Service |
4684c1 |
On success, \fBGNUTLS_E_SUCCESS\fP (0) is returned,
|
|
Packit Service |
4684c1 |
otherwise a negative error code is returned.
|
|
Packit Service |
4684c1 |
.SH "REPORTING BUGS"
|
|
Packit Service |
4684c1 |
Report bugs to <bugs@gnutls.org>.
|
|
Packit Service |
4684c1 |
.br
|
|
Packit Service |
4684c1 |
Home page: https://www.gnutls.org
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
.SH COPYRIGHT
|
|
Packit Service |
4684c1 |
Copyright \(co 2001- Free Software Foundation, Inc., and others.
|
|
Packit Service |
4684c1 |
.br
|
|
Packit Service |
4684c1 |
Copying and distribution of this file, with or without modification,
|
|
Packit Service |
4684c1 |
are permitted in any medium without royalty provided the copyright
|
|
Packit Service |
4684c1 |
notice and this notice are preserved.
|
|
Packit Service |
4684c1 |
.SH "SEE ALSO"
|
|
Packit Service |
4684c1 |
The full documentation for
|
|
Packit Service |
4684c1 |
.B gnutls
|
|
Packit Service |
4684c1 |
is maintained as a Texinfo manual.
|
|
Packit Service |
4684c1 |
If the /usr/share/doc/gnutls/
|
|
Packit Service |
4684c1 |
directory does not contain the HTML form visit
|
|
Packit Service |
4684c1 |
.B
|
|
Packit Service |
4684c1 |
.IP https://www.gnutls.org/manual/
|
|
Packit Service |
4684c1 |
.PP
|