Alexander Lamaison
|
6bf8983368
|
CMake build system.
Tested:
- Windows:
- Visual C++ 2005/2008/2010/2012/2013/MinGW-w64
- static/shared
- 32/64-bit
- OpenSSL/WinCNG
- Without zlib
- Linux:
- GCC 4.6.3/Clang 3.4
- static/shared
- 32/64-bit
- OpenSSL/Libgcrypt
- With/Without zlib
- MacOS X
- AppleClang 6.0.0
- static
- 64-bit
- OpenSSL
- Without zlib
Conflicts:
README
|
2015-03-12 22:48:38 +00:00 |
|
Marc Hoersken
|
8a731d6217
|
examples on Windows: use native SOCKET-type instead of int
And check return values accordingly.
|
2014-12-22 17:03:42 +01:00 |
|
Marc Hoersken
|
be95032e29
|
examples: fixed mixed line-endings introduced with aedfba25b8
|
2014-12-15 01:09:13 +01:00 |
|
Marc Hoersken
|
977dbb7511
|
examples on Windows: check for socket return code
Fixes VS2012 code analysis warning C28193:
The variable holds a value that must be examined
|
2014-12-15 00:58:57 +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 |
|
Peter Stuge
|
effbb72192
|
example/subsystem_netconf.c: Return error when read buffer is too small
Also remove a little redundancy in the read loop condition.
|
2012-02-01 11:35:05 +01:00 |
|
Peter Stuge
|
0ebe6f44bd
|
example/subsystem_netconf.c: Add a missing newline in an error message
|
2012-02-01 11:35:00 +01:00 |
|
Guenter Knauf
|
46792a9fca
|
Added casts to silent compiler warnings.
|
2011-09-10 16:38:51 +02:00 |
|
Guenter Knauf
|
3fb3ba571b
|
Kill stupid gcc 3.x uninitialized warning.
|
2011-09-10 14:22:08 +02: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
|
420f0b7793
|
subsystem_netconf.c: fix compiler warnings
|
2011-08-21 15:24:55 +02:00 |
|
Peter Stuge
|
b232eeb598
|
example/subsystem_netconf.c: Add missing #include <string.h>
|
2011-07-17 08:04:52 +02:00 |
|
Peter Stuge
|
f922df9e1b
|
example/subsystem_netconf.c: Discard ]]>]]> and return only XML response
|
2011-07-17 08:00:48 +02:00 |
|
Peter Stuge
|
7e47bd6640
|
example/subsystem_netconf.c: Fix uninitialized variable bug
|
2011-07-17 07:18:39 +02:00 |
|
Peter Stuge
|
4ae907cdef
|
example: Add subsystem_netconf.c
This example demonstrates how to use libssh2 to send a request to
the NETCONF subsystem available e.g. in JunOS.
See also http://tools.ietf.org/html/draft-ietf-netconf-ssh-06
|
2011-07-17 07:08:48 +02:00 |
|