1gnutls_session_set_ptr(3) gnutls gnutls_session_set_ptr(3)
2
3
4
6 gnutls_session_set_ptr - API function
7
9 #include <gnutls/gnutls.h>
10
11 void gnutls_session_set_ptr(gnutls_session_t session, void * ptr);
12
14 gnutls_session_t session
15 is a gnutls_session_t structure.
16
17 void * ptr is the user pointer
18
20 This function will set (associate) the user given pointer ptr to the
21 session structure. This is pointer can be accessed with gnutls_ses‐
22 sion_get_ptr().
23
25 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
26 http://www.gnu.org/software/gnutls/ General help using GNU software:
27 http://www.gnu.org/gethelp/
28
30 Copyright © 2008 Free Software Foundation.
31 Copying and distribution of this file, with or without modification,
32 are permitted in any medium without royalty provided the copyright
33 notice and this notice are preserved.
34
36 The full documentation for gnutls is maintained as a Texinfo manual.
37 If the info and gnutls programs are properly installed at your site,
38 the command
39
40 info gnutls
41
42 should give you access to the complete manual.
43
44
45
46gnutls 2.12.6.1 gnutls_session_set_ptr(3)