Dave McCaldon
ea914c8b72
Resolve compile issues on Solaris x64 and UltraSPARC
...
Solaris builds of libssh2-1.2.3 failed on both x64 and UltraSPARC
platforms because of two problems:
1) src/agent.c:145 sun is a reserved word when using the SUNWspro compiler
2) example/direct_tcpip.c:84 INADDR_NONE is not defined
2010-02-09 11:19:52 +01:00
Peter Stuge
095ccbf825
Always #define INVALID_SOCKET -1 in libssh2_priv.h when not on win32
...
Fix broken builds since commit abd9bd0bbe
for all non-win32 platforms.
2010-01-29 23:51:38 +01:00
Daiki Ueno
d00e97a7f1
Define INVALID_SOCKET and use it instead of SOCKET_BAD.
...
Revert the part of previous commit that defines SOCKET_BAD library wide.
2009-12-25 10:04:34 +09:00
Daiki Ueno
8436e45ea6
Use libssh2_socket_t in the ssh-agent stuff.
...
Define a portability macro SOCKET_BAD which means "invalid socket".
2009-12-24 19:45:57 +09:00
Daiki Ueno
0b6e37872d
Mark/unmark connection to Pageant is open/close.
2009-12-24 17:57:15 +09:00
Daiki Ueno
1b3b7b2214
Add test to check if the socket is connected.
2009-12-24 16:49:28 +09:00
Daiki Ueno
bbb2f29037
Fix doc comments.
2009-12-23 09:12:31 +09:00
Daiki Ueno
7b351eed36
Add ssh-agent API.
...
Signed-off-by: Simon Josefsson <simon@josefsson.org >
2009-12-21 12:19:20 +01:00