gnutls_ext_register — Register a handler for a TLS extension
#include <gnutls/gnutls.h>
int
gnutls_ext_register( |
int | type, |
const char * | name, | |
gnutls_ext_parse_type_t | parse_type, | |
gnutls_ext_recv_func | recv_func, | |
gnutls_ext_send_func | send_func) ; |
the 16−bit integer referring to the extension type
human printable name of the extension used for debugging
either GNUTLS_EXT_TLS
or GNUTLS_EXT_APPLICATION
.
a function to receive extension data
a function to send extension data
The full documentation for gnutls is maintained as a Texinfo manual. If the info and gnutls programs are properly installed at your site, the command
info gnutls
should give you access to the complete manual.
COPYRIGHT |
---|
Copyright © 2008 Free Software Foundation. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. |