Implementing a global callback method
simon at josefsson.org
Tue Apr 17 14:16:43 CEST 2012
<Mallikarjun.Bailammanavar at infineon.com> writes:
> I would like to implement one global callback method in GNU-TLS, which
> should be linked and exported via the DLL.
> I want to implement a method something similar to
> How can I achieve the same?
> Can some one please help.
1) Add the prototype to the appropriate header file,
2) Write the code in some existing .c file under lib/, or add a new .c
file under lib/ and add it in the Makefile.am.
3) mention the function in the symbol file lib/libgnutls.map.
4) write self tests
5) write documentation
See more in the manual:
More information about the Gnutls-help