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 ptr to the
22 session structure. This is pointer can be accessed with gnutls_ses‐
23 sion_get_ptr().
24
26 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
27 http://www.gnu.org/software/gnutls/ General help using GNU software:
28 http://www.gnu.org/gethelp/
29
31 Copyright © 2008 Free Software Foundation.
32 Copying and distribution of this file, with or without modification,
33 are permitted in any medium without royalty provided the copyright
34 notice and this notice are preserved.
35
37 The full documentation for gnutls is maintained as a Texinfo manual.
38 If the info and gnutls programs are properly installed at your site,
39 the command
40
41 info gnutls
42
43 should give you access to the complete manual.
44
45
46
47gnutls 2.8.6 gnutls_session_set_ptr(3)