From 55846a4c7b09af2d105c7f7dfd0a43aab2f6e5a5 Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Tue, 5 Jul 2005 21:10:50 +0000 Subject: Beginning of the SSH_BIND implementation hack for errors handling so it supports an Object-oriented kind of errors (generic for ssh_bind and ssh_session data types) git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@3 7dcaeef0-15fb-0310-b436-a5af3365683c --- include/libssh/libssh.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/libssh/libssh.h') diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 9e3495b..0fc4017 100644 --- a/include/libssh/libssh.h +++ b/include/libssh/libssh.h @@ -91,8 +91,8 @@ typedef u_int8_t u8; #define SSH_EINTR 3 -char *ssh_get_error(SSH_SESSION *session); -int ssh_get_error_code(SSH_SESSION *session); +char *ssh_get_error(void *error); +int ssh_get_error_code(void *error); void ssh_say(int priority,char *format,...); void ssh_set_verbosity(int num); -- cgit