Sha256: 5b766e2709a0688697c849b5973e54f559b477cd60a5fb9fe7cf5eddf19f2b2a
Contents?: true
Size: 1.54 KB
Versions: 4
Compression:
Stored size: 1.54 KB
Contents
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gnutls_sign_callback_set" 3 "2.4.2" "gnutls" "gnutls" .SH NAME gnutls_sign_callback_set \- API function .SH SYNOPSIS .B #include <gnutls/gnutls.h> .sp .BI "void gnutls_sign_callback_set(gnutls_session_t " session ", gnutls_sign_func " sign_func ", void * " userdata ");" .SH ARGUMENTS .IP "gnutls_session_t session" 12 is a gnutls session .IP "gnutls_sign_func sign_func" 12 function pointer to application's sign callback. .IP "void * userdata" 12 void pointer that will be passed to sign callback. .SH "DESCRIPTION" Set the callback function. The function must have this prototype: typedef int (*gnutls_sign_func) (gnutls_session_t session, void *userdata, gnutls_certificate_type_t cert_type, const gnutls_datum_t * cert, const gnutls_datum_t * hash, gnutls_datum_t * signature); The \fIuserdata\fP parameter is passed to the \fIsign_func\fP verbatim, and can be used to store application\-specific data needed in the callback function. See also \fBgnutls_sign_callback_get()\fP. .SH "REPORTING BUGS" Report bugs to <bug-gnutls@gnu.org>. .SH COPYRIGHT Copyright \(co 2008 Free Software Foundation. .br Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. .SH "SEE ALSO" The full documentation for .B gnutls is maintained as a Texinfo manual. If the .B info and .B gnutls programs are properly installed at your site, the command .IP .B info gnutls .PP should give you access to the complete manual.
Version data entries
4 entries across 4 versions & 1 rubygems