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
This commit is contained in:
Aris Adamantiadis
2005-07-05 21:10:50 +00:00
parent d40f16d48e
commit 55846a4c7b
6 changed files with 130 additions and 48 deletions

View File

@@ -35,6 +35,7 @@ SSH_OPTIONS *ssh_options_new(){
option->fd=-1;
option->ssh2allowed=1;
option->ssh1allowed=0;
option->bindport=22;
return option;
}