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 type.
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 pointer can be accessed with gnutls_ses‐
22 sion_get_ptr().
23
25 Report bugs to <bugs@gnutls.org>.
26 Home page: https://www.gnutls.org
27
28
30 Copyright © 2001- Free Software Foundation, Inc., and others.
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 /usr/share/doc/gnutls/ directory does not contain the HTML form
38 visit
39
40 https://www.gnutls.org/manual/
41
42gnutls 3.6.15 gnutls_session_set_ptr(3)