diff options
author | Aris Adamantiadis <aris@0xbadc0de.be> | 2005-07-05 21:10:50 +0000 |
---|---|---|
committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2005-07-05 21:10:50 +0000 |
commit | 55846a4c7b09af2d105c7f7dfd0a43aab2f6e5a5 (patch) | |
tree | 14a9b2f68ddbf29eb80e119e85d0bff4627f1d3f /include/libssh/libssh.h | |
parent | d40f16d48ec1ed9670c20ffaad1005c59a689484 (diff) | |
download | libssh-55846a4c7b09af2d105c7f7dfd0a43aab2f6e5a5.tar.gz libssh-55846a4c7b09af2d105c7f7dfd0a43aab2f6e5a5.tar.xz libssh-55846a4c7b09af2d105c7f7dfd0a43aab2f6e5a5.zip |
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
Diffstat (limited to 'include/libssh/libssh.h')
-rw-r--r-- | include/libssh/libssh.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h index 9e3495b8..0fc40178 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); |