[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
7.1.5 Callback functions
There are several cases where GnuTLS may need out of band input from your program. This is now implemented using some callback functions, which your program is expected to register.
An example of this type of functions are the push and pull callbacks which are used to specify the functions that will retrieve and send data to the transport layer.
Other callback functions may require more complicated input and data
to be allocated. Such an example is
gnutls_srp_set_server_credentials_function.
All callbacks should allocate and free memory using
gnutls_malloc
and gnutls_free
.
This document was generated on January 4, 2012 using texi2html 5.0.