<[email protected]> writes: > Hallo, > > > 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 > "gnutls_global_set_log_function". > > How can I achieve the same? > Can some one please help.
1) Add the prototype to the appropriate header file, e.g. lib/includes/gnutls/gnutls.h.in 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: https://www.gnu.org/software/gnutls/manual/html_node/TLS-Extension-Handling.html#Add-API-functions-to-enable_002fdisable-the-extension_002e /Simon _______________________________________________ Help-gnutls mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-gnutls
