1
1
libssh/examples
William Orr 7070117dc3 examples: Use safer names for stdin, stdout, stderr
BUG: https://red.libssh.org/issues/168

On some platforms, like OpenBSD, stdin and friends are macros which break
compilation of this struct. I've fixed these names such that it compiles and
runs cleanly on OpenBSD

Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2015-01-20 19:27:14 +01:00
..
authentication.c src: Do not use deprecated functions. 2014-01-16 15:27:46 +01:00
CMakeLists.txt cmake: Merge server examples. 2014-02-16 17:59:46 +01:00
connect_ssh.c examples: Call correct functions on exit. 2011-04-14 14:16:58 +02:00
examples_common.h examples: Improve the authenticate_kbdint function. 2011-01-08 10:18:55 +01:00
exec.c examples: Fix some memory leaks. 2011-04-15 19:05:53 +02:00
knownhosts.c example: Use ssh_get_publickey_hash(). 2013-11-06 17:10:41 +01:00
libssh_scp.c examples: Check return value of fstat(). 2013-07-14 15:02:11 +02:00
libsshpp_noexcept.cpp auth: Make ssh_userauth_autopubkey legacy. 2011-08-25 10:19:09 +02:00
libsshpp.cpp auth: Make ssh_userauth_autopubkey legacy. 2011-08-25 10:19:09 +02:00
proxy.c examples: fix warning 2013-07-14 11:18:13 +02:00
sample.c cmake: Check for unistd.h. 2013-07-23 10:44:51 +02:00
samplesftp.c cmake: Check for unistd.h. 2013-07-23 10:44:51 +02:00
samplesshd-cb.c examples: fix compilation warnings 2013-07-14 09:32:19 +02:00
samplesshd-kbdint.c example: Fix location of port definition. 2013-07-22 10:42:30 +02:00
scp_download.c examples: Check return value of ssh_channel_read. 2013-06-17 12:35:42 +02:00
senddata.c example: Fixed gcc warning. 2010-12-18 14:05:06 +01:00
ssh_server_fork.c examples: Use safer names for stdin, stdout, stderr 2015-01-20 19:27:14 +01:00
sshnetcat.c examples: Fix a bad shift if ssh_get_fd() returns -1. 2014-04-14 21:24:28 +02:00