Sha256: 377982009821b4b0d1f257d7ededd215393d0e65c5316eaf80d3f91ef91b2567

Contents?: true

Size: 1.56 KB

Versions: 4

Compression:

Stored size: 1.56 KB

Contents

.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
.TH "gnutls_session_get_id" 3 "2.4.2" "gnutls" "gnutls"
.SH NAME
gnutls_session_get_id \- Returns session id.
.SH SYNOPSIS
.B #include <gnutls/gnutls.h>
.sp
.BI "int gnutls_session_get_id(gnutls_session_t " session ", void * " session_id ", size_t * " session_id_size ");"
.SH ARGUMENTS
.IP "gnutls_session_t session" 12
is a \fBgnutls_session_t\fP structure.
.IP "void * session_id" 12
is a pointer to space to hold the session id.
.IP "size_t * session_id_size" 12
is the session id's size, or it will be set by the function.
.SH "DESCRIPTION"
Returns the current session id. This can be used if you want to
check if the next session you tried to resume was actually
resumed.  This is because resumed sessions have the same sessionID
with the original session.

Session id is some data set by the server, that identify the
current session.  In TLS 1.0 and SSL 3.0 session id is always less
than 32 bytes.
.SH "RETURNS"
On success, \fBGNUTLS_E_SUCCESS\fP (0) is returned, otherwise
an error code is returned.
.SH "REPORTING BUGS"
Report bugs to <bug-gnutls@gnu.org>.
.SH COPYRIGHT
Copyright \(co 2008 Free Software Foundation.
.br
Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are
preserved on all copies.
.SH "SEE ALSO"
The full documentation for
.B gnutls
is maintained as a Texinfo manual.  If the
.B info
and
.B gnutls
programs are properly installed at your site, the command
.IP
.B info gnutls
.PP
should give you access to the complete manual.

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
glib2-1.1.8-x86-mingw32 vendor/local/share/man/man3/gnutls_session_get_id.3
glib2-1.1.7-x86-mingw32 vendor/local/share/man/man3/gnutls_session_get_id.3
glib2-1.1.6-x86-mingw32 vendor/local/share/man/man3/gnutls_session_get_id.3
glib2-1.1.5-x86-mingw32 vendor/local/share/man/man3/gnutls_session_get_id.3