summaryrefslogtreecommitdiffstats
path: root/libssh/poll.c
Commit message (Collapse)AuthorAgeFilesLines
* misc: Rename libssh/ to src/Andreas Schneider2010-09-061-692/+0
|
* poll: Fixed the Windows build on Vista and newer.Andreas Schneider2010-09-011-2/+2
|
* Added missing /** in doxygen @}'sAris Adamantiadis2010-08-281-1/+1
|
* poll: Fixed the ssh_poll_(init/cleanup) functions.Andreas Schneider2010-08-251-3/+5
|
* poll: Fixed the usage of WSAPoll() on Windows.Andreas Schneider2010-08-251-10/+28
| | | | This should fix ticket #101.
* poll: FD_SETSIZE is only for the count value of FD_SET on Windows.Andreas Schneider2010-07-061-0/+2
|
* poll: Another attempt to get bsd_poll() working correctly.Andreas Schneider2010-06-241-2/+6
|
* poll: Fixed building with poll-emulation on UNIX.Andreas Schneider2010-06-241-6/+8
|
* poll: Added a comment to the bsd_poll() implementation.Andreas Schneider2010-06-221-0/+10
|
* poll: Handle FD_SETSIZE in bsd_poll().Andreas Schneider2010-06-221-1/+1
|
* poll: Fixed a comparsion.Andreas Schneider2010-06-221-1/+1
|
* poll: Fixed a typo.Andreas Schneider2010-06-211-1/+1
|
* poll: Check if maxfd has been set.Andreas Schneider2010-06-201-2/+3
|
* poll: Fixed type of the fd variables and use SSH_INVALID_SOCKET.Andreas Schneider2010-06-171-4/+4
|
* poll: Fixed brackets.Andreas Schneider2010-06-171-2/+2
|
* poll: Fixed another wrong invalid fd check in bsd_poll.Andreas Schneider2010-06-171-1/+1
|
* poll: Some code cleanup for easier debugging.Andreas Schneider2010-06-171-2/+4
|
* poll: Fixed a malfunction with wrong max fd value check.Andreas Schneider2010-06-171-2/+2
|
* doc: Group the poll functions and add a description.Andreas Schneider2010-06-011-0/+21
|
* 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