1
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
2
.TH "gnutls_oprfi_enable_server" 3 "2.10.5" "gnutls" "gnutls"
4
gnutls_oprfi_enable_server \- API function
6
.B #include <gnutls/gnutls.h>
8
.BI "void gnutls_oprfi_enable_server(gnutls_session_t " session ", gnutls_oprfi_callback_func " cb ", void * " userdata ");"
10
.IP "gnutls_session_t session" 12
11
is a \fBgnutls_session_t\fP structure.
12
.IP "gnutls_oprfi_callback_func cb" 12
13
function pointer to Opaque PRF extension server callback.
14
.IP "void * userdata" 12
15
hook passed to callback function for passing application state.
17
Request that the server should attempt to accept the Opaque PRF
18
Input TLS extension. If the client requests the extension, the
19
provided callback \fIcb\fP will be invoked. The callback must have the
22
int callback (gnutls_session_t session, void *userdata,
23
size_t oprfi_len, const unsigned char *in_oprfi,
24
unsigned char *out_oprfi);
26
The callback can inspect the client\-provided data in the input
27
parameters, and specify its own opaque prf input data in the output
28
variable. The function must return 0 on success, otherwise the
29
handshake will be aborted.
31
Report bugs to <bug-gnutls@gnu.org>.
32
GnuTLS home page: http://www.gnu.org/software/gnutls/
33
General help using GNU software: http://www.gnu.org/gethelp/
35
Copyright \(co 2008 Free Software Foundation.
37
Copying and distribution of this file, with or without modification,
38
are permitted in any medium without royalty provided the copyright
39
notice and this notice are preserved.
41
The full documentation for
43
is maintained as a Texinfo manual. If the
47
programs are properly installed at your site, the command
51
should give you access to the complete manual.