summaryrefslogtreecommitdiffstats
path: root/libssh/poll.c
Commit message (Collapse)AuthorAgeFilesLines
* poll: Added a cleanup function to free the ws2_32 library.Andreas Schneider2010-05-171-0/+12
|
* Added runtime detection of WSAPoll().Andreas Schneider2010-05-121-8/+30
| | | | Signed-off-by: Andreas Schneider <mail@cynapses.org>
* Fixed Windows build warnings.Andreas Schneider2010-05-121-1/+8
|
* Fix style in ssh_poll_ctx_dopollAris Adamantiadis2010-05-101-19/+26
| | | | Also do a rescan of polled events when a poll object has been deleted.
* ssh_socket support for 2 fd + Proxyhost commandAris Adamantiadis2010-05-091-3/+11
|
* Added a select(2) based poll-emulation if poll(2) is not available.Andreas Schneider2010-04-041-137/+94
|
* ssh_poll_handle detaches from context before freeAris Adamantiadis2009-12-131-0/+4
|
* Added a global poll contextAris Adamantiadis2009-12-111-0/+31
|
* struct socket -> struct ssh_socket_struct +typedefAris Adamantiadis2009-12-061-1/+1
|
* Some brain surgery to add event-based socketsAris Adamantiadis2009-11-301-0/+32
| | | | | | | | | | chapter 1- SSH Socket Connections. I would like to be able to -Have a ssh_poll_ctx object -Add a ssh socket over it -launch the socket connection (using socket functions) -ssh_poll_ctx_dopoll() -Wait for the timeout or have the "connected" callback called
* Always use the poll-emulation on Windows.Andreas Schneider2009-11-091-1/+2
| | | | Until we we have a solution to use WSAPoll only on Vista and newer.
* Update structures name to new conventionAris Adamantiadis2009-11-061-28/+28
| | | | | SSH_POLL* -> ssh_poll_handle, SSH_POLL_CTX* -> ssh_poll_ctx
* Fixed including of config.h.Andreas Schneider2009-09-251-1/+2
| | | | | | | | If there is some option to modify libc behaviour (like if there was some off_t usage to be modified by some flag to make that 64 bit) that needs to be done before the first libc header. one could still do -D there, though (unless cmake wants to do something automatically and puts that in config.h)
* Moved lots of declaration out of priv.hAris Adamantiadis2009-09-231-0/+1
|
* Fix poll sturct, ISO C doesn't allow unnamed unions.Andreas Schneider2009-08-251-13/+13
|
* Fix typedef collisons on Solaris.Andreas Schneider2009-08-251-9/+9
|
* Fix build with MSVC.Andreas Schneider2009-07-301-0/+1
|
* Fix build on windows, missing include.Andreas Schneider2009-07-131-0/+2
|
* Fixed copyright noticesAris Adamantiadis2009-07-131-1/+2
|
* fix int -> socket_t in SSH_POLLAris Adamantiadis2009-07-041-1/+1
|
* Move doxygen tags into C filesAris Adamantiadis2009-07-041-1/+114
|
* Add a generic way to handle sockets asynchronously.Aleksandar Kanchev2009-07-031-0/+226
| | | | | | | | | | | | | | It's based on poll objects, each of which store a socket, it's events and a callback, which gets called whenever an event is set. The poll objects are attached to a poll context, which should be allocated on per thread basis. Polling the poll context will poll all the attached poll objects and call their callbacks (handlers) if any of the socket events are set. This should be done within the main loop of an application. This is intended as a ground work for making libssh asynchronous. Signed-off-by: Aleksandar Kanchev <aleksandar.kanchev@googlemail.com>
* Make use of poll() and add a poll-emulation for win32.Andreas Schneider2009-06-041-0/+204
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@772 7dcaeef0-15fb-0310-b436-a5af3365683c