From 1847fb2373f6cc5e95d36efa4e0b260fb1337c3c Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Tue, 22 Nov 2005 23:15:31 +0000 Subject: added bases for nonblocking packet sending and receiving. packet_send and packet_read may return SSH_AGAIN if the session is nonblocking and there is not enough data to be read. I also added a socket buffering through session->in_socket_buffer. It is more low-level than the packet buffer. I should rename in_buffer with in_packet_buffer. There is still work to do with the socket status, (opened, error, closed, ...) and much more work to extend the nonblocking to session opening, messages sending and such. I find the switch(session->packet_state) solution very nice (especially when the nonblocking function may have 10 differents states, like in a connection.) git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@49 7dcaeef0-15fb-0310-b436-a5af3365683c --- libssh/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libssh/Makefile.in') diff --git a/libssh/Makefile.in b/libssh/Makefile.in index ae6b20b..963fa21 100644 --- a/libssh/Makefile.in +++ b/libssh/Makefile.in @@ -45,7 +45,7 @@ install: all $(top_srcdir)/mkinstalldirs $(libdir) $(LIBTOOL) --mode=install $(INSTALL) libssh.la $(libdir) clean: - $(LIBTOOL) --mode=clean rm -f *~ libssh.la *.lo + $(LIBTOOL) --mode=clean rm -f *~ libssh.la *.lo *.o distclean: clean rm -f Makefile -- cgit