diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-02-21 20:42:27 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2002-02-21 20:42:27 +0000 |
commit | 281b955b43e5aea756d8757ddc92f4fbb68e15a6 (patch) | |
tree | 847f696feafc9623cf6ac2275a4d8140036e9267 /lib/debug.h | |
parent | 9b0557dbf920e87da377907ebc850c8d14cd5730 (diff) | |
download | gnutls-281b955b43e5aea756d8757ddc92f4fbb68e15a6.tar.gz |
Added gnutls_alert_str (allows printing alert number descriptions)
Diffstat (limited to 'lib/debug.h')
-rw-r--r-- | lib/debug.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/debug.h b/lib/debug.h index f95145d84d..471f94f36d 100644 --- a/lib/debug.h +++ b/lib/debug.h @@ -22,8 +22,7 @@ void _gnutls_print_state(GNUTLS_STATE state); char * _gnutls_bin2hex(const unsigned char *old, const size_t oldlen); void _gnutls_dump_mpi(char* prefix,MPI a); -char* _gnutls_packet2str( int packet); -char* _gnutls_alert2str( int alert); -char* _gnutls_handshake2str( int handshake); +const char* _gnutls_packet2str( int packet); +const char* _gnutls_handshake2str( int handshake); char* GET_CN( gnutls_datum); #endif |