char * gnutls_session_get_desc(gnutls_session_t session);
- gnutls_session_t session
- is a gnutls session
DESCRIPTIONThis function returns a string describing the current session. The string is null terminated and allocated using gnutls_malloc().
If initial negotiation is not complete when this function is called, NULL will be returned.
RETURNSa description of the protocols and algorithms in the current session.
COPYRIGHTCopyright © 2001-2016 Free Software Foundation, Inc., and others.
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.