1gnutls_init(3)                      gnutls                      gnutls_init(3)
2
3
4

NAME

6       gnutls_init  -  This  function  initializes  the  session to null (null
7       encryption etc...).
8

SYNOPSIS

10       #include <gnutls/gnutls.h>
11
12       int  gnutls_init(gnutls_session_t  *  session,  gnutls_connection_end_t
13       con_end);
14

ARGUMENTS

16       gnutls_session_t * session
17                   is a pointer to a gnutls_session_t structure.
18
19       gnutls_connection_end_t con_end
20                   is  used  to  indicate  if  this  session is to be used for
21                   server  or  client.  Can  be  one  of   GNUTLS_CLIENT   and
22                   GNUTLS_SERVER.
23

DESCRIPTION

25       This  function  initializes  the current session to null. Every session
26       must be initialized before use, so internal  structures  can  be  allo‐
27       cated.   This function allocates structures which can only be free'd by
28       calling gnutls_deinit(). Returns zero on success.
29

REPORTING BUGS

31       Report bugs to <bug-gnutls@gnu.org>.
32
34       Copyright © 2006 Free Software Foundation.
35       Permission is granted to make and distribute verbatim  copies  of  this
36       manual  provided  the  copyright  notice and this permission notice are
37       preserved on all copies.
38

SEE ALSO

40       The full documentation for gnutls is maintained as  a  Texinfo  manual.
41       If  the  info  and gnutls programs are properly installed at your site,
42       the command
43
44              info gnutls
45
46       should give you access to the complete manual.
47
48
49
50gnutls                               1.6.3                      gnutls_init(3)
Impressum