1gnutls_session_set_ptr(3) gnutls gnutls_session_set_ptr(3)
2
3
4
6 gnutls_session_set_ptr - Used to set the user pointer to the session
7 structure
8
10 #include <gnutls/gnutls.h>
11
12 void gnutls_session_set_ptr(gnutls_session_t session, void * ptr);
13
15 gnutls_session_t session
16 is a gnutls_session_t structure.
17
18 void * ptr is the user pointer
19
21 This function will set (associate) the user given pointer to the ses‐
22 sion structure. This is pointer can be accessed with gnutls_ses‐
23 sion_get_ptr().
24
26 Report bugs to <bug-gnutls@gnu.org>.
27
29 Copyright © 2006 Free Software Foundation.
30 Permission is granted to make and distribute verbatim copies of this
31 manual provided the copyright notice and this permission notice are
32 preserved on all copies.
33
35 The full documentation for gnutls is maintained as a Texinfo manual.
36 If the info and gnutls programs are properly installed at your site,
37 the command
38
39 info gnutls
40
41 should give you access to the complete manual.
42
43
44
45gnutls 1.6.3 gnutls_session_set_ptr(3)