Marc Hoersken
be95032e29
examples: fixed mixed line-endings introduced with aedfba25b8
2014-12-15 01:09:13 +01:00
Marc Hoersken
aedfba25b8
examples on Windows: check for WSAStartup return code
...
Fixes VS2012 code analysis warning C6031:
return value ignored: <function> could return unexpected value
2014-12-15 00:58:56 +01:00
Kamil Dudka
b31e35aba6
examples: use stderr for messages, stdout for data
...
Reported by: Karel Srot
Bug: https://bugzilla.redhat.com/867462
2012-10-22 13:39:58 +02:00
Daniel Stenberg
09139ef065
ssh2_exec: skip error outputs for EAGAIN
...
Since the example uses non-blocking mode, it will just flood the output
with this "nonsense" error.
2011-12-08 10:54:46 +01:00
Daniel Stenberg
7ed53e21fd
libssh2_session_startup(3) => libssh2_session_handshake(3)
...
Propagate for the current function in docs and examples.
libssh2_session_startup() is deprecated.
2011-09-09 23:17:04 +02:00
Daniel Stenberg
87f79f177f
remove embedded CVS/svn tags
2011-09-09 16:12:04 +02:00
Daniel Stenberg
024b5d29f5
bugfix: avoid use of uninitialized value
2010-11-01 22:58:12 +01:00
Tommy Lindgren
6140ec2de3
Add libssh2_channel_get_exit_signal.
...
Signed-off-by: Simon Josefsson <simon@josefsson.org>
2010-10-13 15:31:06 +02:00
Daniel Stenberg
a3f3347c12
knownhost: support [host]:port in knownhost file
...
OpenSSH has ways to add hosts to the knownhosts file that include
a specific port number which makes the key associated with only
that specific host+port pair. libssh2 previously did not support
this, and I was forced to add a new function to the API to
properly expose this ability to applications:
libssh2_knownhost_checkp()
To *add* such hosts to the knownhosts file, you make sure to pass
on the host name in that manner to the libssh2_knownhost_addc()
function.
2010-05-02 16:56:31 +02:00
Simon Josefsson
7301036421
Eat our own dog food, call libssh2_init and libssh2_exit in the examples.
2010-03-19 09:35:00 +01:00
Simon Josefsson
b5e358618b
Move examples from example/simple to example/.
2009-12-19 10:54:45 +01:00