1gnutls_transport_set_vec_push_functiognng(un3tu)ltsls_transport_set_vec_push_function(3)
2
3
4
6 gnutls_transport_set_vec_push_function - API function
7
9 #include <gnutls/gnutls.h>
10
11 void gnutls_transport_set_vec_push_function(gnutls_session_t session,
12 gnutls_vec_push_func vec_func);
13
15 gnutls_session_t session
16 is a gnutls_session_t type.
17
18 gnutls_vec_push_func vec_func
19 a callback function similar to writev()
20
22 Using this function you can override the default writev(2) function for
23 gnutls to send data. Setting this callback instead of gnutls_trans‐
24 port_set_push_function() is recommended since it introduces less over‐
25 head in the TLS handshake process.
26
27 vec_func is of the form, ssize_t (*gnutls_vec_push_func)
28 (gnutls_transport_ptr_t, const giovec_t * iov, int iovcnt);
29
31 2.12.0
32
34 Report bugs to <bugs@gnutls.org>.
35 Home page: https://www.gnutls.org
36
37
39 Copyright © 2001-2020 Free Software Foundation, Inc., and others.
40 Copying and distribution of this file, with or without modification,
41 are permitted in any medium without royalty provided the copyright
42 notice and this notice are preserved.
43
45 The full documentation for gnutls is maintained as a Texinfo manual.
46 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
47 visit
48
49 https://www.gnutls.org/manual/
50
51gnutls 3.g6n.u1t3ls_transport_set_vec_push_function(3)